public static class WeatherCheck.Serializer extends ILootCondition.AbstractSerializer<WeatherCheck>
Constructor and Description |
---|
Serializer() |
Modifier and Type | Method and Description |
---|---|
WeatherCheck |
deserialize(com.google.gson.JsonObject json,
com.google.gson.JsonDeserializationContext context) |
void |
serialize(com.google.gson.JsonObject json,
WeatherCheck value,
com.google.gson.JsonSerializationContext context) |
getConditionClass, getLootTableLocation
public void serialize(com.google.gson.JsonObject json, WeatherCheck value, com.google.gson.JsonSerializationContext context)
serialize
in class ILootCondition.AbstractSerializer<WeatherCheck>
public WeatherCheck deserialize(com.google.gson.JsonObject json, com.google.gson.JsonDeserializationContext context)
deserialize
in class ILootCondition.AbstractSerializer<WeatherCheck>