接口 IConditionSerializer<T extends ICondition>

所有已知实现类:
AndCondition.Serializer, FalseCondition.Serializer, ItemExistsCondition.Serializer, ModLoadedCondition.Serializer, NotCondition.Serializer, OrCondition.Serializer, TagEmptyCondition.Serializer, TrueCondition.Serializer

public interface IConditionSerializer<T extends ICondition>
  • 方法概要

    修饰符和类型
    方法
    说明
     
    default com.google.gson.JsonObject
    getJson(T value)
     
    read(com.google.gson.JsonObject json)
     
    void
    write(com.google.gson.JsonObject json, T value)
     
  • 方法详细资料

    • 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)