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