Radius
Defines an area that's based on a position (as its center) and a radius.
Type: kaya:radius
Format
| Field | Type | Default | Description |
|---|---|---|---|
position |
Vec3 Provider | The center position of the area. | |
radius |
Float Provider | The radius of the area. |
Example
{
"type": "kaya:radius",
"target": "entity",
"shape": "star",
"position": {
"type": "kaya:block/position",
"block": "broken_block"
},
"radius": 8.0
}
This example will provide an area with a radius of 8.0 blocks relative to the position of the block provided by the kaya:broken_block context parameter that will target entities.
History
| Minecraft | Mod | Changelog |
| 1.21.5 | 0.1.0 | Added the type. |