Class Chest

All Implemented Interfaces:
java.lang.Cloneable, Directional

public class Chest
extends DirectionalContainer
Represents a chest
  • Constructor Details

    • Chest

      public Chest()
    • Chest

      public Chest​(BlockFace direction)
      Instantiate a chest facing in a particular direction.
      Parameters:
      direction - the direction the chest's lit opens towards
    • Chest

      @Deprecated public Chest​(int type)
      Deprecated.
      Magic value
      Parameters:
      type - the raw type id
    • Chest

      public Chest​(Material type)
    • Chest

      @Deprecated public Chest​(int type, byte data)
      Deprecated.
      Magic value
      Parameters:
      type - the raw type id
      data - the raw data value
    • Chest

      @Deprecated public Chest​(Material type, byte data)
      Deprecated.
      Magic value
      Parameters:
      type - the type
      data - the raw data value
  • Method Details