Bone Meal
Applies bone meal to blocks on a position.
Type ID: kaya:bone_meal
Format
| Field | Type | Default | Description |
|---|---|---|---|
position |
Vec3 Provider | The position to apply a bone meal to. | |
show_effects |
Boolean Provider | true |
Determines whether to show the particle effects when bone meal is applied. |
offset_direction |
Direction Provider | optional | If specified, bone meal will be applied to the block at the position offset by this direction if the initial bone meal application failed. |
Example
{
"type": "kaya:bone_meal",
"position": {
"type": "kaya:block/position",
"block": "used_block"
},
"offset_direction": {
"type": "kaya:context",
"parameter": "used_side"
}
}
This example will attempt to apply bone meal to the block provided by the kaya:used_block context parameter. If it fails, it will apply the bone meal at the block offset by the direction provided by the kaya:used_side context parameter instead.
History
| Minecraft | Mod | Changelog |
| 1.21.5 | 0.1.0 | Added the type. |