Switch to an offset based cloud adjustment for World Providers that adjust it (#1962)

This commit is contained in:
Jason Mitchell authored and GitHub committed 2026-07-25 15:35:40 -07:00
1 parent 3f4995466c
commit 493b641d56
15 files changed
+48 -43

No files matched your search

@@ -490,7 +490,7 @@ public enum Mixins implements IMixins {
"clouds.MixinEntityRenderer",
"clouds.MixinGameSettings",
//"clouds.MixinRenderGlobal",
"clouds.MixinWorldType",
"clouds.MixinWorldProvider",
"fix.MixinRenderItem",
@@ -193,11 +193,6 @@ public class CloudRenderer implements IResourceManagerReloadListener {
scaleMult = cloudScaleMult;
cloudElevation = finiteCloudHeight ? (int) dimCloudHeight : 128;
// Allows the setting to work with RFG and similar without hardcoding.
// The minimum height check is so stuff like Aether cloud height doesn't get messed up.
if (cloudElevation >= 96) {
cloudElevation = (int) Settings.CLOUD_HEIGHT.option.getStore();
}
}
/**