net.minecraft.world.item.enchantment.effects

public record ChangeItemDamage

implements EnchantmentEntityEffect

dem
net.minecraft.world.item.enchantment.effects.ChangeItemDamage
net.minecraft.class_9719
net.minecraft.unmapped.C_yeffnayx
net.minecraft.enchantment.effect.entity.ChangeItemDamageEnchantmentEffect
net.minecraft.unmapped.C_yeffnayx
net.minecraft.src.C_345996_
net.minecraft.world.item.enchantment.effects.ChangeItemDamage

Field summary

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

Constructor summary

ModifierConstructor
public (LevelBasedValue amount)

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)
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)
apply(ServerWorld arg0, int arg1, EnchantmentEffectContext arg2, Entity arg3, Vec3d arg4)
m_338607_(C_12_ p_364456_, int p_368500_, C_336528_ p_365057_, C_507_ p_365026_, C_3046_ arg4)
public com.mojang.serialization.MapCodec<ChangeItemDamage>
a()
codec()
method_60219()
m_kqdonpeg()
getCodec()
getCodec()
m_338403_()
public LevelBasedValue
b()
amount()
comp_2716()
m_mcnposfj()
amount()
amount()
f_347366_()