Constructor and Description |
---|
SignMetaImpl() |
Modifier and Type | Method and Description |
---|---|
Substance[] |
applyTo(MetaCollection collection)
Invoked to register the meta tag
|
Meta<Block> |
decode(Block instance,
float yaw,
byte direction,
byte cx,
byte cy,
byte cz,
short damageValue)
Decodes the block meta
|
byte |
encode()
Encodes the block metadata into a single byte, which is then combined with the rest of the metadata
|
Meta<Block> |
make()
Make a new instance of this meta object
|
void |
setTextAt(int index,
String text)
Sets the text at the index [0-3] to the provided text
|
String |
textAt(int index)
Obtains the text at the given index [0-3]
|
void |
update(Player player)
Causes the tile to be updated to the player provided
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
decodeMeta, dependencies, encodeMeta
public SignMetaImpl()
public String textAt(int index)
SignMeta
public void setTextAt(int index, String text)
SignMeta
public byte encode()
BlockMeta
public Meta<Block> decode(Block instance, float yaw, byte direction, byte cx, byte cy, byte cz, short damageValue)
BlockMeta
public Meta<Block> make()
Meta
public Substance[] applyTo(MetaCollection collection)
Meta
Copyright © 2016. All rights reserved.