# 程序包 org.bukkit.event.inventory

package org.bukkit.event.inventory
与`物品栏`操作相关的`事件`.

- 相关程序包
  程序包
  说明
  org.bukkit.event
  用于处理触发代码的执行的类.
- 类
  说明
  BrewEvent
  当酿造完成时触发这个事件.
  BrewingStandFuelEvent
  Called when an ItemStack is about to increase the fuel level of a brewing stand.
  ClickType
  点击类型.
  CraftItemEvent
  当一个物品被合成的时候触发这个事件.
  DragType
  在物品栏中拖动物品的拖动类型.
  FurnaceBurnEvent
  当一个物品作为燃料被燃烧的时候触发这个事件.
  FurnaceExtractEvent
  当玩家从熔炉取出产物时触发这个事件.
  FurnaceSmeltEvent
  当一个物品烧炼完毕时触发本事件.
  FurnaceStartSmeltEvent
  Called when a Furnace starts smelting.
  HopperInventorySearchEvent
  Event that gets called each time a Hopper attempts to find its source/attached containers.
  HopperInventorySearchEvent.ContainerType
  InventoryAction
  用于判断点击物品栏的动作结果.
  InventoryClickEvent
  当玩家点击物品栏中的格子时触发事件事件.
  译注：事实上打开任意容器的物品栏(包括玩家的背包)后点击任何一个地方都会触发这个事件。
  InventoryCloseEvent
  当玩家关闭背包时触发本事件
  InventoryCreativeEvent
  This event is called when a player in creative mode puts down or picks up an item in their inventory / hotbar and when they drop items from their Inventory while in creative mode.
  InventoryDragEvent
  This event is called when the player drags an item in their cursor across the inventory.
  InventoryEvent
  代表与玩家相关的物品栏事件
  InventoryInteractEvent
  An abstract base class for events that describe an interaction between a HumanEntity and the contents of an Inventory.
  InventoryMoveItemEvent
  Called when some entity or block (e.g. hopper) tries to move items directly from one inventory to another.
  InventoryOpenEvent
  当玩家打开物品栏时触发本事件
  InventoryPickupItemEvent
  当漏斗/漏斗矿车收起掉落的物品时触发本事件.
  InventoryType
  Represents the different kinds of inventories available in Bukkit.
  InventoryType.SlotType
  PrepareAnvilEvent
  当物品放入铁砧内，并且可以合成出物品的时候触发该事件
  PrepareGrindstoneEvent
  Called when an item is put in a slot for repair or unenchanting in a grindstone.
  PrepareInventoryResultEvent
  Called when an item is put in a slot and the result is calculated.
  PrepareItemCraftEvent
  PrepareSmithingEvent
  Called when an item is put in a slot for upgrade by a Smithing Table.
  SmithItemEvent
  Called when the recipe of an Item is completed inside a smithing table.
  TradeSelectEvent
  This event is called whenever a player clicks a new trade on the trades sidebar.