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