Add predicate mode

This commit is contained in:
Misode
2019-12-13 18:53:01 +01:00
parent d56b6d5495
commit 2ac16fd0e7
9 changed files with 77 additions and 43 deletions

View File

@@ -1,29 +1,41 @@
{
"root": {
"fields": [
{
"id": "type",
"type": "enum",
"translate": "table.type",
"translateValue": "table.type",
"default": "minecraft:generic",
"values": [
"minecraft:empty",
"minecraft:entity",
"minecraft:block",
"minecraft:chest",
"minecraft:fishing",
"minecraft:generic"
]
},
{
"id": "pools",
"type": "array",
"translate": "pool",
"values": "pool"
}
]
},
"roots": [
{
"id": "loot-table",
"title": "title.loot-table",
"description": "description.loot-table",
"fields": [
{
"id": "type",
"type": "enum",
"translate": "table.type",
"translateValue": "table.type",
"default": "minecraft:generic",
"values": [
"minecraft:empty",
"minecraft:entity",
"minecraft:block",
"minecraft:chest",
"minecraft:fishing",
"minecraft:generic"
]
},
{
"id": "pools",
"type": "array",
"translate": "pool",
"values": "pool"
}
]
},
{
"id": "predicate",
"title": "title.predicate",
"description": "description.predicate",
"type": "object",
"value": "condition"
}
],
"components": [
{
"id": "pool",