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