package net.minecraft.client.gui; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; @SideOnly(Side.CLIENT) public class GuiErrorScreen extends GuiScreen { /** * Unused class. Would contain a message drawn to the center of the screen. */ private String message1; /** * Unused class. Would contain a message drawn to the center of the screen. */ private String message2; public GuiErrorScreen(){} /** * Draws the screen and all the components in it. */ public void drawScreen(int par1, int par2, float par3) { this.drawGradientRect(0, 0, this.width, this.height, -12574688, -11530224); this.drawCenteredString(this.fontRenderer, this.message1, this.width / 2, 90, 16777215); this.drawCenteredString(this.fontRenderer, this.message2, this.width / 2, 110, 16777215); super.drawScreen(par1, par2, par3); } /** * Fired when a key is typed. This is the equivalent of KeyListener.keyTyped(KeyEvent e). */ protected void keyTyped(char par1, int par2) {} }