public class DyedSerializer extends Object implements Serializer<Dyed>
| Modifier and Type | Field and Description |
|---|---|
static Serializer |
INSTANCE |
| Constructor and Description |
|---|
DyedSerializer() |
| Modifier and Type | Method and Description |
|---|---|
short |
readMetadata(Dyed data) |
Dyed |
writeMetadata(ItemType type,
short metadata) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitreadNBT, readNBT, writeNBTpublic static final Serializer INSTANCE
public short readMetadata(Dyed data)
readMetadata in interface Serializer<Dyed>public Dyed writeMetadata(ItemType type, short metadata)
writeMetadata in interface Serializer<Dyed>Copyright © 2017–2018 NukkitX. All rights reserved.