bearbear12345

GuiDownloadComplete.java

Jul 27th, 2013
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 1.17 KB | None | 0 0
  1. package u.ra.l.bearbear12345.forge.Mod_Downloader;
  2.  
  3. import net.minecraft.client.gui.GuiScreen;
  4. import cpw.mods.fml.common.MissingModsException;
  5. import cpw.mods.fml.common.versioning.ArtifactVersion;
  6.  
  7. public class GuiDownloadComplete extends GuiScreen {
  8.  
  9.     @Override
  10.     /**
  11.      * Adds the buttons (and other controls) to the screen in question.
  12.      */
  13.     public void initGui() {
  14.         super.initGui();
  15.     }
  16.  
  17.     @Override
  18.     /**
  19.      * Draws the screen and all the components in it.
  20.      */
  21.     public void drawScreen(int par1, int par2, float par3) {
  22.         this.drawDefaultBackground();
  23.         int offset = Math.max(85 - /**/0/* modsMissing.missingMods.size() */ * 10, 10);
  24.         this.drawCenteredString(
  25.                 this.fontRenderer,
  26.                 "Forge Mod Loader has found a problem with your minecraft installation",
  27.                 this.width / 2, offset, 0xFFFFFF);
  28.         offset += 10;
  29.         this.drawCenteredString(this.fontRenderer,
  30.                 "The mods and versions listed below could not be found",
  31.                 this.width / 2, offset, 0xFFFFFF);
  32.         offset += 5;
  33.         offset += 20;
  34.         this.drawCenteredString(
  35.                 this.fontRenderer,
  36.                 "The file 'ForgeModLoader-client-0.log' contains more information",
  37.                 this.width / 2, offset, 0xFFFFFF);
  38.     }
  39. }
Add Comment
Please, Sign In to add comment