NBT (Block Condition Type)

Checks the NBT of the block entity.

Checks the NBT of the block entity.

Type ID: apoli:nbt

Fields

FieldTypeDefaultDescription
nbtNBTThe NBT data to check for.

Examples

"block_condition": {
    "type": "apoli:and",
    "conditions": [
        {
            "type": "apoli:block",
            "block": "minecraft:beacon"
        },
        {
            "type": "apoli:nbt",
            "nbt": "{Levels: 1}"
        }
    ]
}

This example will check if Beacon block has a Level value of 1.