Files
minecraft-bedrock-json-schemas/source/behavior/blocks/format/components/geometry.json

49 lines
1.9 KiB
JSON
Raw Normal View History

2021-08-22 00:15:58 +02:00
{
2022-06-07 21:39:02 +02:00
"$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.",
2023-05-21 17:37:39 +02:00
"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"]
}
}
},
2023-05-21 17:37:39 +02:00
{
"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"
},
"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"
2023-05-21 17:37:39 +02:00
}
}
}
]
2021-08-22 00:15:58 +02:00
}