NBT
Checks the NBT of the block entity.
Type ID: origins:nbt
Fields
Field | Type | Default | Description |
---|---|---|---|
nbt |
NBT | The NBT data to check for. |
Examples
"block_condition": {
"type": "origins:and",
"conditions": [
{
"type": "origins:block",
"block": "minecraft:beacon"
},
{
"type": "origins:nbt",
"nbt": "{Levels: 1}"
}
]
}
This example will check if Beacon block has a Level
value of 1.