public class Chest extends DirectionalContainer
构造器和说明 |
---|
Chest() |
Chest(BlockFace direction)
实例化一个特定朝向的箱子.
|
Chest(int type)
已过时。
不安全的参数
|
Chest(int type,
byte data)
已过时。
不安全的参数
|
Chest(Material type) |
Chest(Material type,
byte data)
已过时。
不安全的参数
|
限定符和类型 | 方法和说明 |
---|---|
Chest |
clone() |
getFacing, setFacingDirection, toString
equals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStack
public Chest()
public Chest(BlockFace direction)
原文:Instantiate a chest facing in a particular direction.
direction
- 箱子打开时的朝向@Deprecated public Chest(int type)
type
- raw type idpublic Chest(Material type)
@Deprecated public Chest(int type, byte data)
type
- raw type iddata
- raw data@Deprecated public Chest(Material type, byte data)
type
- the typedata
- raw datapublic Chest clone()
clone
在类中 DirectionalContainer