Interface EnderChestInventory

All Superinterfaces:
Container

public interface EnderChestInventory extends Container
A player's ender chest, shared by every ender chest block they open.

It always holds 54 slots, those of 6 rows, but a player only sees the first Player.enderChestRows() rows of it. What happens to the items of the rows a player no longer sees, kept hidden until they see them again or cleared when they open their ender chest, is up to the server configuration.

Choosing the rows of an ender chest by permission is inspired by Purpur.

Since:
0.1.0
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    The rows of a vanilla ender chest.
    static final int
    The most rows a player can see in their ender chest.
    static final int
    The number of slots of one row.
    static final int
    The number of slots of an ender chest, those of 6 rows, seen or not.
  • Method Summary

    Methods inherited from interface Container

    clear, contents, firstEmpty, get, isEmpty, set, setContents, size
  • Field Details

    • ROW_SIZE

      static final int ROW_SIZE
      The number of slots of one row.
      Since:
      0.1.0
      See Also:
    • MAX_ROWS

      static final int MAX_ROWS
      The most rows a player can see in their ender chest.
      Since:
      0.1.0
      See Also:
    • DEFAULT_ROWS

      static final int DEFAULT_ROWS
      The rows of a vanilla ender chest.
      Since:
      0.1.0
      See Also:
    • SIZE

      static final int SIZE
      The number of slots of an ender chest, those of 6 rows, seen or not.
      Since:
      0.1.0
      See Also: