From 669f3f14fc69326cd97969ce60771e431d0fa3de Mon Sep 17 00:00:00 2001 From: DaanV2 Date: Sun, 21 May 2023 17:37:39 +0200 Subject: [PATCH] Updated block geometry --- .../blocks/format/components/geometry.json | 28 ++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/source/behavior/blocks/format/components/geometry.json b/source/behavior/blocks/format/components/geometry.json index 9b058c3d..f7b83f94 100644 --- a/source/behavior/blocks/format/components/geometry.json +++ b/source/behavior/blocks/format/components/geometry.json @@ -2,5 +2,31 @@ "$id": "blockception.minecraft.behavior.blocks.minecraft.geometry", "title": "Geometry", "description": "The description identifier of the geometry file to use to render this block. This identifier must match an existing geometry identifier in any of the currently loaded resource packs.", - "type": "string" + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "additionalProperties": false, + "required": ["identifier"], + "properties": { + "identifier": { + "title": "Identifier", + "description": "The description identifier of the geometry file to use to render this block. This identifier must match an existing geometry identifier in any of the currently loaded resource packs.", + "type": "string" + }, + "bone_visibility": { + "title": "Bone Visibility", + "description": "A list of bones that should be visible when rendering this block. If not specified, all bones will be visible.", + "type": "object", + "additionalProperties": { + "type": "boolean", + "description": "Whether or not the bone should be visible.", + "title": "Bone Visibility" + } + } + } + } + ] }