public static class RandomChanceWithLootingLootCondition.Factory extends LootCondition.Factory<RandomChanceWithLootingLootCondition>
Modifier | Constructor and Description |
---|---|
protected |
Factory() |
Modifier and Type | Method and Description |
---|---|
RandomChanceWithLootingLootCondition |
fromJson(JsonObject jsonObject,
JsonDeserializationContext jsonDeserializationContext) |
void |
toJson(JsonObject jsonObject,
RandomChanceWithLootingLootCondition randomChanceWithLootingLootCondition,
JsonSerializationContext jsonSerializationContext) |
getConditionClass, getId
public void toJson(JsonObject jsonObject, RandomChanceWithLootingLootCondition randomChanceWithLootingLootCondition, JsonSerializationContext jsonSerializationContext)
toJson
in class LootCondition.Factory<RandomChanceWithLootingLootCondition>
public RandomChanceWithLootingLootCondition fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext)
fromJson
in class LootCondition.Factory<RandomChanceWithLootingLootCondition>