Package | Description |
---|---|
org.bukkit |
More generalized classes in the API.
|
org.bukkit.event.inventory | |
org.bukkit.inventory |
Classes involved in manipulating player inventories and item interactions.
|
Modifier and Type | Method and Description |
---|---|
Inventory |
Server.createInventory(InventoryHolder owner,
InventoryType type)
Creates an empty inventory of the specified type.
|
static Inventory |
Bukkit.createInventory(InventoryHolder owner,
InventoryType type)
Creates an empty inventory of the specified type.
|
Inventory |
Server.createInventory(InventoryHolder owner,
InventoryType type,
String title)
Creates an empty inventory with the specified type and title.
|
static Inventory |
Bukkit.createInventory(InventoryHolder owner,
InventoryType type,
String title)
Creates an empty inventory with the specified type and title.
|
Modifier and Type | Method and Description |
---|---|
static InventoryType |
InventoryType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InventoryType[] |
InventoryType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
abstract InventoryType |
InventoryView.getType()
Determine the type of inventory involved in the transaction.
|
InventoryType |
InventoryView.Property.getType() |
InventoryType |
Inventory.getType()
Returns what type of inventory this is.
|
Copyright © 2015. All rights reserved.