Package org.bukkit.inventory
package org.bukkit.inventory
Classes involved in manipulating player inventories and item interactions.
-
ClassDescriptionAn interface to the inventory of an
AbstractHorse
.Interface to the inventory of an Anvil.Interface to the inventory of a Beacon.Represents a campfire recipe.Represents a block inventory holder - either a BlockState, or a regular Block.Interface to the inventory of a Brewing Stand.Represents a campfire recipe.Interface to the inventory of a Cartography table.Interface to the inventory of a chiseled bookshelf.Represents a complex recipe which has imperative server-defined behavior, eg armor dyeing.CookingRecipe<T extends CookingRecipe>Represents a cooking recipe.Interface to the inventory of a Crafter.Interface to the crafting inventoriesRepresents a shaped or shapeless crafting recipe.Represents a category in the creative inventory.Interface to the inventory of a DecoratedPot.Interface to the inventory of a Double Chest.Interface to the inventory of an Enchantment Table.An interface to a creatures inventoryRepresents a group ofEquipmentSlot
.Interface to the inventory of a Furnace.Represents a furnace recipe.Interface to the inventory of a Grindstone.An interface to the inventory of a Horse.Interface to the various inventories.Represents a view linking two inventories and a single player (whose inventory may or may not be one of the two).Deprecated, for removal: This API element is subject to removal in a future version.Container class containing the results of a Crafting event.An instance of the ItemFactory can be obtained withServer.getItemFactory()
.A ItemFlag can hide some Attributes from ItemStacksA item's rarity determines the default color of its name.Represents a stack of items.While this API is in a public interface, it is not intended for use by plugins until further notice.ItemType.Typed<M extends ItemMeta>Typed represents a subtype ofItemType
s that have a known item meta type at compile time.Interface to the inventory of a Jukebox.Interface to the inventory of a Lectern.An interface to the inventory of aLlama
.Interface to the inventory of a Loom.Represents the chosen main hand of a playerRepresents different kinds of views, also known as menus, which can be created and viewed by the player.MenuType.Typed<V extends InventoryView>Typed represents a subtype ofMenuType
s that have a knownInventoryView
type at compile time.Represents a merchant.Represents a trading inventory between a player and a merchant.Represents a merchant's trade.Interface to the inventory of a Player, including the four armor slots and any extra slots.Represents some type of crafting recipe.Represents a potential item match within a recipe.Represents a choice that will be valid only if one of the stacks is exactly matched (aside from stack size).Represents a choice of multiple matching Materials.Represents a shaped (ie normal) crafting recipe.Represents a shapeless recipe, where the arrangement of the ingredients on the crafting grid does not matter.Interface to the inventory of a Smithing table.Represents a smithing recipe.Represents a smithing transform recipe.Represents a smithing trim recipe.Represents a campfire recipe.Interface to the inventory of a Stonecutter.Represents a Stonecutting recipe.
InventoryView
and its children