fix transparent skin in edit profile lol

This commit is contained in:
ThisIsALegitUsername 2023-04-03 08:36:24 -06:00
parent f10c82c8f4
commit 9230979326
3 changed files with 7 additions and 1 deletions

View File

@ -49,10 +49,10 @@ public class SkinPreviewRenderer {
break; break;
} }
GlStateManager.color(1.0f, 1.0f, 1.0f, 1.0f);
GlStateManager.enableTexture2D(); GlStateManager.enableTexture2D();
GlStateManager.disableBlend(); GlStateManager.disableBlend();
GlStateManager.disableCull(); GlStateManager.disableCull();
GlStateManager.color(1.0f, 1.0f, 1.0f, 1.0f);
GlStateManager.pushMatrix(); GlStateManager.pushMatrix();
GlStateManager.translate(x, y - 80.0f, 100.0f); GlStateManager.translate(x, y - 80.0f, 100.0f);

View File

@ -28,6 +28,7 @@ import dev.resent.module.base.ModManager;
import dev.resent.module.impl.misc.AdminRay; import dev.resent.module.impl.misc.AdminRay;
import dev.resent.util.misc.W; import dev.resent.util.misc.W;
import dev.resent.visual.ui.clickgui.PreGUI; import dev.resent.visual.ui.clickgui.PreGUI;
import dev.resent.visual.ui.clickgui.rewrite.ClickGuiRewrite;
import net.lax1dude.eaglercraft.v1_8.Display; import net.lax1dude.eaglercraft.v1_8.Display;
import net.lax1dude.eaglercraft.v1_8.EagRuntime; import net.lax1dude.eaglercraft.v1_8.EagRuntime;
import net.lax1dude.eaglercraft.v1_8.EagUtils; import net.lax1dude.eaglercraft.v1_8.EagUtils;
@ -1381,6 +1382,10 @@ public class Minecraft implements IThreadListener {
this.renderGlobal.loadRenderers(); this.renderGlobal.loadRenderers();
} }
if(k == KeyboardConstants.KEY_0) {
this.displayGuiScreen(new ClickGuiRewrite());
}
if (k == 32 && Keyboard.isKeyDown(61) && this.ingameGUI != null) { if (k == 32 && Keyboard.isKeyDown(61) && this.ingameGUI != null) {
this.ingameGUI.getChatGUI().clearChatMessages(); this.ingameGUI.getChatGUI().clearChatMessages();
} }

View File

@ -77,6 +77,7 @@ public class ModelBiped extends ModelBase {
* model. * model.
*/ */
public void render(Entity entity, float f, float f1, float f2, float f3, float f4, float f5) { public void render(Entity entity, float f, float f1, float f2, float f3, float f4, float f5) {
GlStateManager.color(1.0f, 1.0f, 1.0f, 1.0f);
this.setRotationAngles(f, f1, f2, f3, f4, f5, entity); this.setRotationAngles(f, f1, f2, f3, f4, f5, entity);
GlStateManager.pushMatrix(); GlStateManager.pushMatrix();
if (this.isChild) { if (this.isChild) {