Noise, Climate & Biome Surface Rules#35
Noise, Climate & Biome Surface Rules#35Rebel459 wants to merge 3 commits intoTerraformersMC:1.21.11from
Conversation
|
I should also add that, where possible, more expensive checks are calculated and preserved per-column, which drastically improves worldgen performance compared to without, ensuring that performance is still decent without c2me even when using lots of noise / climate checks that are applied to all biomes |
|
Finished up porting over the climate command |
|
BTW I see this and I'm interested in it; I've just got a lot on the modding plate right now because of all the changes for 26.1. I will circle back around to this PR at some point. |
|
All good! If you’d like, I can also make a separate PR for 26.1 / MojMap as the latter is what I originally made this in. |
|
Yes that would save me some work, although I haven't done a technical review of this PR yet, so I don't know if I'll ask for changes. |
|
In that case I’ll wait and help out with mojmap afterwards |
I'm relatively new to surface rules but after spending over a dozen hours working them out, refactoring etc I'm quite happy with how these turned out.
I made these in mojmap but for this PR i've fully converted them to yarn. Codecs have been created for each so they're all fully data-driven too.
A class of helper methods to better access them in mod code was created, too. Open to any feedback, improvements etc.
Features:
BiomeRules
ClimateRules
NoiseRules
MiscRules
BiolithSurfaceRules
BiomeParameters
You can see examples of all this in use from the project this work was derived from, which is a biome mod I'm currently working on: https://github.com/Rebel459/bloom