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