Files
minecraft-bedrock-json-schemas/source/behavior/blocks/format/components/geometry.json
Xterionix 3e00df700a - Update geometry component (#219)
* - Update geometry component

* - Update geometry to use pattern

* - Change regex
2024-03-12 08:13:16 +00:00

40 lines
1.6 KiB
JSON

{
"$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.",
"oneOf": [
{
"type": "string",
"pattern": "[a-zA-Z0-9_\\.:\\=]"
},
{
"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",
"pattern": "[a-zA-Z0-9_\\.:\\=]"
},
"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"
}
},
"culling": {
"title": "Block Culling Rule",
"description": "The description identifer of the block culling rule used to cull this block. This identifier must match an existing geometry identifier in any of the currently loaded resource packs.",
"type": "string"
}
}
}
]
}