Class OrCondition.Serializer
- java.lang.Object
-
- net.minecraftforge.common.crafting.conditions.OrCondition.Serializer
-
- All Implemented Interfaces:
IConditionSerializer<OrCondition>
- Enclosing class:
- OrCondition
public static class OrCondition.Serializer extends java.lang.Object implements IConditionSerializer<OrCondition>
-
-
Field Summary
Fields Modifier and Type Field Description static OrCondition.Serializer
INSTANCE
-
Constructor Summary
Constructors Constructor Description Serializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceLocation
getID()
OrCondition
read(com.google.gson.JsonObject json)
void
write(com.google.gson.JsonObject json, OrCondition value)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.minecraftforge.common.crafting.conditions.IConditionSerializer
getJson
-
-
-
-
Field Detail
-
INSTANCE
public static final OrCondition.Serializer INSTANCE
-
-
Method Detail
-
write
public void write(com.google.gson.JsonObject json, OrCondition value)
- Specified by:
write
in interfaceIConditionSerializer<OrCondition>
-
read
public OrCondition read(com.google.gson.JsonObject json)
- Specified by:
read
in interfaceIConditionSerializer<OrCondition>
-
getID
public ResourceLocation getID()
- Specified by:
getID
in interfaceIConditionSerializer<OrCondition>
-
-