fix: color change (storageesp), stages fix (time)
This commit is contained in:
parent
3250a5ab3e
commit
28a7cb9660
2 changed files with 8 additions and 6 deletions
|
@ -205,9 +205,13 @@ public class InfoDisplay extends HudModule implements ICommons {
|
||||||
|
|
||||||
private int getNextStep(long time) {
|
private int getNextStep(long time) {
|
||||||
if (time > 23000) return 24000;
|
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;
|
if (time > 12000) return 13000;
|
||||||
return 12000;
|
if (time > 6500) return 12000;
|
||||||
|
if (time > 5500) return 6500;
|
||||||
|
return 5500;
|
||||||
}
|
}
|
||||||
|
|
||||||
private final int TPS = 20;
|
private final int TPS = 20;
|
||||||
|
|
|
@ -7,9 +7,7 @@ import com.google.auto.service.AutoService;
|
||||||
import com.mojang.blaze3d.matrix.MatrixStack;
|
import com.mojang.blaze3d.matrix.MatrixStack;
|
||||||
import com.mojang.blaze3d.systems.RenderSystem;
|
import com.mojang.blaze3d.systems.RenderSystem;
|
||||||
|
|
||||||
import ftbsc.bscv.ICommons;
|
|
||||||
import ftbsc.bscv.api.ILoadable;
|
import ftbsc.bscv.api.ILoadable;
|
||||||
import ftbsc.bscv.modules.AbstractModule;
|
|
||||||
import ftbsc.bscv.modules.QuickModule;
|
import ftbsc.bscv.modules.QuickModule;
|
||||||
import ftbsc.bscv.tools.Setting;
|
import ftbsc.bscv.tools.Setting;
|
||||||
import net.minecraft.client.renderer.BufferBuilder;
|
import net.minecraft.client.renderer.BufferBuilder;
|
||||||
|
@ -41,13 +39,13 @@ import net.minecraftforge.common.ForgeConfigSpec;
|
||||||
import net.minecraftforge.eventbus.api.SubscribeEvent;
|
import net.minecraftforge.eventbus.api.SubscribeEvent;
|
||||||
|
|
||||||
@AutoService(ILoadable.class)
|
@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 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 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 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 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 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);
|
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; }
|
protected int getDefaultKey() { return UNBOUND; }
|
||||||
|
|
Loading…
Reference in a new issue