fix transparent skin in edit profile lol
This commit is contained in:
parent
f10c82c8f4
commit
9230979326
|
@ -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);
|
||||||
|
|
|
@ -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;
|
||||||
|
@ -1380,6 +1381,10 @@ public class Minecraft implements IThreadListener {
|
||||||
ModManager.adminRay.setEnabled(!ModManager.adminRay.isEnabled());
|
ModManager.adminRay.setEnabled(!ModManager.adminRay.isEnabled());
|
||||||
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();
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user