Port 70% of rendering-related/hud mods

This commit is contained in:
ThisIsALegitUsername 2022-12-29 00:40:54 +00:00
parent 7cddbf7844
commit ee505e9daa

View File

@ -12,6 +12,7 @@ import com.google.common.base.Predicate;
import com.google.common.collect.Iterables; import com.google.common.collect.Iterables;
import com.google.common.collect.Lists; import com.google.common.collect.Lists;
import dev.resent.Resent;
import net.lax1dude.eaglercraft.v1_8.opengl.GlStateManager; import net.lax1dude.eaglercraft.v1_8.opengl.GlStateManager;
import net.lax1dude.eaglercraft.v1_8.opengl.WorldRenderer; import net.lax1dude.eaglercraft.v1_8.opengl.WorldRenderer;
import net.minecraft.block.material.Material; import net.minecraft.block.material.Material;
@ -208,6 +209,7 @@ public class GuiIngame extends Gui {
this.renderDemo(scaledresolution); this.renderDemo(scaledresolution);
} }
this.overlayDebug.renderDebugInfo(scaledresolution, partialTicks); this.overlayDebug.renderDebugInfo(scaledresolution, partialTicks);
if (this.recordPlayingUpFor > 0) { if (this.recordPlayingUpFor > 0) {
@ -313,6 +315,7 @@ public class GuiIngame extends Gui {
this.overlayPlayerList.renderPlayerlist(i, scoreboard, scoreobjective1); this.overlayPlayerList.renderPlayerlist(i, scoreboard, scoreobjective1);
} }
Resent.INSTANCE.modManager.renderMods();
GlStateManager.color(1.0F, 1.0F, 1.0F, 1.0F); GlStateManager.color(1.0F, 1.0F, 1.0F, 1.0F);
GlStateManager.disableLighting(); GlStateManager.disableLighting();
GlStateManager.enableAlpha(); GlStateManager.enableAlpha();