mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-11-28 08:44:50 +00:00
IrisGeneratorStyle gets the seed field the IrisApi style has. A seeded
style is built from splitMix(worldSeed ^ splitMix(seed)) instead of the
caller's random, so every style with the same seed and shape shares one
noise per world. Material palettes and child biomes read a seeded style
in plain blocks (no palette zoom, no childShrinkFactor).
Tests: the factory ignores the asked seed and follows the world seed;
the decorator chance gate and palette layers read seeded styles flat
(module code, tested here as the other module tests are).
Ported from v3e a1bd24186 and 1be1795e6. IrisApi 2914ed1.