Interface DoubleChestInventory

All Superinterfaces:
Inventory, Iterable<ItemStack>

public interface DoubleChestInventory extends Inventory
Interface to the inventory of a Double Chest.
  • Method Details

    • getLeftSide

      @NotNull Inventory getLeftSide()
      Get the left half of this double chest.
      Returns:
      The left side inventory
    • getRightSide

      @NotNull Inventory getRightSide()
      Get the right side of this double chest.
      Returns:
      The right side inventory
    • getHolder

      @Nullable DoubleChest getHolder()
      Description copied from interface: Inventory
      Gets the block or entity belonging to the open inventory
      Specified by:
      getHolder in interface Inventory
      Returns:
      The holder of the inventory; null if it has no holder.