public interface IConditionSerializer<T extends ICondition>
Modifier and Type | Method and 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) |
void write(com.google.gson.JsonObject json, T value)
T read(com.google.gson.JsonObject json)
ResourceLocation getID()
default com.google.gson.JsonObject getJson(T value)