| Package | Description | 
|---|---|
| org.bukkit | More generalized classes in the API. | 
| org.bukkit.block | Classes used to manipulate the voxels in a  world,
 including special states. | 
| org.bukkit.entity | Interfaces for non-voxel objects that can exist in a  world, including all players, monsters, projectiles, etc. | 
| org.bukkit.event.inventory | |
| org.bukkit.event.player | |
| org.bukkit.inventory | Classes involved in manipulating player inventories and item interactions. | 
| Modifier and Type | Method and Description | 
|---|---|
| static Inventory | Bukkit. createInventory(InventoryHolder owner,
               int size) | 
| Inventory | Server. createInventory(InventoryHolder owner,
               int size)Creates an empty inventory of type  InventoryType.CHESTwith the
 specified size. | 
| static Inventory | Bukkit. createInventory(InventoryHolder owner,
               int size,
               String title) | 
| Inventory | Server. createInventory(InventoryHolder owner,
               int size,
               String title)Creates an empty inventory of type  InventoryType.CHESTwith the
 specified size and title. | 
| static Inventory | Bukkit. createInventory(InventoryHolder owner,
               InventoryType type) | 
| Inventory | Server. createInventory(InventoryHolder owner,
               InventoryType type)Creates an empty inventory of the specified type. | 
| Modifier and Type | Method and Description | 
|---|---|
| Inventory | Chest. getBlockInventory()Returns the chest's inventory. | 
| Inventory | DoubleChest. getInventory() | 
| Modifier and Type | Method and Description | 
|---|---|
| Inventory | HumanEntity. getEnderChest()Get the player's EnderChest inventory | 
| Modifier and Type | Method and Description | 
|---|---|
| InventoryView | HumanEntity. openInventory(Inventory inventory)Opens an inventory window with the specified inventory on the top and
 the player's inventory on the bottom. | 
| Modifier and Type | Method and Description | 
|---|---|
| Inventory | InventoryMoveItemEvent. getDestination()Gets the Inventory that the ItemStack is being put into | 
| Inventory | InventoryMoveItemEvent. getInitiator()Gets the Inventory that initiated the transfer. | 
| Inventory | InventoryPickupItemEvent. getInventory()Gets the Inventory that picked up the item | 
| Inventory | InventoryEvent. getInventory()Gets the primary Inventory involved in this transaction | 
| Inventory | InventoryMoveItemEvent. getSource()Gets the Inventory that the ItemStack is being taken from | 
| Constructor and Description | 
|---|
| InventoryMoveItemEvent(Inventory sourceInventory,
                      ItemStack itemStack,
                      Inventory destinationInventory,
                      boolean didSourceInitiate) | 
| InventoryPickupItemEvent(Inventory inventory,
                        Item item) | 
| Modifier and Type | Field and Description | 
|---|---|
| protected Inventory | PlayerInventoryEvent. inventoryDeprecated.  | 
| Modifier and Type | Method and Description | 
|---|---|
| Inventory | PlayerInventoryEvent. getInventory()Deprecated.  Gets the Inventory involved in this event | 
| Constructor and Description | 
|---|
| PlayerInventoryEvent(Player player,
                    Inventory inventory)Deprecated.  | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | AnvilInventoryInterface to the inventory of an Anvil. | 
| interface  | BeaconInventoryInterface to the inventory of a Beacon. | 
| interface  | BrewerInventoryInterface to the inventory of a Brewing Stand. | 
| interface  | CraftingInventoryInterface to the crafting inventories | 
| interface  | DoubleChestInventoryInterface to the inventory of a Double Chest. | 
| interface  | EnchantingInventoryInterface to the inventory of an Enchantment Table. | 
| interface  | FurnaceInventoryInterface to the inventory of a Furnace. | 
| interface  | HorseInventoryAn interface to the inventory of a Horse. | 
| interface  | MerchantInventory | 
| interface  | PlayerInventoryInterface to the inventory of a Player, including the four armor slots. | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract Inventory | InventoryView. getBottomInventory()Get the lower inventory involved in this transaction. | 
| Inventory | InventoryHolder. getInventory()Get the object's inventory. | 
| Inventory | DoubleChestInventory. getLeftSide()Get the left half of this double chest. | 
| Inventory | DoubleChestInventory. getRightSide()Get the right side of this double chest. | 
| abstract Inventory | InventoryView. getTopInventory()Get the upper inventory involved in this transaction. | 
Copyright © 2014. All rights reserved.