Cloneable, DirectionalBlockData.@Deprecated public class Skull extends MaterialData implements Directional
| Constructor | Description | 
|---|---|
| Skull() | Deprecated.  | 
| Skull(BlockFace direction) | Deprecated.  Instantiate a skull facing in a particular direction. | 
| Skull(Material type) | Deprecated.  | 
| Skull(Material type,
     byte data) | Deprecated. 
 Magic value | 
| Modifier and Type | Method | Description | 
|---|---|---|
| Skull | clone() | Deprecated.  | 
| BlockFace | getFacing() | Deprecated.  Gets the direction this block is facing | 
| void | setFacingDirection(BlockFace face) | Deprecated.  Sets the direction that this block is facing in | 
| String | toString() | Deprecated.  | 
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 in interface Directionalface - The facing directionpublic BlockFace getFacing()
DirectionalgetFacing in interface Directionalpublic String toString()
toString in class MaterialDatapublic Skull clone()
clone in class MaterialDataCopyright © 2020. All rights reserved.