public class GlowSign extends GlowBlockState implements org.bukkit.block.Sign
data, typeId| Constructor and Description |
|---|
GlowSign(GlowBlock block)
Creates the instance for the given sign block.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getLine(int index) |
String[] |
getLines() |
void |
setLine(int index,
String line) |
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 GlowSign(GlowBlock block)
block - a sign block (wall or post)public String[] getLines()
getLines in interface org.bukkit.block.Signpublic String getLine(int index) throws IndexOutOfBoundsException
getLine in interface org.bukkit.block.SignIndexOutOfBoundsExceptionpublic void setLine(int index,
String line)
throws IndexOutOfBoundsException
setLine in interface org.bukkit.block.SignIndexOutOfBoundsExceptionpublic boolean update(boolean force,
boolean applyPhysics)
update in interface org.bukkit.block.BlockStateupdate in class GlowBlockStateCopyright © 2021. All rights reserved.