|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.bukkit.material.MaterialData org.bukkit.material.Skull
public class Skull
Represents a skull.
Constructor Summary | |
---|---|
Skull()
|
|
Skull(BlockFace direction)
Instantiate a skull facing in a particular direction. |
|
Skull(int type)
Deprecated. Magic value |
|
Skull(int type,
byte data)
Deprecated. Magic value |
|
Skull(Material type)
|
|
Skull(Material type,
byte data)
Deprecated. Magic value |
Method Summary | |
---|---|
Skull |
clone()
|
BlockFace |
getFacing()
Gets the direction this block is facing |
void |
setFacingDirection(BlockFace face)
Sets the direction that this block is facing in |
String |
toString()
|
Methods inherited from class org.bukkit.material.MaterialData |
---|
equals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStack |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Skull()
public Skull(BlockFace direction)
direction
- the direction the skull's face is facing@Deprecated public Skull(int type)
public Skull(Material type)
@Deprecated public Skull(int type, byte data)
@Deprecated public Skull(Material type, byte data)
Method Detail |
---|
public void setFacingDirection(BlockFace face)
Directional
setFacingDirection
in interface Directional
face
- The facing directionpublic BlockFace getFacing()
Directional
getFacing
in interface Directional
public String toString()
toString
in class MaterialData
public Skull clone()
clone
in class MaterialData
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |