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