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": { "properties": {
"item": { "type": "string", "title": "Item Identifier" }, "item": { "type": "string", "title": "Item Identifier" },
"price_multiplier": { "type": "number", "title": "Price Multiplier" }, "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": { "quantity": {
"title": "Quantity", "title": "Quantity",
"oneOf": [ "oneOf": [
@@ -40,8 +49,7 @@
} }
} }
] ]
}, }
"functions": { "$ref": "#/definitions/Functions" }
} }
} }
] ]

View File

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