Package | Description |
---|---|
org.bukkit |
The root package of the Bukkit API, contains generalized API classes.
|
org.bukkit.event.inventory | |
org.bukkit.inventory |
Classes involved in manipulating player inventories and item interactions.
|
Modifier and Type | Method | Description |
---|---|---|
static @NotNull Inventory |
Bukkit.createInventory(@Nullable InventoryHolder owner,
@NotNull InventoryType type) |
Creates an empty inventory with the specified type.
|
static @NotNull Inventory |
Bukkit.createInventory(@Nullable InventoryHolder owner,
@NotNull InventoryType type,
@NotNull String title) |
Creates an empty inventory with the specified type and title.
|
@NotNull Inventory |
Server.createInventory(@Nullable InventoryHolder owner,
@NotNull InventoryType type) |
Creates an empty inventory with the specified type.
|
@NotNull Inventory |
Server.createInventory(@Nullable InventoryHolder owner,
@NotNull InventoryType type,
@NotNull 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 |
---|---|---|
@NotNull InventoryType |
Inventory.getType() |
Returns what type of inventory this is.
|
abstract @NotNull InventoryType |
InventoryView.getType() |
Determine the type of inventory involved in the transaction.
|
@NotNull InventoryType |
InventoryView.Property.getType() |
Copyright © 2020. All rights reserved.