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