net.minecraft.world.item.enchantment.effects

public record ChangeItemDamage

implements EnchantmentEntityEffect

dfs
net.minecraft.world.item.enchantment.effects.ChangeItemDamage
net.minecraft.class_9719
net.minecraft.enchantment.effect.entity.ChangeItemDamageEnchantmentEffect

Field summary

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

Constructor summary

ModifierConstructor
public (LevelBasedValue arg0)

Method summary

Modifier and TypeMethod
public void
a(aro arg0, int arg1, dfe arg2, bwa arg3, fdw 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<ChangeItemDamage>
a()
codec()
method_60219()
getCodec()
public LevelBasedValue
b()
amount()
comp_2716()
amount()