mirror of
https://github.com/GTNewHorizons/Angelica.git
synced 2026-11-27 23:46:01 +00:00
Switch to an offset based cloud adjustment for World Providers that adjust it (#1962)
This commit is contained in:
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();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user