Block
Encodes the block as NBT and uses it as the provided value.
Type ID: kaya:block
Info
The block is encoded in the following format:
Format
| Field | Type | Default | Description |
|---|---|---|---|
block |
Block Provider | The block to encode as NBT. |
Example
This example encodes the block provided by the kaya:selected_block context parameter and provides it as the NBT value.
History
| Minecraft | Mod | Changelog |
| 1.21.5 | 0.1.0 | Added the type. |