|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Inventory | |
---|---|
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 | Events relating to inventory manipulation. |
org.bukkit.event.player | Events relating to players . |
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 | |
---|---|
static Inventory |
Bukkit.createInventory(InventoryHolder owner,
int size)
|
Inventory |
Server.createInventory(InventoryHolder owner,
int size)
Creates an empty inventory of type InventoryType.CHEST with 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.CHEST with 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. |
Uses of Inventory in org.bukkit.block |
---|
Methods in org.bukkit.block that return Inventory | |
---|---|
Inventory |
Chest.getBlockInventory()
Returns the chest's inventory. |
Inventory |
DoubleChest.getInventory()
|
Uses of Inventory in org.bukkit.entity |
---|
Methods in org.bukkit.entity that return Inventory | |
---|---|
Inventory |
HumanEntity.getEnderChest()
Get the player's EnderChest inventory |
Methods in org.bukkit.entity with parameters of type Inventory | |
---|---|
InventoryView |
HumanEntity.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 | |
---|---|
Inventory |
InventoryMoveItemEvent.getDestination()
Gets the Inventory that the ItemStack is being put into |
Inventory |
InventoryMoveItemEvent.getInitiator()
Gets the Inventory that initiated the transfer. |
Inventory |
InventoryEvent.getInventory()
Gets the primary Inventory involved in this transaction |
Inventory |
InventoryPickupItemEvent.getInventory()
Gets the Inventory that picked up the item |
Inventory |
InventoryMoveItemEvent.getSource()
Gets the Inventory that the ItemStack is being taken from |
Constructors in org.bukkit.event.inventory with parameters of type Inventory | |
---|---|
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 | |
---|---|
protected Inventory |
PlayerInventoryEvent.inventory
Deprecated. |
Methods in org.bukkit.event.player that return Inventory | |
---|---|
Inventory |
PlayerInventoryEvent.getInventory()
Deprecated. Gets the Inventory involved in this event |
Constructors in org.bukkit.event.player with parameters of type Inventory | |
---|---|
PlayerInventoryEvent(Player player,
Inventory inventory)
Deprecated. |
Uses of Inventory in org.bukkit.inventory |
---|
Subinterfaces of Inventory in org.bukkit.inventory | |
---|---|
interface |
AnvilInventory
|
interface |
BeaconInventory
|
interface |
BrewerInventory
|
interface |
CraftingInventory
Interface to the crafting inventories |
interface |
DoubleChestInventory
|
interface |
EnchantingInventory
|
interface |
FurnaceInventory
|
interface |
HorseInventory
|
interface |
MerchantInventory
|
interface |
PlayerInventory
Includes interface to the 4 armor slots |
Methods in org.bukkit.inventory that return Inventory | |
---|---|
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. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |