# 程序包 org.bukkit.inventory

package org.bukkit.inventory
参与操作玩家物品栏和物品交互的类.

- 相关程序包
  程序包
  说明
  org.bukkit
  Bukkit API的顶级程序包, 包含通用的API类和接口.
  org.bukkit.inventory.meta
  用于操作可以存储在`物品堆`的额外数据的接口.
  org.bukkit.inventory.recipe
  New location for recipe-related classes.
- 类
  说明
  AbstractHorseInventory
  马(抽象概念的)(`AbstractHorse`)的物品栏界面接口.
  AnvilInventory
  铁毡的背包界面接口
  BeaconInventory
  信标的背包界面接口
  BlastingRecipe
  Represents a campfire recipe.
  BlockInventoryHolder
  Represents a block inventory holder - either a BlockState, or a regular Block.
  BrewerInventory
  酿造台的用户界面接口.
  CampfireRecipe
  Represents a campfire recipe.
  CartographyInventory
  Interface to the inventory of a Cartography table.
  ChiseledBookshelfInventory
  Interface to the inventory of a chiseled bookshelf.
  ComplexRecipe
  Represents a complex recipe which has imperative server-defined behavior, eg armor dyeing.
  CookingRecipe<T extends CookingRecipe>
  Represents a cooking recipe.
  CrafterInventory
  Interface to the inventory of a Crafter.
  CraftingInventory
  合成台的用户界面接口.
  CraftingRecipe
  Represents a shaped or shapeless crafting recipe.
  CreativeCategory
  Represents a category in the creative inventory.
  DecoratedPotInventory
  Interface to the inventory of a DecoratedPot.
  DoubleChestInventory
  大箱子的用户界面接口.
  EnchantingInventory
  附魔界面接口
  EntityEquipment
  生物的背包界面接口
  EquipmentSlot
  EquipmentSlotGroup
  Represents a group of `EquipmentSlot`.
  FurnaceInventory
  熔炉用户界面接口
  FurnaceRecipe
  熔炉冶炼配方.
  GrindstoneInventory
  Interface to the inventory of a Grindstone.
  HorseInventory
  马(抽象)的界面接口.
  Inventory
  各种物品栏的接口。
  InventoryHolder
  InventoryView
  代表连接两个物品栏(从UI上理解即为上下各一个)与单个玩家 (其物品栏可能也可能不是视图代表的两个物品栏之一)的背包视图.
  InventoryView.Property
  代表物品栏窗口视图的一些额外属性.
  ItemCraftResult
  Container class containing the results of a Crafting event.
  ItemFactory
  ItemFactory的一个实例可以通过`Server.getItemFactory()`来获得.
  ItemFlag
  隐藏ItemStacks的某些属性.
  ItemRarity
  A item's rarity determines the default color of its name.
  ItemStack
  代表物品堆.
  ItemType
  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 of `ItemType`s that have a known item meta type at compile time.
  JukeboxInventory
  Interface to the inventory of a Jukebox.
  LecternInventory
  Interface to the inventory of a Lectern.
  LlamaInventory
  羊驼的用户界面接口
  LoomInventory
  Interface to the inventory of a Loom.
  MainHand
  代表玩家的主手。
  Merchant
  代表一个商人.商人是一种特殊类型的库存，是一种以物换物的自定义交易.
  MerchantInventory
  代表玩家和商人之间的用户界面接口.
  MerchantRecipe
  Represents a merchant's trade.
  PlayerInventory
  玩家背包.
  Recipe
  代表某种类型的制作配方.
  RecipeChoice
  Represents a potential item match within a recipe.
  RecipeChoice.ExactChoice
  Represents a choice that will be valid only if one of the stacks is exactly matched (aside from stack size).
  RecipeChoice.MaterialChoice
  Represents a choice of multiple matching Materials.
  ShapedRecipe
  Represents a shaped (ie normal) crafting recipe.
  ShapelessRecipe
  Represents a shapeless recipe, where the arrangement of the ingredients on the crafting grid does not matter.
  SmithingInventory
  Interface to the inventory of a Smithing table.
  SmithingRecipe
  Represents a smithing recipe.
  SmithingTransformRecipe
  Represents a smithing transform recipe.
  SmithingTrimRecipe
  Represents a smithing trim recipe.
  SmokingRecipe
  Represents a campfire recipe.
  StonecutterInventory
  Interface to the inventory of a Stonecutter.
  StonecuttingRecipe
  Represents a Stonecutting recipe.