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.entity.minecart |
Interfaces for various
Minecart types. |
org.bukkit.inventory |
Classes involved in manipulating player inventories and item interactions.
|
Modifier and Type | Method and Description |
---|---|
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)
Creates an empty inventory of type
InventoryType.CHEST with the
specified size. |
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,
int size,
String title)
Creates an empty inventory of type
InventoryType.CHEST with the
specified size and title. |
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 | Interface and Description |
---|---|
interface |
Beacon
Represents a beacon.
|
interface |
BrewingStand
Represents a brewing stand.
|
interface |
Chest
Represents a chest.
|
interface |
ContainerBlock
Deprecated.
in favour of
InventoryHolder |
interface |
Dispenser
Represents a dispenser.
|
interface |
Dropper
Represents a dropper.
|
interface |
Furnace
Represents a furnace.
|
interface |
Hopper
Represents a hopper.
|
Modifier and Type | Class and Description |
---|---|
class |
DoubleChest
Represents a double chest.
|
Modifier and Type | Method and Description |
---|---|
InventoryHolder |
DoubleChest.getLeftSide() |
InventoryHolder |
DoubleChest.getRightSide() |
Modifier and Type | Interface and Description |
---|---|
interface |
Horse
Represents a Horse.
|
interface |
HumanEntity
Represents a human entity, such as an NPC or a player
|
interface |
Player
Represents a player, connected or not
|
Modifier and Type | Interface and Description |
---|---|
interface |
HopperMinecart
Represents a Minecart with a Hopper inside it
|
interface |
StorageMinecart
Represents a minecart with a chest.
|
Modifier and Type | Method and Description |
---|---|
InventoryHolder |
Inventory.getHolder()
Gets the block or entity belonging to the open inventory
|
Copyright © 2022. All rights reserved.