Skip to content

Block Bounds

Provides the shape of a block as a box.

Type ID: kaya:block/bounds

Format

Field Type Default Description
shape_type Shape Type Determines which type of shape of the block should be queried.
block Block Provider The block to get its shape transformed into a block from.

Example

{
    "type": "kaya:block/bounds",
    "shape_type": "outline",
    "block": "used_block"
}

This example provides the shape transformed into a box of the block provided by the kaya:used_block context parameter.

History

Minecraft Mod Changelog
1.21.5 0.1.0 Added the type.