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 Details

  • Method Details

    • getInventory

      @NotNull public Inventory getInventory()
      Description copied from interface: InventoryHolder
      Get the object's inventory.
      Specified by:
      getInventory in interface InventoryHolder
      Returns:
      The inventory.
    • getLeftSide

      @Nullable public InventoryHolder getLeftSide()
    • getRightSide

      @Nullable public InventoryHolder getRightSide()
    • getLocation

      @NotNull public Location getLocation()
    • getWorld

      @Nullable public World getWorld()
    • getX

      public double getX()
    • getY

      public double getY()
    • getZ

      public double getZ()