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
Represents an ender chest
-
Constructor Summary
ConstructorsConstructorDescriptionEnderChest
(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
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.Magic value- Parameters:
type
- the raw type id
-
EnderChest
-
EnderChest
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
-