Hijack Datapack System Instead
As of now, the temperature and humidity gradients are completely hardcoded. However, Minecraft offers a system for datapacks to use customized noise functions which could theoretically be hijacked to include parameters for the actual position within the world. I already created a feature request for exposing those values on Minecraft Feedback last year, but they seem to be ignoring it so far.
Such a system would offer much more flexibility:
- coordinates could be used to influence terrain height, which is impossible using the current system (trust me, I tried)
- the actual function could be altered in real-time using Minecraft's builtin Datapack system
- It's probably more portable due to the delicate type of Mixin used currently
Another thing to keep in mind is that this might break compatibility with worlds. When datapacks are changed, they generally require creating a whole new world, and the effect of this on worlds using the existing version of the mod remains to be determined.