Uses of Interface
org.bukkit.inventory.Inventory
| 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.
|
-
Uses of Inventory in org.bukkit
Methods in org.bukkit that return Inventory Modifier and Type Method Description static InventoryBukkit. createInventory(InventoryHolder owner, int size)Creates an empty inventory of typeInventoryType.CHESTwith the specified size.static InventoryBukkit. createInventory(InventoryHolder owner, int size, java.lang.String title)Creates an empty inventory of typeInventoryType.CHESTwith the specified size and title.static InventoryBukkit. createInventory(InventoryHolder owner, InventoryType type)Creates an empty inventory of the specified type.static InventoryBukkit. createInventory(InventoryHolder owner, InventoryType type, java.lang.String title)Creates an empty inventory with the specified type and title.InventoryServer. createInventory(InventoryHolder owner, int size)Creates an empty inventory of typeInventoryType.CHESTwith the specified size.InventoryServer. createInventory(InventoryHolder owner, int size, java.lang.String title)Creates an empty inventory of typeInventoryType.CHESTwith the specified size and title.InventoryServer. createInventory(InventoryHolder owner, InventoryType type)Creates an empty inventory of the specified type.InventoryServer. createInventory(InventoryHolder owner, InventoryType type, java.lang.String title)Creates an empty inventory with the specified type and title. -
Uses of Inventory in org.bukkit.block
Methods in org.bukkit.block that return Inventory Modifier and Type Method Description InventoryChest. getBlockInventory()Returns the chest's inventory.InventoryDoubleChest. getInventory() -
Uses of Inventory in org.bukkit.entity
Methods in org.bukkit.entity that return Inventory Modifier and Type Method Description InventoryHumanEntity. getEnderChest()Get the player's EnderChest inventoryMethods in org.bukkit.entity with parameters of type Inventory Modifier and Type Method Description InventoryViewHumanEntity. openInventory(Inventory inventory)Opens an inventory window with the specified inventory on the top and the player's inventory on the bottom. -
Uses of Inventory in org.bukkit.event.inventory
Methods in org.bukkit.event.inventory that return Inventory Modifier and Type Method Description InventoryInventoryClickEvent. getClickedInventory()Gets the inventory that was clicked, or null if outside of windowInventoryInventoryMoveItemEvent. getDestination()Gets the Inventory that the ItemStack is being put intoInventoryInventoryMoveItemEvent. getInitiator()Gets the Inventory that initiated the transfer.InventoryInventoryEvent. getInventory()Gets the primary Inventory involved in this transactionInventoryInventoryPickupItemEvent. getInventory()Gets the Inventory that picked up the itemInventoryInventoryMoveItemEvent. getSource()Gets the Inventory that the ItemStack is being taken fromConstructors in org.bukkit.event.inventory with parameters of type Inventory Constructor Description InventoryMoveItemEvent(Inventory sourceInventory, ItemStack itemStack, Inventory destinationInventory, boolean didSourceInitiate)InventoryPickupItemEvent(Inventory inventory, Item item) -
Uses of Inventory in org.bukkit.event.player
Fields in org.bukkit.event.player declared as Inventory Modifier and Type Field Description protected InventoryPlayerInventoryEvent. inventoryDeprecated.Methods in org.bukkit.event.player that return Inventory Modifier and Type Method Description InventoryPlayerInventoryEvent. getInventory()Deprecated.Gets the Inventory involved in this eventConstructors in org.bukkit.event.player with parameters of type Inventory Constructor Description PlayerInventoryEvent(Player player, Inventory inventory)Deprecated. -
Uses of Inventory in org.bukkit.inventory
Subinterfaces of Inventory in org.bukkit.inventory Modifier and Type Interface Description interfaceAnvilInventoryInterface to the inventory of an Anvil.interfaceBeaconInventoryInterface to the inventory of a Beacon.interfaceBrewerInventoryInterface to the inventory of a Brewing Stand.interfaceCraftingInventoryInterface to the crafting inventoriesinterfaceDoubleChestInventoryInterface to the inventory of a Double Chest.interfaceEnchantingInventoryInterface to the inventory of an Enchantment Table.interfaceFurnaceInventoryInterface to the inventory of a Furnace.interfaceHorseInventoryAn interface to the inventory of a Horse.interfaceMerchantInventoryinterfacePlayerInventoryInterface to the inventory of a Player, including the four armor slots.Methods in org.bukkit.inventory that return Inventory Modifier and Type Method Description abstract InventoryInventoryView. getBottomInventory()Get the lower inventory involved in this transaction.InventoryInventoryHolder. getInventory()Get the object's inventory.InventoryDoubleChestInventory. getLeftSide()Get the left half of this double chest.InventoryDoubleChestInventory. getRightSide()Get the right side of this double chest.abstract InventoryInventoryView. getTopInventory()Get the upper inventory involved in this transaction.