custom loot table for decorated pot in structure

This should be pretty simple, but I can only find information on how to make loot tables for chests as well as this list in an online tool. Basically I have a structure within which I have 2 decorated pots and I want to make a custom loot table, so that each pot contains roughly 2 - 8 gold nuggets. Can I just use the chest template: { "type": "minecraft:chest", "pools": [ { "rolls": 8, "entries": [ { "type": "minecraft:item", "name": "minecraft:gold_nugget", "conditions": [ { "condition": "minecraft:random_chance", "chance": 0.5 } ] } ] } ] } and change the "chest" to decorated_pot or something like that? then do the / data modify block... before saving the structure file? Also how much will I have to change in the new version, or should I maybe immediately try to make it work for the new snapshot instead?

Continue to help post