Skip to content
This repository was archived by the owner on Nov 28, 2025. It is now read-only.

Commit a00885d

Browse files
committed
remove custom cloud height
as the setting is present in sodium extra
1 parent 68a5ef3 commit a00885d

File tree

2 files changed

+0
-13
lines changed

2 files changed

+0
-13
lines changed

src/main/java/io/github/axolotlclient/config/AxolotlClientConfig.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ public class AxolotlClientConfig {
2020
public final IntegerOption customTime = new IntegerOption("time", 0, 0, 24000);
2121
public final BooleanOption customSky = new BooleanOption("customSky", true);
2222
public final BooleanOption showSunMoon = new BooleanOption("showSunMoon", true);
23-
public final BooleanOption customCloudHeight = new BooleanOption("customCloudHeight", false);
24-
public final FloatOption cloudHeight = new FloatOption("cloudHeight", 100F, 512F, 192F);
2523
public final BooleanOption dynamicFOV = new BooleanOption("dynamicFov", true);
2624
public final BooleanOption fullBright = new BooleanOption("fullBright", false);
2725
public final IntegerOption chromaSpeed = new IntegerOption("chromaSpeed", 20, 10, 50);
@@ -103,8 +101,6 @@ public void init(){
103101

104102
rendering.add(customSky);
105103
rendering.add(showSunMoon);
106-
rendering.add(customCloudHeight);
107-
rendering.add(cloudHeight);
108104
rendering.add(chromaSpeed);
109105
rendering.add(dynamicFOV);
110106
rendering.add(fullBright);

src/main/java/io/github/axolotlclient/mixin/MixinWorldRenderer.java

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -186,15 +186,6 @@ public void renderCustomSky(MatrixStack matrices, Matrix4f projectionMatrix, flo
186186
}
187187
}
188188

189-
@Redirect(method = "renderClouds(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/util/math/Matrix4f;FDDD)V", at = @At(value = "INVOKE", target = "Lnet/minecraft/client/render/SkyProperties;getCloudsHeight()F"))
190-
public float customCloudHeight(SkyProperties instance){
191-
192-
if(AxolotlClient.CONFIG.customCloudHeight.get()) {
193-
return AxolotlClient.CONFIG.cloudHeight.get();
194-
}
195-
return instance.getCloudsHeight();
196-
}
197-
198189
@ModifyArgs(method = "drawBlockOutline", at = @At(value = "INVOKE", target = "Lnet/minecraft/client/render/WorldRenderer;drawShapeOutline(Lnet/minecraft/client/util/math/MatrixStack;Lcom/mojang/blaze3d/vertex/VertexConsumer;Lnet/minecraft/util/shape/VoxelShape;DDDFFFF)V"))
199190
public void customOutlineColor(Args args){
200191
if(AxolotlClient.CONFIG.enableCustomOutlines.get()){

0 commit comments

Comments
 (0)