public static class DamageSourcePropertiesLootCondition.Serializer extends Object implements JsonSerializer<DamageSourcePropertiesLootCondition>
Constructor and Description |
---|
Serializer() |
Modifier and Type | Method and Description |
---|---|
DamageSourcePropertiesLootCondition |
fromJson(JsonObject jsonObject,
JsonDeserializationContext jsonDeserializationContext) |
void |
toJson(JsonObject jsonObject,
DamageSourcePropertiesLootCondition damageSourcePropertiesLootCondition,
JsonSerializationContext jsonSerializationContext) |
public void toJson(JsonObject jsonObject, DamageSourcePropertiesLootCondition damageSourcePropertiesLootCondition, JsonSerializationContext jsonSerializationContext)
toJson
in interface JsonSerializer<DamageSourcePropertiesLootCondition>
public DamageSourcePropertiesLootCondition fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext)
fromJson
in interface JsonSerializer<DamageSourcePropertiesLootCondition>