Confused about structures, where do structure sets referenced to be placed into the world?

I'm working in a custom dimension, at the start vanilla structures were spawning but at some point of me adding more custom stuff they stopped. I can get structures to spawn if I make a custom structure set for them but I'm just confused why the vanilla structure sets arn't working. Where are they actually called from/how does the game know per dimension which structure sets to use?

Continue to help post