I want prevent the block drop for banners if the contain a specific banner pattern combination. I know there is the loot table condition location_check which can test the NBT of a block but I’m unsure about the right syntax. Do I need to specify the complete NBT of the block or is it sufficient to only provide a part of the nbt?
So condition so far:
"conditions": [
{
"condition": "minecraft:location_check",
"predicate": {
"block": {
"nbt": "{Patterns: [{Pattern: \"gra\", Color: 9}, {Pattern: \"cbo\", Color: 14}, {Pattern: \"glb\", Color: 15}, {Pattern: \"bts\", Color: 5}]}"
}
}
}
]