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