Package net.fabricmc.fabric.api.item.v1
package net.fabricmc.fabric.api.item.v1
-
ClassDescriptionAllows an item to run custom logic when
ItemStack.damage(int, LivingEntity, EquipmentSlot)
is called.An enum that describes the various contexts in which the game checks whether an enchantment can be applied to an item.Events relating to enchantments, allowing for finer control of what enchantments can apply to different items.A provider for the preferred equipment slot of an item.General-purpose Fabric-provided extensions forItem
subclasses.Fabric-provided extensions forItem.Settings
.