Posted November 21, 201311 yr How do you close a GuiScreen? Code: http://pastebin.com/GRiyuW8c Only code when your having fun doing it.
November 21, 201311 yr Author currentScreen = null; how can i use that in my code? (example plz) Only code when your having fun doing it.
November 22, 201311 yr EntityPlayer#closeScreen(); Author of PneumaticCraft, MineChess, Minesweeper Mod and Sokoban Mod. Visit www.minemaarten.com to take a look at them.
November 22, 201311 yr Author i think this is the best way: this.mc.displayGuiScreen((GuiScreen)null); this.mc.setIngameFocus(); this.mc.sndManager.resumeAllSounds(); thanks for the help tough! Only code when your having fun doing it.
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.