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