Expand block reference schema (#121)

* Fix typo in module name
* Add sound_event schema and add it where appropriate
* Add more fields to block reference and fill some missing fields
* Use molang definition for tags
This commit is contained in:
Piotr Brzozowski
2022-10-06 13:03:40 +02:00
committed by GitHub
parent c66168de3c
commit 4b7a779f2c
17 changed files with 115 additions and 25 deletions

View File

@@ -4,5 +4,12 @@
"description": "Sets this block to another block type.",
"title": "Set Block",
"additionalProperties": false,
"properties": { "block_type": { "type": "string", "default": "", "description": "The type of block to set.", "title": "Block Type" } }
"properties": {
"block_type": {
"$ref": "../../../../general/block/reference.json",
"default": "",
"description": "The type of block to set.",
"title": "Block Type"
}
}
}

View File

@@ -16,6 +16,11 @@
{ "type": "number", "title": "Z", "description": "The z offset from the block's center." }
]
},
"block_type": { "type": "string", "default": "", "description": "The type of block to set.", "title": "Block Type" }
"block_type": {
"$ref": "../../../../general/block/reference.json",
"default": "",
"description": "The type of block to set.",
"title": "Block Type"
}
}
}