diff options
author | alemi <me@alemi.dev> | 2023-03-12 02:13:45 +0100 |
---|---|---|
committer | alemi <me@alemi.dev> | 2023-03-12 02:13:45 +0100 |
commit | 28a7cb966037b0521009a6bd8467460e21b08031 (patch) | |
tree | f9f8dff777a245921e94dc4b5571145897017191 /src/main/java/ftbsc | |
parent | 3250a5ab3e3562875febb9cc9ef5b6fbfee418a1 (diff) |
fix: color change (storageesp), stages fix (time)
Diffstat (limited to 'src/main/java/ftbsc')
-rw-r--r-- | src/main/java/ftbsc/bscv/modules/hud/InfoDisplay.java | 8 | ||||
-rw-r--r-- | src/main/java/ftbsc/bscv/modules/vision/StorageESP.java | 6 |
2 files changed, 8 insertions, 6 deletions
diff --git a/src/main/java/ftbsc/bscv/modules/hud/InfoDisplay.java b/src/main/java/ftbsc/bscv/modules/hud/InfoDisplay.java index 96a8687..ed6ae44 100644 --- a/src/main/java/ftbsc/bscv/modules/hud/InfoDisplay.java +++ b/src/main/java/ftbsc/bscv/modules/hud/InfoDisplay.java @@ -205,9 +205,13 @@ public class InfoDisplay extends HudModule implements ICommons { private int getNextStep(long time) { if (time > 23000) return 24000; - if (time > 13000) return 23000; + if (time > 18500) return 23000; + if (time > 17500) return 18500; + if (time > 13000) return 17500; if (time > 12000) return 13000; - return 12000; + if (time > 6500) return 12000; + if (time > 5500) return 6500; + return 5500; } private final int TPS = 20; diff --git a/src/main/java/ftbsc/bscv/modules/vision/StorageESP.java b/src/main/java/ftbsc/bscv/modules/vision/StorageESP.java index e187b7a..975da95 100644 --- a/src/main/java/ftbsc/bscv/modules/vision/StorageESP.java +++ b/src/main/java/ftbsc/bscv/modules/vision/StorageESP.java @@ -7,9 +7,7 @@ import com.google.auto.service.AutoService; import com.mojang.blaze3d.matrix.MatrixStack; import com.mojang.blaze3d.systems.RenderSystem; -import ftbsc.bscv.ICommons; import ftbsc.bscv.api.ILoadable; -import ftbsc.bscv.modules.AbstractModule; import ftbsc.bscv.modules.QuickModule; import ftbsc.bscv.tools.Setting; import net.minecraft.client.renderer.BufferBuilder; @@ -41,13 +39,13 @@ import net.minecraftforge.common.ForgeConfigSpec; import net.minecraftforge.eventbus.api.SubscribeEvent; @AutoService(ILoadable.class) -public class StorageESP extends QuickModule implements ICommons { +public class StorageESP extends QuickModule { private static final Vector3f COLOR = new Vector3f(191.f/255.f, 97.f/255.f, 106.f/255.f); private static final Vector3f CHEST_COLOR = new Vector3f(255.f/255.f, 170.f/255.f, 0.f/255.f); private static final Vector3f ENDER_CHEST_COLOR = new Vector3f(170.f/255.f, 0.f/255.f, 170.f/255.f); private static final Vector3f SHULKER_COLOR = new Vector3f( 0.f/255.f, 170.f/255.f, 170.f/255.f); private static final Vector3f HOPPER_COLOR = new Vector3f(170.f/255.f, 170.f/255.f, 170.f/255.f); - private static final Vector3f FURNACE_COLOR = new Vector3f(255.f/255.f, 85.f/255.f, 85.f/255.f); + private static final Vector3f FURNACE_COLOR = new Vector3f( 85.f/255.f, 85.f/255.f, 85.f/255.f); private static final Vector3f DROPPER_COLOR = new Vector3f( 0.f/255.f, 170.f/255.f, 0.f/255.f); protected int getDefaultKey() { return UNBOUND; } |