public class Skull extends MaterialData implements Directional
| 构造器和说明 |
|---|
Skull() |
Skull(BlockFace direction)
Instantiate a skull facing in a particular direction.
|
Skull(Material type) |
Skull(Material type,
byte data)
已过时。
Magic value
|
| 限定符和类型 | 方法和说明 |
|---|---|
Skull |
clone() |
BlockFace |
getFacing()
Gets the direction this block is facing
|
void |
setFacingDirection(BlockFace face)
Sets the direction that this block is facing in
|
java.lang.String |
toString() |
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStackpublic Skull()
public Skull(BlockFace direction)
direction - the direction the skull's face is facingpublic Skull(Material type)
@Deprecated public Skull(Material type, byte data)
type - the typedata - the raw data valuepublic void setFacingDirection(BlockFace face)
DirectionalsetFacingDirection 在接口中 Directionalface - The facing directionpublic BlockFace getFacing()
DirectionalgetFacing 在接口中 Directionalpublic java.lang.String toString()
toString 在类中 MaterialDatapublic Skull clone()
clone 在类中 MaterialData