Making Datapack help pls

trying to make a data pack that adds loot tables, can anybody tell me how this works? heres some images I have, followed superchace's loot table and starter tutorials.

Continue to help post