public static class SetDamageLootFunction.Factory extends ConditionalLootFunction.Factory<SetDamageLootFunction>
Modifier | Constructor and Description |
---|---|
protected |
Factory() |
Modifier and Type | Method and Description |
---|---|
SetDamageLootFunction |
fromJson(JsonObject jsonObject,
JsonDeserializationContext jsonDeserializationContext,
LootCondition[] lootCondition) |
void |
toJson(JsonObject jsonObject,
SetDamageLootFunction setDamageLootFunction,
JsonSerializationContext jsonSerializationContext) |
fromJson
getFunctionClass, getId
public void toJson(JsonObject jsonObject, SetDamageLootFunction setDamageLootFunction, JsonSerializationContext jsonSerializationContext)
toJson
in class ConditionalLootFunction.Factory<SetDamageLootFunction>
public SetDamageLootFunction fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition)
fromJson
in class ConditionalLootFunction.Factory<SetDamageLootFunction>