public class GlowSkull extends GlowBlockState implements org.bukkit.block.Skull
data, typeId| Constructor and Description |
|---|
GlowSkull(GlowBlock block)
Creates the instance for the given block.
|
| Modifier and Type | Method and Description |
|---|---|
SkullEntity |
getBlockEntity() |
String |
getOwner() |
org.bukkit.OfflinePlayer |
getOwningPlayer() |
org.bukkit.block.BlockFace |
getRotation() |
org.bukkit.SkullType |
getSkullType() |
boolean |
hasOwner() |
boolean |
setOwner(String name) |
void |
setOwningPlayer(org.bukkit.OfflinePlayer offlinePlayer) |
void |
setRotation(org.bukkit.block.BlockFace rotation) |
void |
setSkullType(org.bukkit.SkullType type) |
boolean |
update(boolean force,
boolean applyPhysics) |
equals, getBlock, getChunk, getData, getLightLevel, getLocation, getLocation, getMetadata, getRawData, getType, getTypeId, getWorld, getX, getY, getZ, hashCode, hasMetadata, isFlowed, isPlaced, removeMetadata, setData, setFlowed, setMetadata, setRawData, setType, setTypeId, update, updateclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitpublic GlowSkull(GlowBlock block)
block - a head/skull blockpublic SkullEntity getBlockEntity()
public boolean update(boolean force,
boolean applyPhysics)
update in interface org.bukkit.block.BlockStateupdate in class GlowBlockStatepublic boolean hasOwner()
hasOwner in interface org.bukkit.block.Skullpublic String getOwner()
getOwner in interface org.bukkit.block.Skullpublic boolean setOwner(String name)
setOwner in interface org.bukkit.block.Skullpublic org.bukkit.OfflinePlayer getOwningPlayer()
getOwningPlayer in interface org.bukkit.block.Skullpublic void setOwningPlayer(org.bukkit.OfflinePlayer offlinePlayer)
setOwningPlayer in interface org.bukkit.block.Skullpublic void setSkullType(org.bukkit.SkullType type)
setSkullType in interface org.bukkit.block.Skullpublic org.bukkit.SkullType getSkullType()
getSkullType in interface org.bukkit.block.Skullpublic org.bukkit.block.BlockFace getRotation()
getRotation in interface org.bukkit.block.Skullpublic void setRotation(org.bukkit.block.BlockFace rotation)
setRotation in interface org.bukkit.block.SkullCopyright © 2021. All rights reserved.