Posted April 10, 201411 yr Is there anyway to stop the game from pausing in a GuiScreen? package poop.gui; import net.minecraft.client.gui.GuiScreen; import net.minecraft.client.resources.I18n; import net.minecraft.util.EnumChatFormatting; import net.minecraft.util.ResourceLocation; import org.lwjgl.opengl.GL11; import poop.Poop; public class GuiPooping extends GuiScreen { public static final ResourceLocation TEXTURE = new ResourceLocation("poop:textures/gui/icons.png"); @Override public void drawScreen(int par1, int par2, float par3) { this.drawDefaultBackground(); GL11.glPushMatrix(); GL11.glScalef(2.0F, 2.0F, 2.0F); this.drawCenteredString(this.fontRendererObj, EnumChatFormatting.YELLOW + I18n.format("gui.pooping", new Object[0]), this.width / 2 / 2, 30, 16777215); GL11.glPopMatrix(); GL11.glPushMatrix(); GL11.glScalef(1.5F, 1.5F, 1.5F); this.drawCenteredString(this.fontRendererObj, EnumChatFormatting.YELLOW + I18n.format("gui.ready", new Object[0]) + Poop.countDown + "...", this.width / 2 / 2, 50, 16777215); GL11.glPopMatrix(); this.mc.getTextureManager().bindTexture(TEXTURE); this.drawTexturedModalRect((this.width - 256) / 2, ((this.height - 10) / 2) + this.height / 4, 0, 0, 256, 10); } } Kain
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.