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