Custom (modded?) NBT on item in loot table.

So I am using the Timeless and Classics Zero mod for my modpack, all the guns have an nbt named GunId and i want to create a loot table including those guns. What do i put in functions to get this certain nbt?

Continue to help post