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:
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user