public static class ModLoadedCondition.Serializer extends java.lang.Object implements IConditionSerializer<ModLoadedCondition>
Modifier and Type | Field and Description |
---|---|
static ModLoadedCondition.Serializer |
INSTANCE |
Constructor and Description |
---|
Serializer() |
Modifier and Type | Method and Description |
---|---|
ResourceLocation |
getID() |
ModLoadedCondition |
read(com.google.gson.JsonObject json) |
void |
write(com.google.gson.JsonObject json,
ModLoadedCondition value) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getJson
public static final ModLoadedCondition.Serializer INSTANCE
public void write(com.google.gson.JsonObject json, ModLoadedCondition value)
write
in interface IConditionSerializer<ModLoadedCondition>
public ModLoadedCondition read(com.google.gson.JsonObject json)
read
in interface IConditionSerializer<ModLoadedCondition>
public ResourceLocation getID()
getID
in interface IConditionSerializer<ModLoadedCondition>