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, update
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
public GlowSkull(GlowBlock block)
block
- a head/skull blockpublic SkullEntity getBlockEntity()
public boolean update(boolean force, boolean applyPhysics)
update
in interface org.bukkit.block.BlockState
update
in class GlowBlockState
public boolean hasOwner()
hasOwner
in interface org.bukkit.block.Skull
public String getOwner()
getOwner
in interface org.bukkit.block.Skull
public boolean setOwner(String name)
setOwner
in interface org.bukkit.block.Skull
public org.bukkit.OfflinePlayer getOwningPlayer()
getOwningPlayer
in interface org.bukkit.block.Skull
public void setOwningPlayer(org.bukkit.OfflinePlayer offlinePlayer)
setOwningPlayer
in interface org.bukkit.block.Skull
public void setSkullType(org.bukkit.SkullType type)
setSkullType
in interface org.bukkit.block.Skull
public org.bukkit.SkullType getSkullType()
getSkullType
in interface org.bukkit.block.Skull
public org.bukkit.block.BlockFace getRotation()
getRotation
in interface org.bukkit.block.Skull
public void setRotation(org.bukkit.block.BlockFace rotation)
setRotation
in interface org.bukkit.block.Skull
Copyright © 2021. All rights reserved.