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