net.minecraft.world.item.enchantment.effects

public record SetBlockProperties

implements EnchantmentEntityEffect

dec
net.minecraft.world.item.enchantment.effects.SetBlockProperties
net.minecraft.class_9732
net.minecraft.unmapped.C_nifyccpf
net.minecraft.enchantment.effect.entity.SetBlockPropertiesEnchantmentEffect
net.minecraft.enchantment.effect.SetBlockProperties
net.minecraft.src.C_336489_
net.minecraft.world.item.enchantment.effects.SetBlockProperties

Field summary

Modifier and TypeField
private final BlockItemStateProperties
d
properties
comp_2748
f_peznvfwt
properties
properties
f_337246_
private final Vec3i
e
offset
comp_2749
f_rckfqepy
offset
offset
f_337472_
private final Optional<Holder<GameEvent>>
f
triggerGameEvent
comp_2800
f_otdttecl
triggerGameEvent
triggerGameEvent
f_336989_
public static final com.mojang.serialization.MapCodec<SetBlockProperties>
a
CODEC
field_51719
f_wlzfgcoc
CODEC
CODEC
f_337422_

Constructor summary

ModifierConstructor
public (BlockItemStateProperties properties)
public (BlockItemStateProperties properties, Vec3i offset, Optional<Holder<GameEvent>> triggerGameEvent)

Method summary

Modifier and TypeMethod
public void
a(ard arg0, int arg1, dcz arg2, bum arg3, fbb arg4)
apply(ServerLevel arg0, int arg1, EnchantedItemInUse arg2, Entity arg3, Vec3 arg4)
method_60220(class_3218 arg0, int arg1, class_9699 arg2, class_1297 arg3, class_243 arg4)
m_qtizntqq(C_bdwnwhiu arg0, int arg1, C_pjrjvgrp arg2, C_astfners arg3, C_vgpupfxx arg4)
apply(ServerWorld arg0, int arg1, EnchantmentEffectContext arg2, Entity arg3, Vec3d arg4)
apply(ServerWorld arg0, int arg1, EnchantmentEffectContext arg2, Entity arg3, Vec3d arg4)
m_338607_(C_12_ p_343053_, int p_345372_, C_336528_ p_342035_, C_507_ p_344224_, C_3046_ arg4)
public com.mojang.serialization.MapCodec<SetBlockProperties>
a()
codec()
method_60219()
m_kqdonpeg()
getCodec()
getCodec()
m_338403_()
public BlockItemStateProperties
b()
properties()
comp_2748()
m_zdbrcfki()
properties()
properties()
f_337246_()
public Vec3i
c()
offset()
comp_2749()
m_qzfjiiqg()
offset()
offset()
f_337472_()
public Optional<Holder<GameEvent>>
d()
triggerGameEvent()
comp_2800()
m_tpwkgbbq()
triggerGameEvent()
triggerGameEvent()
f_336989_()