Editing loot tables of already existing entities

Im attempting to make a trader llama drop lava and water buckets on death, but copy and pasting the code seems to have either not worked, or completely unaffected it. My file location is in the namespace loottables and has the exact same name, trader_llama.json Do i need to put it in minecraft loottables or is there something wrong with my code? { "type": "minecraft:entity", "pools": [ { "bonus_rolls": 0.0, "entries": [ { "type": "minecraft:item", "functions": [ { "add": false, "count": { "type": "minecraft:uniform", "max": 2.0, "min": 0.0 }, "function": "minecraft:set_count" }, { "count": { "type": "minecraft:uniform", "max": 1.0, "min": 0.0 }, "function": "minecraft:looting_enchant" } ], "name": "minecraft:leather" }, { "type": "minecraft:item", "functions": [ { "add": false, "count": { "type": "minecraft:uniform", "max": 1.0, "min": 0.0, }, "function": "minecraft:set_count" }, { "count": { "type": "minecraft:uniform", "max": 0.0, "min": 0.0 }, "function": "minecraft:looting_enchant" } ], "name": "minecraft:lava_bucket" } ], "rolls": 1.0 } ], "random_sequence": "minecraft:entities/trader_llama" }
Continue to help post