Package org.bukkit.material
Class EnderChest
- java.lang.Object
-
- org.bukkit.material.MaterialData
-
- org.bukkit.material.DirectionalContainer
-
- org.bukkit.material.EnderChest
-
- All Implemented Interfaces:
Cloneable,Directional
public class EnderChest extends DirectionalContainer
Represents an ender chest
-
-
Constructor Summary
Constructors Constructor Description EnderChest()EnderChest(BlockFace direction)Instantiate an ender chest facing in a particular direction.EnderChest(Material type)EnderChest(Material type, byte data)Deprecated.Magic value
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EnderChestclone()-
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
-
EnderChest
public EnderChest()
-
EnderChest
public EnderChest(BlockFace direction)
Instantiate an ender chest facing in a particular direction.- Parameters:
direction- the direction the ender chest's lid opens towards
-
EnderChest
public EnderChest(Material type)
-
EnderChest
@Deprecated public EnderChest(Material type, byte data)
Deprecated.Magic value- Parameters:
type- the typedata- the raw data value
-
-
Method Detail
-
clone
public EnderChest clone()
- Overrides:
clonein classDirectionalContainer
-
-