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(@NotNull DoubleChestInventory chest)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull InventorygetInventory()Get the object's inventory.@Nullable InventoryHoldergetLeftSide()@NotNull LocationgetLocation()@Nullable InventoryHoldergetRightSide()@Nullable WorldgetWorld()doublegetX()doublegetY()doublegetZ()
-
-
-
Constructor Detail
-
DoubleChest
public DoubleChest(@NotNull @NotNull DoubleChestInventory chest)
-
-
Method Detail
-
getInventory
@NotNull public @NotNull Inventory getInventory()
Description copied from interface:InventoryHolderGet the object's inventory.- Specified by:
getInventoryin interfaceInventoryHolder- Returns:
- The inventory.
-
getLeftSide
@Nullable public @Nullable InventoryHolder getLeftSide()
-
getRightSide
@Nullable public @Nullable InventoryHolder getRightSide()
-
getLocation
@NotNull public @NotNull Location getLocation()
-
getWorld
@Nullable public @Nullable World getWorld()
-
getX
public double getX()
-
getY
public double getY()
-
getZ
public double getZ()
-
-