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