Skip to content

Commit

Permalink
- Update geometry component (#219)
Browse files Browse the repository at this point in the history
* - Update geometry component

* - Update geometry to use pattern

* - Change regex
  • Loading branch information
Xterionix authored Mar 12, 2024
1 parent 9fba6ca commit 3e00df7
Showing 1 changed file with 4 additions and 13 deletions.
17 changes: 4 additions & 13 deletions source/behavior/blocks/format/components/geometry.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,8 @@
"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.",
"oneOf": [
{
"type": "string"
},
{
"type": "object",
"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",
"enum": ["minecraft:geometry.full_block", "minecraft:geometry.cross"]
}
}
"type": "string",
"pattern": "[a-zA-Z0-9_\\.:\\=]"
},
{
"type": "object",
Expand All @@ -25,7 +15,8 @@
"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"
"type": "string",
"pattern": "[a-zA-Z0-9_\\.:\\=]"
},
"bone_visibility": {
"title": "Bone Visibility",
Expand Down

0 comments on commit 3e00df7

Please sign in to comment.