public class Skull extends MaterialData implements Directional
| 构造器和说明 |
|---|
Skull() |
Skull(BlockFace direction)
实例化一个特定朝向的头颅.
|
Skull(int type)
已过时。
不安全的参数
|
Skull(int type,
byte data)
已过时。
不安全的参数
|
Skull(Material type) |
Skull(Material type,
byte data)
已过时。
不安全的参数
|
| 限定符和类型 | 方法和说明 |
|---|---|
Skull |
clone() |
BlockFace |
getFacing()
获取这个方块的朝向.
|
void |
setFacingDirection(BlockFace face)
设置这个方块的朝向.
|
java.lang.String |
toString() |
equals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStackpublic Skull()
public Skull(BlockFace direction)
原文:Instantiate a skull facing in a particular direction.
direction - 头颅的朝向@Deprecated public Skull(int type)
type - the raw type idpublic Skull(Material type)
@Deprecated
public Skull(int type,
byte data)
type - the raw type iddata - the raw data value@Deprecated public Skull(Material type, byte data)
type - the typedata - the raw data valuepublic void setFacingDirection(BlockFace face)
Directional原文:Sets the direction that this block is facing in
setFacingDirection 在接口中 Directionalface - 这个方块的朝向public BlockFace getFacing()
Directional原文:Gets the direction this block is facing
getFacing 在接口中 Directionalpublic java.lang.String toString()
toString 在类中 MaterialDatapublic Skull clone()
clone 在类中 MaterialData