| Constructor and Description |
|---|
ColorMetaImpl() |
| Modifier and Type | Method and Description |
|---|---|
Substance[] |
applyTo(MetaCollection collection)
Invoked to register the meta tag
|
SubstanceColor |
color()
Obtains the current colouring of the wool
|
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 |
setColor(SubstanceColor color)
Sets the wool colour
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdecodeMeta, dependencies, encodeMetapublic ColorMetaImpl()
public void setColor(SubstanceColor color)
ColorMetapublic SubstanceColor color()
ColorMetapublic Substance[] applyTo(MetaCollection collection)
Metapublic Meta<Block> decode(Block instance, float yaw, byte direction, byte cx, byte cy, byte cz, short damageValue)
BlockMetapublic byte encode()
BlockMetaCopyright © 2016. All rights reserved.