Support molang strings in "bone_visibility" (#264)

This commit is contained in:
QuazChick
2024-04-01 09:56:09 +01:00
committed by GitHub
parent a4909877fd
commit 55d6a6bd10

View File

@@ -23,8 +23,8 @@
"description": "A list of bones that should be visible when rendering this block. If not specified, all bones will be visible.", "description": "A list of bones that should be visible when rendering this block. If not specified, all bones will be visible.",
"type": "object", "type": "object",
"additionalProperties": { "additionalProperties": {
"type": "boolean", "type": ["boolean", "string"],
"description": "Whether or not the bone should be visible.", "description": "Whether or not the bone should be visible. Can be defined as a boolean or a molang expression resulting in a boolean.",
"title": "Bone Visibility" "title": "Bone Visibility"
} }
}, },