Class DoubleChest

java.lang.Object
org.bukkit.block.DoubleChest
All Implemented Interfaces:
InventoryHolder

public class DoubleChest extends Object implements InventoryHolder
Represents a double chest.
Since:
1.3.1
  • Constructor Details

  • Method Details

    • getInventory

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

      @Nullable public @Nullable InventoryHolder getLeftSide()
      Since:
      1.3.1
    • getRightSide

      @Nullable public @Nullable InventoryHolder getRightSide()
      Since:
      1.3.1
    • getLeftSide

      @Nullable public @Nullable InventoryHolder getLeftSide(boolean useSnapshot)
      Since:
      1.15.2
    • getRightSide

      @Nullable public @Nullable InventoryHolder getRightSide(boolean useSnapshot)
      Since:
      1.15.2
    • getLocation

      @NotNull public @NotNull Location getLocation()
      Since:
      1.3.1
    • getWorld

      @Nullable public @Nullable World getWorld()
      Since:
      1.3.1
    • getX

      public double getX()
      Since:
      1.3.1
    • getY

      public double getY()
      Since:
      1.3.1
    • getZ

      public double getZ()
      Since:
      1.3.1