Package org.bukkit.block
Class DoubleChest
- java.lang.Object
-
- org.bukkit.block.DoubleChest
-
- All Implemented Interfaces:
InventoryHolder
public class DoubleChest extends Object implements InventoryHolder
Represents a double chest.
-
-
Constructor Summary
Constructors Constructor Description DoubleChest(DoubleChestInventory chest)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Inventory
getInventory()
Get the object's inventory.InventoryHolder
getLeftSide()
Location
getLocation()
InventoryHolder
getRightSide()
World
getWorld()
double
getX()
double
getY()
double
getZ()
-
-
-
Constructor Detail
-
DoubleChest
public DoubleChest(DoubleChestInventory chest)
-
-
Method Detail
-
getInventory
public Inventory getInventory()
Description copied from interface:InventoryHolder
Get the object's inventory.- Specified by:
getInventory
in interfaceInventoryHolder
- Returns:
- The inventory.
-
getLeftSide
public InventoryHolder getLeftSide()
-
getRightSide
public InventoryHolder getRightSide()
-
getLocation
public Location getLocation()
-
getWorld
public World getWorld()
-
getX
public double getX()
-
getY
public double getY()
-
getZ
public double getZ()
-
-