Skip to content

Commit

Permalink
Updated block geometry
Browse files Browse the repository at this point in the history
  • Loading branch information
DaanV2 committed May 21, 2023
1 parent c7c9f67 commit 669f3f1
Showing 1 changed file with 27 additions and 1 deletion.
28 changes: 27 additions & 1 deletion source/behavior/blocks/format/components/geometry.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
}
}
]
}

0 comments on commit 669f3f1

Please sign in to comment.