net.minecraft.world.item.enchantment.effects

public record SetBlockProperties

implements EnchantmentEntityEffect

dbd
net.minecraft.world.item.enchantment.effects.SetBlockProperties
net.minecraft.class_9732
net.minecraft.enchantment.effect.entity.SetBlockPropertiesEnchantmentEffect
net.minecraft.src.C_336489_
net.minecraft.world.item.enchantment.effects.SetBlockProperties

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
a(aqu arg0, int arg1, dab arg2, bsr arg3, exc 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)
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()
getCodec()
m_338403_()
public BlockItemStateProperties
b()
properties()
comp_2748()
properties()
f_337246_()
public Vec3i
c()
offset()
comp_2749()
offset()
f_337472_()
public Optional<Holder<GameEvent>>
d()
triggerGameEvent()
comp_2800()
triggerGameEvent()
f_336989_()