Change structure spawn conditions?

Hello! I'm wondering if any of these things are possible in a minecraft 1.21.1 datapack. 1. Normal villages spawn less frequently near spawn 2. Abandoned villages spawn more frequently OR replace normal villages near spawn 3. Removing loot structures near spawn or removing their useful items near spawn (if this is impossible, I'm fine with just changing the loot table) I will be using mods with this so if there are any mods that add more functionality to datapacks that would help with this, I am okay with using those.
Continue to help post