Box
Defines an area that's based from the provided box.
Type: kaya:box
Format
| Field | Type | Default | Description |
|---|---|---|---|
box |
Box Provider | The box to use as the area. |
Example
{
"type": "kaya:box",
"target": "block",
"shape": "sphere",
"box": {
"type": "kaya:inflate",
"box": {
"type": "kaya:entity/bounds",
"entity": "this"
},
"vector": [
4.0,
4.0,
4.0
]
}
}
This example will provide an area based on the bounding box of the entity provided by the kaya:this_entity context parameter (inflated by 4 blocks in all directions) that will only target blocks.
History
| Minecraft | Mod | Changelog |
| 1.21.5 | 0.1.0 | Added the type. |