public final class SoundRegistrySerializer extends java.lang.Object implements JsonResourceSerializer<team.unnamed.creative.sound.SoundRegistry>
| Modifier and Type | Field and Description |
|---|---|
static SoundRegistrySerializer |
INSTANCE |
| Constructor and Description |
|---|
SoundRegistrySerializer() |
| Modifier and Type | Method and Description |
|---|---|
team.unnamed.creative.sound.SoundRegistry |
readFromTree(com.google.gson.JsonElement node,
java.lang.String namespace) |
void |
serializeToJson(team.unnamed.creative.sound.SoundRegistry registry,
com.google.gson.stream.JsonWriter writer) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitserialize, serializeToJsonStringpublic static final SoundRegistrySerializer INSTANCE
public void serializeToJson(team.unnamed.creative.sound.SoundRegistry registry,
com.google.gson.stream.JsonWriter writer)
throws java.io.IOException
serializeToJson in interface JsonResourceSerializer<team.unnamed.creative.sound.SoundRegistry>java.io.IOExceptionpublic team.unnamed.creative.sound.SoundRegistry readFromTree(com.google.gson.JsonElement node,
java.lang.String namespace)