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