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