Skip to content

Is Block Entity

Checks if a block is a block entity.

Type ID: kaya:is_block_entity

Format

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

Example

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

This example will check if the block provided by the kaya:used_block context parameter is a block entity.

History

Minecraft Mod Changelog
1.21.5 0.1.0 Added the type.