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, wait
decodeMeta, dependencies, encodeMeta
public ColorMetaImpl()
public void setColor(SubstanceColor color)
ColorMeta
public SubstanceColor color()
ColorMeta
public Substance[] applyTo(MetaCollection collection)
Meta
public Meta<Block> decode(Block instance, float yaw, byte direction, byte cx, byte cy, byte cz, short damageValue)
BlockMeta
public byte encode()
BlockMeta
Copyright © 2016. All rights reserved.