Added biome filterint to trades

This commit is contained in:
DaanV2
2022-04-20 12:29:44 +02:00
parent 7126dbd42e
commit 5360ca302e
2 changed files with 13 additions and 5 deletions

View File

@@ -26,6 +26,15 @@
"properties": {
"item": { "type": "string", "title": "Item Identifier" },
"price_multiplier": { "type": "number", "title": "Price Multiplier" },
"functions": { "$ref": "#/definitions/Functions" },
"biomes": {
"title": "Biomes",
"description": "UNDOCUMENTED",
"type": "array",
"items": {
"$ref": "../../general/biome_item.json"
}
},
"quantity": {
"title": "Quantity",
"oneOf": [
@@ -40,8 +49,7 @@
}
}
]
},
"functions": { "$ref": "#/definitions/Functions" }
}
}
}
]

View File

@@ -2,6 +2,8 @@
"$id": "blockception.minecraft.general.1.8.0.biome.item",
"type": "string",
"title": "Biome Name",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"enum": [
"animal",
"beach",
@@ -40,7 +42,5 @@
"taiga",
"the_end",
"warm"
],
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED"
]
}