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 java.lang.Object implements IConditionSerializer<ItemExistsCondition>
-
-
Field Summary
Fields Modifier and Type Field Description static ItemExistsCondition.Serializer
INSTANCE
-
Constructor Summary
Constructors Constructor Description Serializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceLocation
getID()
ItemExistsCondition
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 Detail
-
INSTANCE
public static final ItemExistsCondition.Serializer INSTANCE
-
-
Method Detail
-
write
public void write(com.google.gson.JsonObject json, ItemExistsCondition value)
- Specified by:
write
in interfaceIConditionSerializer<ItemExistsCondition>
-
read
public ItemExistsCondition read(com.google.gson.JsonObject json)
- Specified by:
read
in interfaceIConditionSerializer<ItemExistsCondition>
-
getID
public ResourceLocation getID()
- Specified by:
getID
in interfaceIConditionSerializer<ItemExistsCondition>
-
-