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

    Modifier and Type
    Method
    Description
     
    default com.google.gson.JsonObject
    getJson​(T value)
     
    read​(com.google.gson.JsonObject json)
     
    void
    write​(com.google.gson.JsonObject json, T value)
     
  • Method Details

    • write

      void write(com.google.gson.JsonObject json, T value)
    • read

      T read(com.google.gson.JsonObject json)
    • getID

    • getJson

      default com.google.gson.JsonObject getJson(T value)