Class Chest

All Implemented Interfaces:
Cloneable, Directional

@Deprecated(since="1.14.1") public class Chest extends DirectionalContainer
Deprecated.
all usage of MaterialData is deprecated and subject to removal. Use BlockData.
Represents a chest
  • Constructor Details

    • Chest

      public Chest()
      Deprecated.
    • Chest

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

      public Chest(Material type)
      Deprecated.
    • Chest

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