Skip to content

Block Position

Provides the position of a block.

Type ID: kaya:block/position

Format

Field Type Default Description
block Block Provider The block to get the position from.

Example

{
    "type": "kaya:block/position",
    "block": "used_block"
}

This example provides the position of the block provided by the kaya:used_block context parameter.

History

Minecraft Mod Changelog
1.21.5 0.1.0 Added the type.