Skip to main content

In Tag (Block Condition Type)

Checks whether the block is in a block tag.

Type ID: apoli:in_tag

Fields

FieldTypeDefaultDescription
tagIdentifierrequiredThe ID of the block tag. The leading # is optional.

Examples

"block_condition": {
    "type": "apoli:in_tag",
    "tag": "minecraft:base_stone_overworld"
}

This checks whether the block is in the #minecraft:base_stone_overworld block tag (data/minecraft/tags/blocks/base_stone_overworld.json).