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