MFF

    Minecraft Forge France
    • Récent
    • Mots-clés
    • Populaire
    • Utilisateurs
    • Groupes
    • Forge Events
      • Automatique
      • Foncé
      • Clair
    • S'inscrire
    • Se connecter

    Boutons de connexion à un serveur,Boutons de site

    Planifier Épinglé Verrouillé Déplacé Résolu 1.7.x
    1.7.10
    29 Messages 6 Publieurs 6.0k Vues 1 Watching
    Charger plus de messages
    • Du plus ancien au plus récent
    • Du plus récent au plus ancien
    • Les plus votés
    Répondre
    • Répondre à l'aide d'un nouveau sujet
    Se connecter pour répondre
    Ce sujet a été supprimé. Seuls les utilisateurs avec les droits d'administration peuvent le voir.
    • SCAREXS Hors-ligne
      SCAREX
      dernière édition par

      @SubscribeEvent
      public void onInitGuiEventAd(InitGuiEvent.Post event)
      {
      int i = event.gui.height /2 + 15;
      event.buttonList.add(new GuiButton(32, event.gui.width / 2 - 55, i + 24 * 2, 100, 20, "Site internet") {
      @Override
      public void mouseReleased(int x, int y) {
      
      }
      });
      
      ObfuscationReflectionHelper.setPrivateValue(GuiMainMenu.class, (GuiMainMenu) event.gui, "Bienvenue sur EnderDeath", "splashText", "field_73975_c"); // On modifie le SplashText
      
      }
      

      Il manque la condition au début de la fonction pour vérifier quel Gui tu veux modifier, c’est marqué dans le tuto il me semble

      Site web contenant mes scripts : http://SCAREXgaming.github.io

      Pas de demandes de support par MP ni par skype SVP.
      Je n'accepte sur skype que l…

      1 réponse Dernière réponse Répondre Citer 0
      • leo01418L Hors-ligne
        leo01418
        dernière édition par

        sa?

        if (event.gui instanceof GuiMainMenu) { 
        for (Object b : event.buttonList) {
        if (((GuiButton) b).id == 14) {
        ((GuiButton) b).visible = false; 
        }
        }
        

        Voila ma signature

        1 réponse Dernière réponse Répondre Citer 0
        • robin4002R Hors-ligne
          robin4002 Moddeurs confirmés Rédacteurs Administrateurs
          dernière édition par

          Utilises FMLClientHandler.instance().connectToServerAtStartup(“ip:port”);
          au lieu des deux fonctions actuelles.

          1 réponse Dernière réponse Répondre Citer 0
          • leo01418L Hors-ligne
            leo01418
            dernière édition par

            sa Crash toujours 
            ma classe

            package ed.enderdeathMenu.mod;
            
            import java.awt.Desktop;
            import java.io.BufferedReader;
            import java.io.IOException;
            import java.io.InputStreamReader;
            import java.net.URI;
            import java.net.URISyntaxException;
            import java.util.ArrayList;
            import java.util.Calendar;
            import java.util.Date;
            import java.util.List;
            import java.util.Random;
            
            import net.minecraft.client.Minecraft;
            import net.minecraft.client.gui.FontRenderer;
            import net.minecraft.client.gui.GuiButton;
            import net.minecraft.client.gui.GuiButtonLanguage;
            import net.minecraft.client.gui.GuiConfirmOpenLink;
            import net.minecraft.client.gui.GuiLanguage;
            import net.minecraft.client.gui.GuiMainMenu;
            import net.minecraft.client.gui.GuiMultiplayer;
            import net.minecraft.client.gui.GuiOptions;
            import net.minecraft.client.gui.GuiScreen;
            import net.minecraft.client.gui.GuiSelectWorld;
            import net.minecraft.client.gui.GuiYesNo;
            import net.minecraft.client.gui.GuiYesNoCallback;
            import net.minecraft.client.multiplayer.GuiConnecting;
            import net.minecraft.client.multiplayer.ServerData;
            import net.minecraft.client.renderer.OpenGlHelper;
            import net.minecraft.client.renderer.Tessellator;
            import net.minecraft.client.renderer.texture.DynamicTexture;
            import net.minecraft.client.resources.I18n;
            import net.minecraft.realms.RealmsBridge;
            import net.minecraft.util.EnumChatFormatting;
            import net.minecraft.util.MathHelper;
            import net.minecraft.util.ResourceLocation;
            import net.minecraft.world.demo.DemoWorldServer;
            import net.minecraft.world.storage.ISaveFormat;
            import net.minecraft.world.storage.WorldInfo;
            import net.minecraftforge.client.event.GuiScreenEvent.ActionPerformedEvent;
            import net.minecraftforge.client.event.GuiScreenEvent.InitGuiEvent;
            import net.minecraftforge.client.event.RenderGameOverlayEvent;
            import net.minecraftforge.common.MinecraftForge;
            
            import org.apache.commons.io.Charsets;
            import org.apache.logging.log4j.LogManager;
            import org.apache.logging.log4j.Logger;
            import org.lwjgl.opengl.GL11;
            import org.lwjgl.opengl.GLContext;
            
            import com.google.common.base.Strings;
            import com.google.common.collect.Lists;
            
            import cpw.mods.fml.client.FMLClientHandler;
            import cpw.mods.fml.common.FMLCommonHandler;
            import cpw.mods.fml.common.ObfuscationReflectionHelper;
            import cpw.mods.fml.common.eventhandler.SubscribeEvent;
            import cpw.mods.fml.relauncher.Side;
            import cpw.mods.fml.relauncher.SideOnly;
            
            @SideOnly(Side.CLIENT)
            public class GuiCustomMenu extends GuiScreen implements GuiYesNoCallback
            {
            private static String fpsString;
            private static final Logger logger = LogManager.getLogger();
              /** The RNG used by the Main Menu Screen. */
              private static final Random rand = new Random();
              /** Counts the number of screen updates. */
              private float updateCounter;
              /** The splash message. */
              private String splashText;
              private GuiButton buttonResetDemo;
              /** Timer used to rotate the panorama, increases every tick. */
              private int panoramaTimer;
              /**
               * Texture allocated for the current viewport of the main menu's panorama background.
               */
              private DynamicTexture viewportTexture;
              private final Object field_104025_t = new Object();
              private String field_92025_p;
              private String field_146972_A;
              private String field_104024_v;
              private static final ResourceLocation splashTexts = new ResourceLocation("texts/splashes.txt");
              private static final ResourceLocation minecraftTitleTextures = new ResourceLocation("textures/gui/title/minecraft.png");
            
              private final ResourceLocation backGround = new ResourceLocation("enderdeathMenu","textures/gui/menu.png"); // faut changer l'id du mod ici
            
              public static final String field_96138_a = "Please click " + EnumChatFormatting.UNDERLINE + "here" + EnumChatFormatting.RESET + " for more information.";
              private int field_92024_r;
              private int field_92023_s;
              private int field_92022_t;
              private int field_92021_u;
              private int field_92020_v;
              private int field_92019_w;
              private ResourceLocation field_110351_G;
            
              public GuiCustomMenu()
              {
                  this.field_146972_A = field_96138_a;
                  this.splashText = "missingno";
                  BufferedReader bufferedreader = null;
            
                  try
                  {
                      ArrayList arraylist = new ArrayList();
                      bufferedreader = new BufferedReader(new InputStreamReader(Minecraft.getMinecraft().getResourceManager().getResource(splashTexts).getInputStream(), Charsets.UTF_8));
                      String s;
            
                      while((s = bufferedreader.readLine()) != null)
                      {
                          s = s.trim();
            
                          if(!s.isEmpty())
                          {
                              arraylist.add(s);
                          }
                      }
            
                      if(!arraylist.isEmpty())
                      {
                          do
                          {
                              this.splashText = (String)arraylist.get(rand.nextInt(arraylist.size()));
                          }
                          while(this.splashText.hashCode() == 125780783);
                      }
                  }
                  catch(IOException ioexception1)
                  {
                      ;
                  }
                  finally
                  {
                      if(bufferedreader != null)
                      {
                          try
                          {
                              bufferedreader.close();
                          }
                          catch(IOException ioexception)
                          {
                              ;
                          }
                      }
                  }
            
                  this.updateCounter = rand.nextFloat();
                  this.field_92025_p = "";
            
                  if(!GLContext.getCapabilities().OpenGL20 && !OpenGlHelper.func_153193_b())
                  {
                      this.field_92025_p = I18n.format("title.oldgl1", new Object[0]);
                      this.field_146972_A = I18n.format("title.oldgl2", new Object[0]);
                      this.field_104024_v = "https://help.mojang.com/customer/portal/articles/325948?ref=game";
                  }
              }
            
              /**
               * Called from the main game loop to update the screen.
               */
              public void updateScreen()
              {
                  ++this.panoramaTimer;
              }
            
              /**
               * Returns true if this GUI should pause the game when it is displayed in single-player
               */
              public boolean doesGuiPauseGame()
              {
                  return false;
              }
            
              /**
               * Fired when a key is typed. This is the equivalent of KeyListener.keyTyped(KeyEvent e).
               */
            
              private void renderBackGround()
              {
                  GL11.glViewport(0, 0, 256, 256);
                  this.mc.getTextureManager().bindTexture(backGround); 
                  GL11.glDisable(GL11.GL_TEXTURE_2D);
                  GL11.glEnable(GL11.GL_TEXTURE_2D);
                  GL11.glViewport(0, 0, this.mc.displayWidth, this.mc.displayHeight);
                  Tessellator tessellator = Tessellator.instance;
                  tessellator.startDrawingQuads();
                  GL11.glTexParameteri(GL11.GL_TEXTURE_2D, GL11.GL_TEXTURE_MIN_FILTER, GL11.GL_LINEAR);
                  GL11.glTexParameteri(GL11.GL_TEXTURE_2D, GL11.GL_TEXTURE_MAG_FILTER, GL11.GL_LINEAR);
                  tessellator.setColorRGBA_F(1.0F, 1.0F, 1.0F, 1.0F);
                  int k = this.width;
                  int l = this.height;
                  tessellator.addVertexWithUV(0, 0, this.zLevel, 0, 0);
                  tessellator.addVertexWithUV(0, l, this.zLevel, 0, 1);
                  tessellator.addVertexWithUV(k, l, this.zLevel, 1, 1);
                  tessellator.addVertexWithUV(k, 0, this.zLevel, 1, 0);
                  tessellator.draw();
              }
            
                @SubscribeEvent
              public void onInitGuiEven(InitGuiEvent.Post event)
                 {
              if (event.gui instanceof GuiMainMenu) { // On regarde si le gui est bien le menu principal
              for (Object b : event.buttonList) { // On parcourt la liste des boutons
              if (((GuiButton) b).id == 2) { // Si c'est le bouton "Minecraft Realms" (qui a l'ID 14)
              ((GuiButton) b).visible = false; // On ne l'affiche plus
              }
              if (((GuiButton) b).id == 1) { // Si c'est le bouton "Minecraft Realms" (qui a l'ID 14)
              ((GuiButton) b).visible = false; // On ne l'affiche plus
              }
              if (((GuiButton) b).id == 6) { // Si c'est le bouton "Minecraft Realms" (qui a l'ID 14)
              ((GuiButton) b).visible = false; // On ne l'affiche plus
              }
              if (((GuiButton) b).id == 5) { // Si c'est le bouton "Minecraft Realms" (qui a l'ID 14)
              ((GuiButton) b).visible = false; // On ne l'affiche plus
              }
              if (((GuiButton) b).id == 0) { // Si c'est le bouton "Minecraft Realms" (qui a l'ID 14)
              ((GuiButton) b).visible = false; // On ne l'affiche plus
              }
            
              if (((GuiButton) b).id == 4) { // Si c'est le bouton "Minecraft Realms" (qui a l'ID 14)
              ((GuiButton) b).visible = false; // On ne l'affiche plus
              }
            
              }
            
              }
              }
                @SubscribeEvent
              public void onInitGuiEventF(final InitGuiEvent.Post event)
                 {
            
              int i = event.gui.height / 6 + 30; 
              event.buttonList.add(new GuiButton(60, event.gui.width / 2 - 100, i + 24 * 2, 175, 20, "Rejoindre le serveur") { 
              @Override
              public void mouseReleased(int x, int y) { 
            
              }
            
              });
              ObfuscationReflectionHelper.setPrivateValue(GuiMainMenu.class, (GuiMainMenu) event.gui, "Bienvenue sur EnderDeath", "splashText", "field_73975_c");
            
              }
            
                @SubscribeEvent
            public void onInitGuiEventA(InitGuiEvent.Post event)
                {
            if (event.gui instanceof GuiMainMenu) { 
            for (Object b : event.buttonList) {
            if (((GuiButton) b).id == 14) {
            ((GuiButton) b).visible = false; 
            }
            }
            int i = event.gui.height / 3 + 25;
            event.buttonList.add(new GuiButton(30, event.gui.width / 2 - 80, i + 24 * 2, 150, 20,( "Teamspeak")) { 
            @Override
            public void mouseReleased(int x, int y) { 
            if (Desktop.isDesktopSupported()) { 
            try {
            Desktop.getDesktop().browse(new URI("ts3server://ts.enderdeath.fr?port=9987"));
            } catch (Exception e) {
            
            }
            }
            }
            });
            
            }
            }
                @SubscribeEvent
              public void onInitGuiEventAd(InitGuiEvent.Post event)
                 {
                int i = event.gui.height /2 + 15;
            event.buttonList.add(new GuiButton(32, event.gui.width /  2 - 55, i + 24 * 2, 100, 20, "Site internet") { 
            @Override
            public void mouseReleased(int x, int y) { 
            
            }
            });
            
            ObfuscationReflectionHelper.setPrivateValue(GuiMainMenu.class, (GuiMainMenu) event.gui, "Bienvenue sur EnderDeath", "splashText", "field_73975_c"); // On modifie le SplashText
            
                 }
                @SubscribeEvent
              public void onActionPerformedA(ActionPerformedEvent.Pre event) {
              if (event.gui instanceof GuiOptions && event.button.id == 104) event.setCanceled(true); 
                }// Si l'ID est 100 (le bouton des Resource Packs), on annule
            
            public void action(GuiButton buttom)
            {
            
                if(buttom.id == 31)
                {
                    try
                    {
                        Class oclass = Class.forName("java.awt.Desktop");
                        Object object = oclass.getMethod("getDesktop", new Class[0]).invoke((Object)null, new Object[0]);
                        oclass.getMethod("browse", new Class[] {URI.class}).invoke(object, new Object[] {new URI("http://Silicium-mc.craftaserv.fr")});
                    }
                    catch(Throwable throwable)
                    {
                        logger.error("Couldn\'t open link", throwable);
                    }
            }
            
                }
            
            @SubscribeEvent
            public void onActionPerformed(ActionPerformedEvent.Pre event)
            {
            if (event.gui instanceof GuiMainMenu)
            {
                if(event.button.id == 32)
                {
                     try {
            Desktop.getDesktop().browse(new URI("http://www.minecraftforgefrance.fr/"));
                     }
             catch(Throwable throwable)
                   {
                       logger.error("Couldn\'t open link", throwable);
                   }
                }
                else if(event.button.id == 60)
                {
                FMLClientHandler.instance().connectToServerAtStartup("62.210.62.194",10048);
                   ;
                }
            }
            
            }
            /*Sa c'est le début de f3 mais je l'ai laissé tombé pour l'instant*/
            @SideOnly(Side.CLIENT) 
            @SubscribeEvent
                   public void onRenderPre(RenderGameOverlayEvent.Pre event)
                   {
            if(event.type == RenderGameOverlayEvent.ElementType.DEBUG)
            
                 {
                     event.setCanceled(true);
            
                 }
                   }
            
               public void drawString(FontRenderer par1FontRenderer, String par2Str, int par3, int par4, int par5)
               {
            
              Minecraft mc = FMLClientHandler.instance().getClient();
              fpsString = mc.debug.split(",", 2)[0];
              this.drawString(Minecraft.getMinecraft().fontRenderer, par2Str, 10, 50, 14737632);
              fpsString = mc.theWorld.getBiomeGenForCoords(par3, par4).biomeName;
                   par1FontRenderer.drawStringWithShadow(fpsString, par3, par4, par5);
            
                } 
            }
            
            

            Voila ma signature

            1 réponse Dernière réponse Répondre Citer 0
            • AmaA Hors-ligne
              Ama
              dernière édition par

              crash report ?

              Si je t'ai filé un coup de main n'oublie pas le + / -
              Par contre évite les demandes d'aides en MP, tu sera sympa'

              La JavaDoc c'est comme le PQ, ça sert à ce démerder tous seul. -Victor Hugo- 2017

              Une superbe API pour animer vos super modèles CraftStudio dans Minecraft !

              1 réponse Dernière réponse Répondre Citer 0
              • leo01418L Hors-ligne
                leo01418
                dernière édition par

                [22:41:17] [main/INFO] [GradleStart]: Extra: []
                [22:41:17] [main/INFO] [GradleStart]: Running with arguments: [–userProperties, {}, --assetsDir, C:/Users/Eric/.gradle/caches/minecraft/assets, --assetIndex, 1.7.10, --accessToken, {REDACTED}, --version, 1.7.10, --tweakClass, cpw.mods.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
                [22:41:17] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker
                [22:41:17] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker
                [22:41:17] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
                [22:41:17] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker
                [22:41:17] [main/INFO] [FML]: Forge Mod Loader version 7.99.36.1558 for Minecraft 1.7.10 loading
                [22:41:17] [main/INFO] [FML]: Java is Java HotSpot(TM) Client VM, version 1.8.0_71, running on Windows 8.1:x86:6.3, installed at C:\Program Files (x86)\Java\jre1.8.0_71
                [22:41:17] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
                [22:41:17] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
                [22:41:17] [main/INFO] [GradleStart]: Injecting location in coremod cpw.mods.fml.relauncher.FMLCorePlugin
                [22:41:17] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
                [22:41:17] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
                [22:41:17] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker
                [22:41:17] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
                [22:41:17] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
                [22:41:17] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
                [22:41:17] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
                [22:41:17] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
                [22:41:19] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
                [22:41:19] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
                [22:41:19] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker
                [22:41:22] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
                [22:41:22] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.TerminalTweaker
                [22:41:22] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.TerminalTweaker
                [22:41:22] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
                [22:41:24] [main/INFO]: Setting user: Player606
                [22:41:27] [Client thread/INFO]: LWJGL Version: 2.9.1
                [22:41:29] [Client thread/INFO] [STDOUT]: [tv.twitch.StandardCoreAPI:<init>:16]: If on Windows, make sure to provide all of the necessary dll's as specified in the twitchsdk README. Also, make sure to set the PATH environment variable to point to the directory containing the dll's.
                [22:41:29] [Client thread/ERROR]: Couldn't initialize twitch stream
                [22:41:29] [Client thread/INFO] [STDOUT]: [cpw.mods.fml.client.SplashProgress:start:188]: –-- Minecraft Crash Report ----
                // Don't do that.
                
                Time: 10/04/16 22:41
                Description: Loading screen debug info
                
                This is just a prompt for computer specs to be printed. THIS IS NOT A ERROR
                
                A detailed walkthrough of the error, its code path and all known details is as follows:
                ---------------------------------------------------------------------------------------
                
                -- System Details --
                Details:
                Minecraft Version: 1.7.10
                Operating System: Windows 8.1 (x86) version 6.3
                Java Version: 1.8.0_71, Oracle Corporation
                Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
                Memory: 970916088 bytes (925 MB) / 1046937600 bytes (998 MB) up to 1046937600 bytes (998 MB)
                JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
                AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
                IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
                FML: 
                GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.5.0 NVIDIA 350.12' Renderer: 'GeForce GTX 745/PCIe/SSE2'
                [22:41:29] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization
                [22:41:29] [Client thread/INFO] [FML]: MinecraftForge v10.13.4.1558 Initialized
                [22:41:29] [Client thread/INFO] [FML]: Replaced 183 ore recipies
                [22:41:30] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization
                [22:41:31] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer
                [22:41:31] [Client thread/INFO] [FML]: Searching C:\Users\Eric\Desktop\EnderModMenu\eclipse\mods for mods
                [22:42:06] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load
                [22:42:07] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, enderdeathMenu] at CLIENT
                [22:42:07] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, enderdeathMenu] at SERVER
                [22:42:07] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:enderdeathMenu
                [22:42:07] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
                [22:42:07] [Client thread/INFO] [FML]: Found 341 ObjectHolder annotations
                [22:42:07] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations
                [22:42:07] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations
                [22:42:07] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
                [22:42:07] [Client thread/INFO] [FML]: Applying holder lookups
                [22:42:07] [Client thread/INFO] [FML]: Holder lookups applied
                [22:42:07] [Client thread/INFO] [FML]: Injecting itemstacks
                [22:42:07] [Client thread/INFO] [FML]: Itemstack injection complete
                [22:42:08] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: 
                [22:42:08] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem…
                [22:42:08] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL
                [22:42:08] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:     (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
                [22:42:10] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized.
                [22:42:10] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: 
                [22:42:10] [Sound Library Loader/INFO]: Sound engine started
                [22:42:33] [Client thread/INFO]: Created: 16x16 textures/blocks-atlas
                [22:42:33] [Client thread/INFO]: Created: 16x16 textures/items-atlas
                [22:42:33] [Client thread/INFO] [STDOUT]: [ed.enderdeathMenu.mod.ClientProxy:registerRender:8]: client
                [22:42:33] [Client thread/INFO] [FML]: Injecting itemstacks
                [22:42:33] [Client thread/INFO] [FML]: Itemstack injection complete
                [22:42:33] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods
                [22:42:33] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:enderdeathMenu
                [22:42:34] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas
                [22:42:34] [Client thread/INFO]: Created: 256x256 textures/items-atlas
                [22:42:34] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: 
                [22:42:34] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: SoundSystem shutting down…
                [22:42:34] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:importantMessage:90]:     Author: Paul Lamb, www.paulscode.com
                [22:42:34] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: 
                [22:42:34] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: 
                [22:42:34] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem…
                [22:42:34] [Thread-10/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL
                [22:42:34] [Thread-10/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:     (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
                [22:42:34] [Thread-10/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized.
                [22:42:35] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: 
                [22:42:35] [Sound Library Loader/INFO]: Sound engine started
                [22:54:11] [Netty Client IO #0/INFO] [FML]: Attempting connection with missing mods [enderdeathMenu] at SERVER
                [22:54:11] [Client thread/INFO]: Connecting to 62.210.62.194, 10048
                [22:54:11] [Client thread/ERROR] [FML]: Exception caught during firing event net.minecraftforge.client.event.GuiScreenEvent$InitGuiEvent$Post@1b2b30a:
                java.lang.ClassCastException: net.minecraft.client.multiplayer.GuiConnecting cannot be cast to net.minecraft.client.gui.GuiMainMenu
                at ed.enderdeathMenu.mod.GuiCustomMenu.onInitGuiEventAd(GuiCustomMenu.java:298) ~[GuiCustomMenu.class:?]
                at cpw.mods.fml.common.eventhandler.ASMEventHandler_10_GuiCustomMenu_onInitGuiEventAd_Post.invoke(.dynamic) ~[?:?]
                at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54) ~[ASMEventHandler.class:?]
                at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:140) [EventBus.class:?]
                at net.minecraft.client.gui.GuiScreen.setWorldAndResolution(GuiScreen.java:296) [GuiScreen.class:?]
                at net.minecraft.client.Minecraft.displayGuiScreen(Minecraft.java:865) [Minecraft.class:?]
                at cpw.mods.fml.client.FMLClientHandler.showGuiScreen(FMLClientHandler.java:472) [FMLClientHandler.class:?]
                at cpw.mods.fml.client.FMLClientHandler.connectToServer(FMLClientHandler.java:845) [FMLClientHandler.class:?]
                at cpw.mods.fml.client.FMLClientHandler.connectToServerAtStartup(FMLClientHandler.java:833) [FMLClientHandler.class:?]
                at ed.enderdeathMenu.mod.GuiCustomMenu.onActionPerformed(GuiCustomMenu.java:349) [GuiCustomMenu.class:?]
                at cpw.mods.fml.common.eventhandler.ASMEventHandler_7_GuiCustomMenu_onActionPerformed_Pre.invoke(.dynamic) [?:?]
                at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54) [ASMEventHandler.class:?]
                at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:140) [EventBus.class:?]
                at net.minecraft.client.gui.GuiScreen.mouseClicked(GuiScreen.java:248) [GuiScreen.class:?]
                at net.minecraft.client.gui.GuiMainMenu.mouseClicked(GuiMainMenu.java:566) [GuiMainMenu.class:?]
                at net.minecraft.client.gui.GuiScreen.handleMouseInput(GuiScreen.java:344) [GuiScreen.class:?]
                at net.minecraft.client.gui.GuiScreen.handleInput(GuiScreen.java:313) [GuiScreen.class:?]
                at net.minecraft.client.Minecraft.runTick(Minecraft.java:1731) [Minecraft.class:?]
                at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1039) [Minecraft.class:?]
                at net.minecraft.client.Minecraft.run(Minecraft.java:962) [Minecraft.class:?]
                at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?]
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_71]
                at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_71]
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_71]
                at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_71]
                at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
                at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
                at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) [start/:?]
                at GradleStart.main(Unknown Source) [start/:?]
                [22:54:11] [Client thread/ERROR] [FML]: Index: 2 Listeners:
                [22:54:11] [Client thread/ERROR] [FML]: 0: NORMAL
                [22:54:11] [Client thread/ERROR] [FML]: 1: ASM: ed.enderdeathMenu.mod.GuiCustomMenu@1adede9 onInitGuiEven(Lnet/minecraftforge/client/event/GuiScreenEvent$InitGuiEvent$Post;)V
                [22:54:11] [Client thread/ERROR] [FML]: 2: ASM: ed.enderdeathMenu.mod.GuiCustomMenu@1adede9 onInitGuiEventAd(Lnet/minecraftforge/client/event/GuiScreenEvent$InitGuiEvent$Post;)V
                [22:54:11] [Client thread/ERROR] [FML]: 3: ASM: ed.enderdeathMenu.mod.GuiCustomMenu@1adede9 onInitGuiEventA(Lnet/minecraftforge/client/event/GuiScreenEvent$InitGuiEvent$Post;)V
                [22:54:11] [Client thread/ERROR] [FML]: 4: ASM: ed.enderdeathMenu.mod.GuiCustomMenu@1adede9 onInitGuiEventF(Lnet/minecraftforge/client/event/GuiScreenEvent$InitGuiEvent$Post;)V
                [22:54:11] [Client thread/ERROR] [FML]: Exception caught during firing event net.minecraftforge.client.event.GuiScreenEvent$ActionPerformedEvent$Pre@1a5429e:
                java.lang.ClassCastException: net.minecraft.client.multiplayer.GuiConnecting cannot be cast to net.minecraft.client.gui.GuiMainMenu
                at ed.enderdeathMenu.mod.GuiCustomMenu.onInitGuiEventAd(GuiCustomMenu.java:298) ~[GuiCustomMenu.class:?]
                at cpw.mods.fml.common.eventhandler.ASMEventHandler_10_GuiCustomMenu_onInitGuiEventAd_Post.invoke(.dynamic) ~[?:?]
                at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54) ~[ASMEventHandler.class:?]
                at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:140) [EventBus.class:?]
                at net.minecraft.client.gui.GuiScreen.setWorldAndResolution(GuiScreen.java:296) ~[GuiScreen.class:?]
                at net.minecraft.client.Minecraft.displayGuiScreen(Minecraft.java:865) ~[Minecraft.class:?]
                at cpw.mods.fml.client.FMLClientHandler.showGuiScreen(FMLClientHandler.java:472) ~[FMLClientHandler.class:?]
                at cpw.mods.fml.client.FMLClientHandler.connectToServer(FMLClientHandler.java:845) ~[FMLClientHandler.class:?]
                at cpw.mods.fml.client.FMLClientHandler.connectToServerAtStartup(FMLClientHandler.java:833) ~[FMLClientHandler.class:?]
                at ed.enderdeathMenu.mod.GuiCustomMenu.onActionPerformed(GuiCustomMenu.java:349) ~[GuiCustomMenu.class:?]
                at cpw.mods.fml.common.eventhandler.ASMEventHandler_7_GuiCustomMenu_onActionPerformed_Pre.invoke(.dynamic) ~[?:?]
                at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54) ~[ASMEventHandler.class:?]
                at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:140) [EventBus.class:?]
                at net.minecraft.client.gui.GuiScreen.mouseClicked(GuiScreen.java:248) [GuiScreen.class:?]
                at net.minecraft.client.gui.GuiMainMenu.mouseClicked(GuiMainMenu.java:566) [GuiMainMenu.class:?]
                at net.minecraft.client.gui.GuiScreen.handleMouseInput(GuiScreen.java:344) [GuiScreen.class:?]
                at net.minecraft.client.gui.GuiScreen.handleInput(GuiScreen.java:313) [GuiScreen.class:?]
                at net.minecraft.client.Minecraft.runTick(Minecraft.java:1731) [Minecraft.class:?]
                at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1039) [Minecraft.class:?]
                at net.minecraft.client.Minecraft.run(Minecraft.java:962) [Minecraft.class:?]
                at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?]
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_71]
                at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_71]
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_71]
                at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_71]
                at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
                at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
                at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) [start/:?]
                at GradleStart.main(Unknown Source) [start/:?]
                [22:54:11] [Client thread/ERROR] [FML]: Index: 2 Listeners:
                [22:54:11] [Client thread/ERROR] [FML]: 0: NORMAL
                [22:54:11] [Client thread/ERROR] [FML]: 1: ASM: ed.enderdeathMenu.mod.GuiCustomMenu@1adede9 onActionPerformedA(Lnet/minecraftforge/client/event/GuiScreenEvent$ActionPerformedEvent$Pre;)V
                [22:54:11] [Client thread/ERROR] [FML]: 2: ASM: ed.enderdeathMenu.mod.GuiCustomMenu@1adede9 onActionPerformed(Lnet/minecraftforge/client/event/GuiScreenEvent$ActionPerformedEvent$Pre;)V
                [22:54:12] [Client thread/FATAL]: Reported exception thrown!
                net.minecraft.util.ReportedException: Updating screen events
                at net.minecraft.client.Minecraft.runTick(Minecraft.java:1745) ~[Minecraft.class:?]
                at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1039) ~[Minecraft.class:?]
                at net.minecraft.client.Minecraft.run(Minecraft.java:962) [Minecraft.class:?]
                at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?]
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_71]
                at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_71]
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_71]
                at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_71]
                at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
                at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
                at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) [start/:?]
                at GradleStart.main(Unknown Source) [start/:?]
                Caused by: java.lang.ClassCastException: net.minecraft.client.multiplayer.GuiConnecting cannot be cast to net.minecraft.client.gui.GuiMainMenu
                at ed.enderdeathMenu.mod.GuiCustomMenu.onInitGuiEventAd(GuiCustomMenu.java:298) ~[GuiCustomMenu.class:?]
                at cpw.mods.fml.common.eventhandler.ASMEventHandler_10_GuiCustomMenu_onInitGuiEventAd_Post.invoke(.dynamic) ~[?:?]
                at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54) ~[ASMEventHandler.class:?]
                at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:140) ~[EventBus.class:?]
                at net.minecraft.client.gui.GuiScreen.setWorldAndResolution(GuiScreen.java:296) ~[GuiScreen.class:?]
                at net.minecraft.client.Minecraft.displayGuiScreen(Minecraft.java:865) ~[Minecraft.class:?]
                at cpw.mods.fml.client.FMLClientHandler.showGuiScreen(FMLClientHandler.java:472) ~[FMLClientHandler.class:?]
                at cpw.mods.fml.client.FMLClientHandler.connectToServer(FMLClientHandler.java:845) ~[FMLClientHandler.class:?]
                at cpw.mods.fml.client.FMLClientHandler.connectToServerAtStartup(FMLClientHandler.java:833) ~[FMLClientHandler.class:?]
                at ed.enderdeathMenu.mod.GuiCustomMenu.onActionPerformed(GuiCustomMenu.java:349) ~[GuiCustomMenu.class:?]
                at cpw.mods.fml.common.eventhandler.ASMEventHandler_7_GuiCustomMenu_onActionPerformed_Pre.invoke(.dynamic) ~[?:?]
                at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54) ~[ASMEventHandler.class:?]
                at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:140) ~[EventBus.class:?]
                at net.minecraft.client.gui.GuiScreen.mouseClicked(GuiScreen.java:248) ~[GuiScreen.class:?]
                at net.minecraft.client.gui.GuiMainMenu.mouseClicked(GuiMainMenu.java:566) ~[GuiMainMenu.class:?]
                at net.minecraft.client.gui.GuiScreen.handleMouseInput(GuiScreen.java:344) ~[GuiScreen.class:?]
                at net.minecraft.client.gui.GuiScreen.handleInput(GuiScreen.java:313) ~[GuiScreen.class:?]
                at net.minecraft.client.Minecraft.runTick(Minecraft.java:1731) ~[Minecraft.class:?]
                … 11 more
                [22:54:12] [Client thread/INFO] [STDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:388]: –-- Minecraft Crash Report ----
                // My bad.
                
                Time: 10/04/16 22:54
                Description: Updating screen events
                
                java.lang.ClassCastException: net.minecraft.client.multiplayer.GuiConnecting cannot be cast to net.minecraft.client.gui.GuiMainMenu
                at ed.enderdeathMenu.mod.GuiCustomMenu.onInitGuiEventAd(GuiCustomMenu.java:298)
                at cpw.mods.fml.common.eventhandler.ASMEventHandler_10_GuiCustomMenu_onInitGuiEventAd_Post.invoke(.dynamic)
                at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54)
                at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:140)
                at net.minecraft.client.gui.GuiScreen.setWorldAndResolution(GuiScreen.java:296)
                at net.minecraft.client.Minecraft.displayGuiScreen(Minecraft.java:865)
                at cpw.mods.fml.client.FMLClientHandler.showGuiScreen(FMLClientHandler.java:472)
                at cpw.mods.fml.client.FMLClientHandler.connectToServer(FMLClientHandler.java:845)
                at cpw.mods.fml.client.FMLClientHandler.connectToServerAtStartup(FMLClientHandler.java:833)
                at ed.enderdeathMenu.mod.GuiCustomMenu.onActionPerformed(GuiCustomMenu.java:349)
                at cpw.mods.fml.common.eventhandler.ASMEventHandler_7_GuiCustomMenu_onActionPerformed_Pre.invoke(.dynamic)
                at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54)
                at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:140)
                at net.minecraft.client.gui.GuiScreen.mouseClicked(GuiScreen.java:248)
                at net.minecraft.client.gui.GuiMainMenu.mouseClicked(GuiMainMenu.java:566)
                at net.minecraft.client.gui.GuiScreen.handleMouseInput(GuiScreen.java:344)
                at net.minecraft.client.gui.GuiScreen.handleInput(GuiScreen.java:313)
                at net.minecraft.client.Minecraft.runTick(Minecraft.java:1731)
                at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1039)
                at net.minecraft.client.Minecraft.run(Minecraft.java:962)
                at net.minecraft.client.main.Main.main(Main.java:164)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
                at java.lang.reflect.Method.invoke(Unknown Source)
                at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
                at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
                at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source)
                at GradleStart.main(Unknown Source)
                
                A detailed walkthrough of the error, its code path and all known details is as follows:
                ---------------------------------------------------------------------------------------
                
                -- Head --
                Stacktrace:
                at ed.enderdeathMenu.mod.GuiCustomMenu.onInitGuiEventAd(GuiCustomMenu.java:298)
                at cpw.mods.fml.common.eventhandler.ASMEventHandler_10_GuiCustomMenu_onInitGuiEventAd_Post.invoke(.dynamic)
                at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54)
                at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:140)
                at net.minecraft.client.gui.GuiScreen.setWorldAndResolution(GuiScreen.java:296)
                at net.minecraft.client.Minecraft.displayGuiScreen(Minecraft.java:865)
                at cpw.mods.fml.client.FMLClientHandler.showGuiScreen(FMLClientHandler.java:472)
                at cpw.mods.fml.client.FMLClientHandler.connectToServer(FMLClientHandler.java:845)
                at cpw.mods.fml.client.FMLClientHandler.connectToServerAtStartup(FMLClientHandler.java:833)
                at ed.enderdeathMenu.mod.GuiCustomMenu.onActionPerformed(GuiCustomMenu.java:349)
                at cpw.mods.fml.common.eventhandler.ASMEventHandler_7_GuiCustomMenu_onActionPerformed_Pre.invoke(.dynamic)
                at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54)
                at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:140)
                at net.minecraft.client.gui.GuiScreen.mouseClicked(GuiScreen.java:248)
                at net.minecraft.client.gui.GuiMainMenu.mouseClicked(GuiMainMenu.java:566)
                at net.minecraft.client.gui.GuiScreen.handleMouseInput(GuiScreen.java:344)
                at net.minecraft.client.gui.GuiScreen.handleInput(GuiScreen.java:313)
                
                -- Affected screen --
                Details:
                Screen name: net.minecraft.client.multiplayer.GuiConnecting
                Stacktrace:
                at net.minecraft.client.Minecraft.runTick(Minecraft.java:1731)
                at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1039)
                at net.minecraft.client.Minecraft.run(Minecraft.java:962)
                at net.minecraft.client.main.Main.main(Main.java:164)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
                at java.lang.reflect.Method.invoke(Unknown Source)
                at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
                at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
                at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source)
                at GradleStart.main(Unknown Source)
                
                -- System Details --
                Details:
                Minecraft Version: 1.7.10
                Operating System: Windows 8.1 (x86) version 6.3
                Java Version: 1.8.0_71, Oracle Corporation
                Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
                Memory: 976656304 bytes (931 MB) / 1046937600 bytes (998 MB) up to 1046937600 bytes (998 MB)
                JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
                AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
                IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
                FML: MCP v9.05 FML v7.10.99.99 Minecraft Forge 10.13.4.1558 4 mods loaded, 4 mods active
                States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
                UCHIJA mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) 
                UCHIJA FML{7.10.99.99} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.4.1558-1.7.10.jar) 
                UCHIJA Forge{10.13.4.1558} [Minecraft Forge] (forgeSrc-1.7.10-10.13.4.1558-1.7.10.jar) 
                UCHIJA enderdeathMenu{1.0.0} [enderdeathMenu] (bin) 
                GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.5.0 NVIDIA 350.12' Renderer: 'GeForce GTX 745/PCIe/SSE2'
                Launched Version: 1.7.10
                LWJGL: 2.9.1
                OpenGL: GeForce GTX 745/PCIe/SSE2 GL version 4.5.0 NVIDIA 350.12, NVIDIA Corporation
                GL Caps: Using GL 1.3 multitexturing.
                Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
                Anisotropic filtering is supported and maximum anisotropy is 16.
                Shaders are available because OpenGL 2.1 is supported.
                
                Is Modded: Definitely; Client brand changed to 'fml,forge'
                Type: Client (map_client.txt)
                Resource Packs: []
                Current Language: English (US)
                Profiler Position: N/A (disabled)
                Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
                Anisotropic Filtering: Off (1)
                [22:54:12] [Client thread/INFO] [STDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:398]: #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\Eric\Desktop\EnderModMenu\eclipse\.\crash-reports\crash-2016-04-10_22.54.12-client.txt
                AL lib: (EE) alc_cleanup: 1 device not closed
                Java HotSpot(TM) Client VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
                
                ```</init>

                Voila ma signature

                1 réponse Dernière réponse Répondre Citer 0
                • robin4002R Hors-ligne
                  robin4002 Moddeurs confirmés Rédacteurs Administrateurs
                  dernière édition par

                  En fait, pourquoi ta classe est un mélange d’utilisation d’event pour modifier le menu et également une classe extends GuiScreen ? On dirai que tu mélanges les deux méthodes pour modifier le menu, ce qui donne un code vraiment pas propre …

                  1 réponse Dernière réponse Répondre Citer 0
                  • leo01418L Hors-ligne
                    leo01418
                    dernière édition par

                    Donc je fais une classe pour suprimmé les boutons et une classe pour en ajouté?

                    Eddit je vais arrangé ma classe et tu me conseille de faire un extends GuiMainMenu?

                    Voila ma signature

                    1 réponse Dernière réponse Répondre Citer 0
                    • AymericRedA Hors-ligne
                      AymericRed
                      dernière édition par

                      Soit tu fais un GuiMainMenu entièrement custom à partir de celui existant(que tu remplaces) , soit tu gère tout à partir des évents (donc aucun extends).

                      Si je vous ai aidé, n'oubliez pas d’être heureux, j'aiderai encore +

                      AymericRed, moddeur expérimenté qui aide sur ce forum et qui peut accepter de faire un mod Forge rémunéré de temps en temps.

                      Mes tutos : Table de craft, plugin NEI, plugin JEI, modifier l'overlay
                      Je suis un membre apprécié et joueur, j'ai déjà obtenu 6 points de réputation.

                      1 réponse Dernière réponse Répondre Citer 0
                      • leo01418L Hors-ligne
                        leo01418
                        dernière édition par

                        Sa marche j’ai réunit tout les boutons  🙂

                        Voila ma signature

                        1 réponse Dernière réponse Répondre Citer 0
                        • 1
                        • 2
                        • 2 / 2
                        • Premier message
                          Dernier message
                        Design by Woryk
                        ContactMentions Légales

                        MINECRAFT FORGE FRANCE © 2024

                        Powered by NodeBB