Package net.fabricmc.fabric.api.item.v1
package net.fabricmc.fabric.api.item.v1
-
ClassDescriptionA registry of
TooltipAppender
item components.Allows an item to run custom logic whenItemStack.damage(int, LivingEntity, EquipmentSlot)
is called.Events to modify the defaultComponentMap
of items.An enum that describes the 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.Determines where an enchantment has been loaded from.A provider for the preferred equipment slot of an item.Fabric-provided extensions forComponentMap.Builder
.General-purpose Fabric-provided extensions forItem
subclasses.Fabric-provided extensions forItem.Settings
.Fabric-provided extensions forItemStack
.