Blockstate based Loot Tables

So, I got the recipe down, making 4 armadillo scute craft an Armadillo Scute Block, which is a mud brick slab with the blockstates of type:double & waterlogged:true. I tried figuring out the loot table drop using Misode's Loot Table Generator and got confused with how the formatting works. What I am going for is regular mud brick slabs and double slabs having their normal drops, but I want the waterlogged double variant to drop 4 armadillo scute. Here's what I got from my attempt: { "type": "minecraft:block", "pools": [ { "bonus_rolls": 0, "entries": [ { "type": "minecraft:item", "name": "minecraft:armadillo_scute", "functions": [ { "function": "minecraft:set_count", "count": 4, "conditions": [ { "condition": "minecraft:block_state_property", "block": "minecraft:mud_brick_slab", "properties": { "type": "double", "waterlogged": "true" } } ] } ] }, { "type": "minecraft:item", "functions": [ { "add": false, "conditions": [ { "block": "minecraft:mud_brick_slab", "condition": "minecraft:block_state_property", "properties": { "type": "double", "waterlogged": "false" } } ], "count": 2, "function": "minecraft:set_count" }, { "function": "minecraft:explosion_decay" } ], "name": "minecraft:mud_brick_slab" } ], "rolls": 1 } ], "random_sequence": "minecraft:blocks/mud_brick_slab" }
Continue to help post