Package org.bukkit.material
Class EnderChest
java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.DirectionalContainer
org.bukkit.material.EnderChest
- All Implemented Interfaces:
java.lang.Cloneable
,Directional
public class EnderChest extends DirectionalContainer
Represents an ender chest
-
Constructor Summary
Constructors Constructor Description EnderChest()
EnderChest(int type)
Deprecated.Magic valueEnderChest(int type, byte data)
Deprecated.Magic valueEnderChest(BlockFace direction)
Instantiate an ender chest facing in a particular direction.EnderChest(Material type)
EnderChest(Material type, byte data)
Deprecated.Magic value -
Method Summary
Modifier and Type Method Description EnderChest
clone()
Methods inherited from class org.bukkit.material.DirectionalContainer
getFacing, setFacingDirection, toString
Methods inherited from class org.bukkit.material.MaterialData
equals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStack
-
Constructor Details
-
EnderChest
public EnderChest() -
EnderChest
Instantiate an ender chest facing in a particular direction.- Parameters:
direction
- the direction the ender chest's lid opens towards
-
EnderChest
@Deprecated public EnderChest(int type)Deprecated.Magic value- Parameters:
type
- the raw type id
-
EnderChest
-
EnderChest
@Deprecated public EnderChest(int type, byte data)Deprecated.Magic value- Parameters:
type
- the raw type iddata
- the raw data value
-
EnderChest
Deprecated.Magic value- Parameters:
type
- the typedata
- the raw data value
-
-
Method Details
-
clone
- Overrides:
clone
in classDirectionalContainer
-