Is there a template for worldgen datapacks?

Minecrafts default world gen ever since 1.18 has duplicates of the same biome with identical settings on the biome noise, which makes working with it incredibly tedious as adding a new biome requires either mass deleting lines of code, or copying code between the duplicate code to ensure your changes are made and you have room to add a biome. This is just overly difficult for no reason and I don't get why mojang did this.

Continue to help post