public class Leaves2Serializer extends Object implements Serializer<Leaves2>
| Modifier and Type | Field and Description |
|---|---|
static Serializer |
INSTANCE |
| Constructor and Description |
|---|
Leaves2Serializer() |
| Modifier and Type | Method and Description |
|---|---|
short |
readMetadata(Leaves2 metadata) |
Leaves2 |
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(Leaves2 metadata)
readMetadata in interface Serializer<Leaves2>public Leaves2 writeMetadata(ItemType type, short metadata)
writeMetadata in interface Serializer<Leaves2>Copyright © 2017–2018 NukkitX. All rights reserved.