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