Uses of Package
io.papermc.paper.datacomponent.item
-
ClassDescriptionHolds the layers of patterns on a banner.Holds the
BlockData
properties of a block item.Holds all items stored inside of a Bundle.Holds all projectiles that have been loaded into a Crossbow.Holds the properties for this item for when it is consumed.Holds the custom model data.Holds the contents of damage types that the item entity containing this item is invincible to.Sets whether this item should protect the entity upon death, and what effects should be played.Represents a color applied to a dyeable item.Holds if an item is enchantable, allowing for enchantments of the type to be seen in an enchanting table.Holds the equippable properties of an item.Stores all explosions crafted into a Firework Rocket, as well as flight duration.Holds the food properties of an item.Controls which blocks a player in Adventure mode can do a certain action with this item.Holds the trims applied to an item.Holds attribute modifiers applied to any item.Holds the contents of an item container.Stores a list of enchantments and their levels on an item.Additional lines to include in an item's tooltip.Holds the jukebox song for an item.If present, specifies the target Lodestone that a Compass should point towards.Holds a list of markers to be placed on a Filled Map (used for Explorer Maps).References the shared map state holding map contents and markers for a Filled Map.Represents the tint of the decorations on the Filled Map item.Holds the ominous bottle amplifier.Holds the item types for the decorations on a flower pot.Holds the contents of a potion (Potion, Splash Potion, Lingering Potion), or potion applied to a Tipped Arrow.Holds if this item is repairable, and what item types it can be repaired with.Holds player profile data that can be resolved to aPlayerProfile
.Holds the loot table and seed for a container.Holds the effects that will be applied when consuming Suspicious Stew.Controls the behavior of the item as a tool.If set, the item will not lose any durability when used.Holds the contents of cooldown information when an item is used.Holds the contents of item transformation information when an item is used.Holds the pages for a writable book.Holds the contents and metadata of a Written Book. -
ClassDescriptionHolds the layers of patterns on a banner.Builder for
BannerPatternLayers
.Builder forBlockItemDataProperties
.Holds all items stored inside of a Bundle.Builder forBundleContents
.Holds all projectiles that have been loaded into a Crossbow.Builder forChargedProjectiles
.Builder forConsumable
.Builder forCustomModelData
.Holds the contents of damage types that the item entity containing this item is invincible to.Sets whether this item should protect the entity upon death, and what effects should be played.Builder forDeathProtection
.Represents a color applied to a dyeable item.Builder forDyedItemColor
.Holds if an item is enchantable, allowing for enchantments of the type to be seen in an enchanting table.Builder forEquippable
.Stores all explosions crafted into a Firework Rocket, as well as flight duration.Builder forFireworks
.Builder forFoodProperties
.Controls which blocks a player in Adventure mode can do a certain action with this item.Builder forItemAdventurePredicate
.Holds the trims applied to an item.Builder forItemArmorTrim
.Builder forItemAttributeModifiers
.Holds an attribute entry.Holds the contents of an item container.Stores a list of enchantments and their levels on an item.Builder forItemEnchantments
.Additional lines to include in an item's tooltip.Builder forItemLore
.Builder forJukeboxPlayable
.If present, specifies the target Lodestone that a Compass should point towards.Builder forLodestoneTracker
.Holds a list of markers to be placed on a Filled Map (used for Explorer Maps).Builder forMapDecorations
.Decoration present on the map.References the shared map state holding map contents and markers for a Filled Map.Holds the ominous bottle amplifier.Holds the item types for the decorations on a flower pot.Builder forPotDecorations
.Holds if this item is repairable, and what item types it can be repaired with.Holds player profile data that can be resolved to aPlayerProfile
.Builder forResolvableProfile
.Holds the loot table and seed for a container.Builder forSeededContainerLoot
.Holds the state of whether a data component should be shown in an item's tooltip.A builder for creating aShownInTooltip
data component.Holds the effects that will be applied when consuming Suspicious Stew.Builder forSuspiciousStewEffects
.Builder forTool
.If set, the item will not lose any durability when used.Builder forUnbreakable
.Holds the contents of item transformation information when an item is used.Builder forWritableBookContent
.Builder forWrittenBookContent
.