net.minecraft.world.item.enchantment.effects

public record SetBlockProperties

implements EnchantmentEntityEffect

dfb
net.minecraft.world.item.enchantment.effects.SetBlockProperties
net.minecraft.class_9732
net.minecraft.enchantment.effect.entity.SetBlockPropertiesEnchantmentEffect
net.minecraft.world.item.enchantment.effects.SetBlockProperties

Field summary

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

Constructor summary

ModifierConstructor
public (BlockItemStateProperties properties)
public (BlockItemStateProperties arg0, Vec3i arg1, Optional<Holder<GameEvent>> arg2)

Method summary

Modifier and TypeMethod
public void
a(ash arg0, int arg1, ddy arg2, bvk arg3, fby 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)
public com.mojang.serialization.MapCodec<SetBlockProperties>
a()
codec()
method_60219()
getCodec()
public BlockItemStateProperties
b()
properties()
comp_2748()
properties()
public Vec3i
c()
offset()
comp_2749()
offset()
public Optional<Holder<GameEvent>>
d()
triggerGameEvent()
comp_2800()
triggerGameEvent()