Class Chest

All Implemented Interfaces:
Cloneable, Directional

@Deprecated(forRemoval=true, since="1.13") public class Chest extends DirectionalContainer
Deprecated, for removal: This API element is subject to removal in a future version.
all usage of MaterialData is deprecated and subject to removal. Use BlockData.
Represents a chest
  • Constructor Details

    • Chest

      public Chest()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • Chest

      public Chest(BlockFace direction)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Instantiate a chest facing in a particular direction.
      Parameters:
      direction - the direction the chest's lit opens towards
    • Chest

      public Chest(Material type)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • Chest

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

    • clone

      public Chest clone()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      clone in class DirectionalContainer