Skip to content

Inflate

Expands the bounds of the box towards all directions of the specified axes.

Type ID: kaya:inflate

Format

Field Type Default Description
box Box Provider The box to inflate.
vector Vec3 Provider The vector to use for inflating the box.

Example

{
    "type": "kaya:inflate",
    "box": {
        "type": "kaya:entity/bounds",
        "entity": "this"
    },
    "vector": [
        1.0,
        1.0,
        1.0
    ]
}

This example provides the bounding box of the entity provided by the kaya:this_entity context parameter and inflates it by 1 block.

History

Minecraft Mod Changelog
1.21.5 0.1.0 Added the type.