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