- Update geometry component (#219)
* - Update geometry component * - Update geometry to use pattern * - Change regex
This commit is contained in:
@@ -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.",
|
"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": [
|
"oneOf": [
|
||||||
{
|
{
|
||||||
"type": "string"
|
"type": "string",
|
||||||
},
|
"pattern": "[a-zA-Z0-9_\\.:\\=]"
|
||||||
{
|
|
||||||
"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": "object",
|
"type": "object",
|
||||||
@@ -25,7 +15,8 @@
|
|||||||
"identifier": {
|
"identifier": {
|
||||||
"title": "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.",
|
"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": {
|
"bone_visibility": {
|
||||||
"title": "Bone Visibility",
|
"title": "Bone Visibility",
|
||||||
|
|||||||
Reference in New Issue
Block a user