| 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 | Description |
|---|---|---|
static Inventory |
Bukkit.createInventory(InventoryHolder owner,
InventoryType type) |
Creates an empty inventory of the specified type.
|
static Inventory |
Bukkit.createInventory(InventoryHolder owner,
InventoryType type,
String title) |
Creates an empty inventory with the specified type and title.
|
Inventory |
Server.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.
|
| Modifier and Type | Method | 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 | Description |
|---|---|---|
InventoryType |
Inventory.getType() |
Returns what type of inventory this is.
|
abstract InventoryType |
InventoryView.getType() |
Determine the type of inventory involved in the transaction.
|
InventoryType |
InventoryView.Property.getType() |
Copyright © 2018. All rights reserved.