Package net.minecraft.item
package net.minecraft.item
-
ClassDescriptionDefines the material stats of an
ArmorItem
item.Represents an item corresponding to a block.Checks if a block predicate stored insideItemStack
's NBT matches the block in a world.Represents a type of item that is wearable in an armor equipment slot, or a shield.An item usable by players and other entities.Item settings configure behaviors common to all items, such as the stack's max count.Represents an object that has an item form.A group of items that the items belong to.Represents a stack of items.Utility methods related to item usage.Represents an item which can contain extra data that is synced to the client.AnItem
used as a tool, typically used for harvesting blocks or killing entities.Defines the material stats of aToolItem
item.Provides the defaultToolMaterial
s used by vanilla tools.An item for a block that can be vertically attached as well as horizontally.