BlockState, Metadatablepublic interface Skull extends BlockState
| Modifier and Type | Method | Description | 
|---|---|---|
java.lang.String | 
getOwner() | 
 Deprecated.
 
See  
getOwningPlayer(). | 
OfflinePlayer | 
getOwningPlayer() | 
 Get the player which owns the skull. 
 | 
BlockFace | 
getRotation() | 
 Deprecated.
 
use  
BlockData | 
SkullType | 
getSkullType() | 
 Deprecated.
 
check  
Material instead | 
boolean | 
hasOwner() | 
 Checks to see if the skull has an owner 
 | 
boolean | 
setOwner(java.lang.String name) | 
 Deprecated.
 
 | 
void | 
setOwningPlayer(OfflinePlayer player) | 
 Set the player which owns the skull. 
 | 
void | 
setRotation(BlockFace rotation) | 
 Deprecated.
 
use  
BlockData | 
void | 
setSkullType(SkullType skullType) | 
 Deprecated.
 
check  
Material instead | 
getBlock, getBlockData, getChunk, getData, getLightLevel, getLocation, getLocation, getRawData, getType, getWorld, getX, getY, getZ, isPlaced, setBlockData, setData, setRawData, setType, update, update, updategetMetadata, hasMetadata, removeMetadata, setMetadataboolean hasOwner()
@Deprecated java.lang.String getOwner()
getOwningPlayer().@Deprecated boolean setOwner(java.lang.String name)
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 player@Deprecated BlockFace getRotation()
BlockData@Deprecated void setRotation(BlockFace rotation)
BlockDatarotation - the rotation of the skull@Deprecated SkullType getSkullType()
Material insteadCopyright © 2018. All rights reserved.