Files
minecraft-bedrock-json-schemas/source/behavior/blocks/format/components/geometry.json
2024-04-01 10:56:09 +02:00

40 lines
1.7 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", "string"],
"description": "Whether or not the bone should be visible. Can be defined as a boolean or a molang expression resulting in a boolean.",
"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"
}
}
}
]
}