public interface Skull extends BlockState
| Modifier and Type | Method and Description | 
|---|---|
| String | getOwner()Deprecated. 
 See  getOwningPlayer(). | 
| OfflinePlayer | getOwningPlayer()Get the player which owns the skull. | 
| BlockFace | getRotation()Gets the rotation of the skull in the world | 
| SkullType | getSkullType()Gets the type of skull | 
| boolean | hasOwner()Checks to see if the skull has an owner | 
| boolean | setOwner(String name)Deprecated. 
 | 
| void | setOwningPlayer(OfflinePlayer player)Set the player which owns the skull. | 
| void | setRotation(BlockFace rotation)Sets the rotation of the skull in the world | 
| void | setSkullType(SkullType skullType)Sets the type of skull | 
getBlock, getChunk, getData, getLightLevel, getLocation, getLocation, getRawData, getType, getTypeId, getWorld, getX, getY, getZ, isPlaced, setData, setRawData, setType, setTypeId, update, update, updategetMetadata, hasMetadata, removeMetadata, setMetadataboolean hasOwner()
@Deprecated String getOwner()
getOwningPlayer().@Deprecated boolean setOwner(String name)
setOwningPlayer(org.bukkit.OfflinePlayer).Involves a potentially blocking web request to acquire the profile data for the provided name.
name - the new owner of the skullOfflinePlayer getOwningPlayer()
void setOwningPlayer(OfflinePlayer player)
player - the owning playerBlockFace getRotation()
void setRotation(BlockFace rotation)
rotation - the rotation of the skullSkullType getSkullType()
void setSkullType(SkullType skullType)
skullType - the type of skullCopyright © 2016. All rights reserved.