|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Skull
Represents a Skull
Method Summary | |
---|---|
String |
getOwner()
Gets the owner of the skull |
BlockFace |
getRotation()
Gets the rotation of the skull |
SkullType |
getSkullType()
Gets the type of skull |
boolean |
hasOwner()
Checks to see if the skull has an owner |
boolean |
setOwner(String name)
Sets the owner of the skull |
void |
setRotation(BlockFace rotation)
Sets the rotation of the skull |
void |
setSkullType(SkullType skullType)
Sets the type of skull |
Methods inherited from interface org.bukkit.block.BlockState |
---|
getBlock, getChunk, getData, getLightLevel, getLocation, getLocation, getRawData, getType, getTypeId, getWorld, getX, getY, getZ, setData, setRawData, setType, setTypeId, update, update |
Methods inherited from interface org.bukkit.metadata.Metadatable |
---|
getMetadata, hasMetadata, removeMetadata, setMetadata |
Method Detail |
---|
boolean hasOwner()
String getOwner()
boolean setOwner(String name)
name
- the new owner of the skull
BlockFace getRotation()
void setRotation(BlockFace rotation)
rotation
- the rotation of the skullSkullType getSkullType()
void setSkullType(SkullType skullType)
skullType
- the type of skull
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |