- Update geometry component (#219)

* - Update geometry component

* - Update geometry to use pattern

* - Change regex
This commit is contained in:
Xterionix
2024-03-12 13:13:16 +05:00
committed by GitHub
parent 9fba6ca184
commit 3e00df700a

View File

@@ -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",
@@ -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",