Struggling with loot tables
I'm currently trying to make drop loot tables for modded blocks and I cannot for the life of me figure out how to actually make it drop items. I can confirm that the game recognizes that the loot table exists, but it never actually drops any items when using the loot command to give me the loot table directly, and it just drops the block itself whenever I use the mine option. I've tried using a datapack generator, directly copying vanilla files, and copying modded files, but nothing has worked.
This is my current loot table json file:
"type": "minecraft:block", "pool": [{ "rolls": 1.0, "entries": [ { "type": "minecraft:item", "functions": [ { "add": false, "count": { "type": "minecraft:uniform", "max": 4.0, "min": 1.0 }, "function": "minecraft:set_count" } ], "name": "the_flesh_that_hates:piece_of_flesh" } ], "random_sequence": "the_flesh_that_hates:blocks/flesh_block" }] }```