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