Interface IConditionSerializer<T extends ICondition>
-
- All Known Implementing Classes:
AndCondition.Serializer
,FalseCondition.Serializer
,ItemExistsCondition.Serializer
,ModLoadedCondition.Serializer
,NotCondition.Serializer
,OrCondition.Serializer
,TagEmptyCondition.Serializer
,TrueCondition.Serializer
public interface IConditionSerializer<T extends ICondition>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ResourceLocation
getID()
default com.google.gson.JsonObject
getJson(T value)
T
read(com.google.gson.JsonObject json)
void
write(com.google.gson.JsonObject json, T value)
-
-
-
Method Detail
-
write
void write(com.google.gson.JsonObject json, T value)
-
read
T read(com.google.gson.JsonObject json)
-
getID
ResourceLocation getID()
-
getJson
default com.google.gson.JsonObject getJson(T value)
-
-