java.lang.Cloneable
, Directional
public class EnderChest extends DirectionalContainer
Constructor | Description |
---|---|
EnderChest() |
|
EnderChest(int type) |
Deprecated.
Magic value
|
EnderChest(int type,
byte data) |
Deprecated.
Magic value
|
EnderChest(BlockFace direction) |
Instantiate an ender chest facing in a particular direction.
|
EnderChest(Material type) |
|
EnderChest(Material type,
byte data) |
Deprecated.
Magic value
|
Modifier and Type | Method | Description |
---|---|---|
EnderChest |
clone() |
getFacing, setFacingDirection, toString
equals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStack
public EnderChest()
public EnderChest(BlockFace direction)
direction
- the direction the ender chest's lid opens towards@Deprecated public EnderChest(int type)
type
- the raw type idpublic EnderChest(Material type)
@Deprecated public EnderChest(int type, byte data)
type
- the raw type iddata
- the raw data value@Deprecated public EnderChest(Material type, byte data)
type
- the typedata
- the raw data valuepublic EnderChest clone()
clone
in class DirectionalContainer
Copyright © 2018. All rights reserved.