net.minecraft.world.item.enchantment.effects

public record DamageItem

implements EnchantmentEntityEffect

daq
net.minecraft.world.item.enchantment.effects.DamageItem
net.minecraft.class_9719
net.minecraft.enchantment.effect.entity.DamageItemEnchantmentEffect
net.minecraft.src.C_336549_
net.minecraft.world.item.enchantment.effects.DamageItem

Field summary

Modifier and TypeField
private final LevelBasedValue
d
amount
comp_2716
amount
f_337081_
public static final com.mojang.serialization.MapCodec<DamageItem>
a
CODEC
field_51705
CODEC
f_336856_

Constructor summary

ModifierConstructor
public (LevelBasedValue arg0)

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_342044_, int p_343406_, C_336528_ p_345005_, C_507_ p_343523_, C_3046_ arg4)
public com.mojang.serialization.MapCodec<DamageItem>
a()
codec()
method_60219()
getCodec()
m_338403_()
public LevelBasedValue
b()
amount()
comp_2716()
amount()
f_337081_()