Package org.bukkit.material
Class Chest
- java.lang.Object
-
- org.bukkit.material.MaterialData
-
- org.bukkit.material.DirectionalContainer
-
- org.bukkit.material.Chest
-
- All Implemented Interfaces:
Cloneable
,Directional
@Deprecated public class Chest extends DirectionalContainer
Deprecated.all usage of MaterialData is deprecated and subject to removal. UseBlockData
.Represents a chest
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Chest
clone()
Deprecated.-
Methods inherited from class org.bukkit.material.DirectionalContainer
getFacing, setFacingDirection, toString
-
Methods inherited from class org.bukkit.material.MaterialData
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
-
-
-
-
Constructor Detail
-
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 public Chest(Material type, byte data)
Deprecated.Magic value- Parameters:
type
- the typedata
- the raw data value
-
-
Method Detail
-
clone
public Chest clone()
Deprecated.- Overrides:
clone
in classDirectionalContainer
-
-