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