Interface ShelfInventory

All Superinterfaces:
Inventory, Iterable<ItemStack>

public interface ShelfInventory extends Inventory
  • Method Details

    • 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.