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