Block
Provides a command source based from a block, where the position and name of the command source is the position and name of the block.
Type ID: kaya:block
Format
| Field | Type | Default | Description |
|---|---|---|---|
block |
Block Provider | The block to create the command source from. |
Example
This example provides a command source where its position and name used in the command source is the position and name of the block provided by the kaya:mined_block context parameter.
History
| Minecraft | Mod | Changelog |
| 1.21.5 | 0.1.0 | Added the type. |