This is written as a small appendix of my guide.

Coder makes helper codes which makes modding easier.
Of course, there are ones for terrain/biome modding.
Here is mine.

https://gist.github.com/AlphadoJaki/...0c79cad1c31426

Contains:
  • Some transformed value from world generation size
  • X coordinate module
  • Z coordinate module
  • Distance from southwest end module
  • Distance from center module