public class BlockInventoryHolder extends BlockObject
| Constructor and Description |
|---|
BlockInventoryHolder(int typeId,
byte data,
org.bukkit.inventory.ItemStack[] items)
Constructor for all Container objects
|
BlockInventoryHolder(int typeId,
org.bukkit.inventory.ItemStack[] items)
Constructor for all Container objects
|
| Modifier and Type | Method and Description |
|---|---|
org.bukkit.inventory.ItemStack[] |
getItems()
Get the list of items.
|
void |
setItems(org.bukkit.inventory.ItemStack[] items)
Clone the list of items so it's a snapshot of the inventory.
|
getData, getLocation, getTypeId, setData, setLocation, setTypeId, setTypeIdAndDatapublic BlockInventoryHolder(int typeId,
org.bukkit.inventory.ItemStack[] items)
typeId - items - public BlockInventoryHolder(int typeId,
byte data,
org.bukkit.inventory.ItemStack[] items)
typeId - data - items -