Change gold generation in bastion structures

Hi, I would like to make each gold block in bastions less likely to appear, how could I do this? I was thinking that I could replace vanilla structure using the same folders than in the vanilla datapack, but I don't know exactly how to make the gold block less likely.

Continue to help post