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