Class ModLoadedCondition.Serializer
java.lang.Object
net.minecraftforge.common.crafting.conditions.ModLoadedCondition.Serializer
- All Implemented Interfaces:
IConditionSerializer<ModLoadedCondition>
- Enclosing class:
- ModLoadedCondition
public static class ModLoadedCondition.Serializer
extends Object
implements IConditionSerializer<ModLoadedCondition>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetID()
read
(com.google.gson.JsonObject json) void
write
(com.google.gson.JsonObject json, ModLoadedCondition 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 Details
-
INSTANCE
-
-
Constructor Details
-
Serializer
public Serializer()
-
-
Method Details
-
write
- Specified by:
write
in interfaceIConditionSerializer<ModLoadedCondition>
-
read
- Specified by:
read
in interfaceIConditionSerializer<ModLoadedCondition>
-
getID
- Specified by:
getID
in interfaceIConditionSerializer<ModLoadedCondition>
-