net.minecraft.world.item.enchantment

public record EnchantedItemInUse

dab
net.minecraft.world.item.enchantment.EnchantedItemInUse
net.minecraft.class_9699
net.minecraft.enchantment.EnchantmentEffectContext
net.minecraft.src.C_336528_
net.minecraft.world.item.enchantment.EnchantedItemInUse

Field summary

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

Constructor summary

ModifierConstructor
public (ItemStack stack, EquipmentSlot slot, LivingEntity owner)
public (ItemStack inSlot, EquipmentSlot owner, LivingEntity onBreak, Consumer<Item> arg3)

Method summary

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