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, update
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
public GlowSign(GlowBlock block)
block
- a sign block (wall or post)public String[] getLines()
getLines
in interface org.bukkit.block.Sign
public String getLine(int index) throws IndexOutOfBoundsException
getLine
in interface org.bukkit.block.Sign
IndexOutOfBoundsException
public void setLine(int index, String line) throws IndexOutOfBoundsException
setLine
in interface org.bukkit.block.Sign
IndexOutOfBoundsException
public boolean update(boolean force, boolean applyPhysics)
update
in interface org.bukkit.block.BlockState
update
in class GlowBlockState
Copyright © 2021. All rights reserved.