Skip to content

Is Block Replaceable

Checks if a block can be replaced by another block.

Type ID: kaya:is_block_replaceable

Format

Field Type Default Description
block Block Provider The block to check.

Example

{
    "type": "kaya:is_block_replaceable",
    "block": "used_block"
}

This example will check if the block provided by the kaya:used_block context parameter can be replaced.

History

Minecraft Mod Changelog
1.21.5 0.1.0 Added the type.