net.minecraft.world.item.enchantment

public record EnchantedItemInUse

ddy
net.minecraft.world.item.enchantment.EnchantedItemInUse
net.minecraft.class_9699
net.minecraft.enchantment.EnchantmentEffectContext
net.minecraft.world.item.enchantment.EnchantedItemInUse

Field summary

Modifier and TypeField
private final ItemStack
a
itemStack
comp_2682
stack
private final EquipmentSlot
b
inSlot
comp_2683
slot
private final LivingEntity
c
owner
comp_2684
owner
private final Consumer<Item>
d
onBreak
comp_2685
breakCallback

Constructor summary

ModifierConstructor
public (ItemStack stack, EquipmentSlot slot, LivingEntity owner)
public (ItemStack arg0, EquipmentSlot arg1, LivingEntity arg2, Consumer<Item> arg3)

Method summary

Modifier and TypeMethod
public ItemStack
a()
itemStack()
comp_2682()
stack()
public EquipmentSlot
b()
inSlot()
comp_2683()
slot()
public LivingEntity
c()
owner()
comp_2684()
owner()
public Consumer<Item>
d()
onBreak()
comp_2685()
breakCallback()