Class TrueCondition.Serializer
- java.lang.Object
-
- net.minecraftforge.common.crafting.conditions.TrueCondition.Serializer
-
- All Implemented Interfaces:
IConditionSerializer<TrueCondition>
- Enclosing class:
- TrueCondition
public static class TrueCondition.Serializer extends java.lang.Object implements IConditionSerializer<TrueCondition>
-
-
Field Summary
Fields Modifier and Type Field Description static TrueCondition.Serializer
INSTANCE
-
Constructor Summary
Constructors Constructor Description Serializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceLocation
getID()
TrueCondition
read(com.google.gson.JsonObject json)
void
write(com.google.gson.JsonObject json, TrueCondition 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 TrueCondition.Serializer INSTANCE
-
-
Method Detail
-
write
public void write(com.google.gson.JsonObject json, TrueCondition value)
- Specified by:
write
in interfaceIConditionSerializer<TrueCondition>
-
read
public TrueCondition read(com.google.gson.JsonObject json)
- Specified by:
read
in interfaceIConditionSerializer<TrueCondition>
-
getID
public ResourceLocation getID()
- Specified by:
getID
in interfaceIConditionSerializer<TrueCondition>
-
-