We love lambads

This commit is contained in:
ThisIsALegitUsername 2023-02-11 21:17:01 +00:00
parent 4c6c0ee684
commit f4957201f6
4 changed files with 30290 additions and 30262 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@ -47,7 +47,6 @@ public class ModManager {
public static NoRain noRain = new NoRain();
public static DynamicFOV dynamicFOV = new DynamicFOV();
public static PotionHUD potionHud;
//public static NoHurtCam noHurtCam = new NoHurtCam();
public static Info coordinate;
public static FPS fps;
public static ReachDisplay reachDisplay;
@ -56,7 +55,6 @@ public class ModManager {
public static ComboCounter comboCounter = new ComboCounter();
public static Hitboxes hitboxes = new Hitboxes();
public static AutoRespawn autoRespawn;
//public static ChunkBorders chunkBorders;
public static NoParticles noParticles = new NoParticles();
public static Scoreboard scoreboard = new Scoreboard();
public static ClearChat clearChat = new ClearChat();
@ -97,20 +95,17 @@ public class ModManager {
register(noRain);
register(dynamicFOV);
register(sprint = new Sprint());
//register(noHurtCam);
register(autoGG = new AutoGG());
register(hitboxes);
//register(chunkBorders = new ChunkBorders());
register(noParticles);
register(scoreboard);
//register(selfNametag = new SelfNametag());
register(clearChat);
register(animations);
}
public ArrayList<Mod> modsInCategory(Category c){
ArrayList<Mod> inCat = (ArrayList<Mod>) this.modules.stream().filter(m -> m.getCategory() == c).collect(Collectors.toList());
return inCat;
}

View File

@ -316,11 +316,7 @@ public class GuiIngame extends Gui {
this.overlayPlayerList.renderPlayerlist(i, scoreboard, scoreobjective1);
}
for (Mod m : Resent.INSTANCE.modManager.modules) {
if (m.isEnabled() && m instanceof RenderMod && !(mc.currentScreen instanceof HUDConfigScreen)) {
((RenderMod) m).draw();
}
}
Resent.INSTANCE.modManager.modules.stream().filter(m -> m.isEnabled()).filter(RenderMod.class::isInstance).forEach(m -> ((RenderMod)m).draw());
GlStateManager.color(1.0F, 1.0F, 1.0F, 1.0F);
GlStateManager.disableLighting();