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:
@@ -26,6 +26,11 @@
|
||||
"title": "State Value",
|
||||
"description": "The key of property is the name of the block state/property, the value must be the same as the block properties accepted values."
|
||||
}
|
||||
},
|
||||
"tags": {
|
||||
"$ref": "../../molang/string.json",
|
||||
"description": "[UNDOCUMENTED] A Molang expression ran against a block to match.",
|
||||
"examples": ["query.any_tag('wood')"]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"tags": {
|
||||
"type": "string",
|
||||
"$ref": "../../molang/string.json",
|
||||
"description": "[UNDOCUMENTED] A Molang expression ran against item or block to match.",
|
||||
"examples": ["query.any_tag('minecraft:is_tool')"]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user