Interface Chest

All Superinterfaces:
BlockState, ContainerBlock, InventoryHolder, Metadatable

public interface Chest
extends BlockState, ContainerBlock
Represents a chest.
  • Method Details

    • getBlockInventory

      Inventory getBlockInventory()
      Returns the chest's inventory. If this is a double chest, it returns just the portion of the inventory linked to this half of the chest.
      Returns:
      The inventory.