net.minecraft.enchantment.effect.entity

public record SetBlockPropertiesEnchantmentEffect

implements EnchantmentEntityEffect

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

Field summary

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

Constructor summary

ModifierConstructor
public (BlockStateComponent properties)
public (BlockStateComponent properties, Vec3i offset, Optional<RegistryEntry<GameEvent>> triggerGameEvent)

Method summary

Modifier and TypeMethod
public void
a(axf o, int o, dsn o, cgk o, ftm 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_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)
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<SetBlockPropertiesEnchantmentEffect>
a()
codec()
method_60219()
getCodec()
m_kqdonpeg()
getCodec()
m_338403_()
public BlockStateComponent
b()
properties()
comp_2748()
properties()
m_zdbrcfki()
properties()
f_337246_()
public Vec3i
c()
offset()
comp_2749()
offset()
m_qzfjiiqg()
offset()
f_337472_()
public Optional<RegistryEntry<GameEvent>>
d()
triggerGameEvent()
comp_2800()
triggerGameEvent()
m_tpwkgbbq()
triggerGameEvent()
f_336989_()