Cloneable
, Directional
public class EnderChest extends DirectionalContainer
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
|
Modifier and Type | Method | Description |
---|---|---|
EnderChest |
clone() |
getFacing, setFacingDirection, toString
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
public EnderChest()
public EnderChest(BlockFace direction)
direction
- the direction the ender chest's lid opens towardspublic EnderChest(Material type)
@Deprecated public EnderChest(Material type, byte data)
type
- the typedata
- the raw data valuepublic EnderChest clone()
clone
in class DirectionalContainer
Copyright © 2020. All rights reserved.