MFF

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

    Crash lancement minecraft

    Planifier Épinglé Verrouillé Déplacé Résolu 1.7.x
    1.7.2
    13 Messages 3 Publieurs 3.7k 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.
    • robin4002R Hors-ligne
      robin4002 Moddeurs confirmés Rédacteurs Administrateurs
      dernière édition par

      Dans les bibliothèques du projet (libraries) tu as bien lwjgl ?

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

        Oui je les ai bien mais en 2.9.0

        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

          Oui ça c’est à cause de la version de mc, je suis en 1.7.10 sur le screen.
          Dans ce cas je ne vois pas d’où vient le problème 😕

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

            Cela serait utile de copier certains fichier par exemple les bibliothèques de mes autres mod dans celui ci ?

            Edit: Il semblerait que le problème ne survient que en 1.7.2 (alors que avant tout marchait bien en cette version) car en 1.7.10 tout fonctionne.
            Edit2 : Le jeu se lance le mod est chargé mais aucun items n’apparaît en jeu comme si le mod n’éxisait pas.

            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

              Envoie ton code.

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

                Voici ma classe principale :
                :::

                package com.sebenforce;

                import net.minecraft.creativetab.CreativeTabs;
                import net.minecraft.item.Item;
                import net.minecraft.item.ItemArmor.ArmorMaterial;
                import net.minecraftforge.common.util.EnumHelper;
                import cpw.mods.fml.common.Mod;
                import cpw.mods.fml.common.Mod.EventHandler;
                import cpw.mods.fml.common.Mod.Instance;
                import cpw.mods.fml.common.event.FMLInitializationEvent;
                import cpw.mods.fml.common.event.FMLPostInitializationEvent;
                import cpw.mods.fml.common.event.FMLPreInitializationEvent;
                import cpw.mods.fml.common.registry.GameRegistry;

                @Mod(modid = “magmafusion”, name = “magmafusion”, version = “1.0.0”)

                public class Main {
                    @Instance(“magmafusion”)
                    public static Main instance;
                    public static final String MODID = “magmafusion”;
                    public static Item Grenat;
                    public static Item Uranite;
                    public static Item casqueGrenat, plastronGrenat, jambesGrenat, bottesGrenat;
                    public static Item casqueUranite, plastronUranite, jambesUranite, bottesUranite;
                    public static Item casqueMagma, plastronMagma, jambesMagma, bottesMagma;
                    public static Item epeeGrenat, piocheGrenat, hacheGrenat, pelleGrenat, hoeGrenat;
                    public static Item epeeUranite, piocheUranite, hacheUranite, pelleUranite, hoeUranite;
                    public static Item epeeMagma, piocheMagma, hacheMagma, pelleMagma, hoeMagma;
                    public static ArmorMaterial grenat = EnumHelper.addArmorMaterial(“grenat”, 63, new int[] {3, 9, 6, 3}, 10);
                    public static ArmorMaterial uranite = EnumHelper.addArmorMaterial(“uranite”, 43, new int[] {3, 9, 6, 3}, 10);
                    public static ArmorMaterial magma = EnumHelper.addArmorMaterial(“magma”, 73, new int[] {3, 9, 7, 3}, 10);

                @EventHandler
                    public void preInit(FMLPreInitializationEvent event)
                    {

                }

                public void load(FMLInitializationEvent event)
                    {
                    //gems
                    Grenat = new Grenat().setUnlocalizedName(“Grenat”).setTextureName(Main.MODID + “:Grenat”).setCreativeTab(CreativeTabs.tabMaterials);
                        GameRegistry.registerItem(Grenat, “Grenat”);
                        Uranite = new Grenat().setUnlocalizedName(“Uranite”).setTextureName(Main.MODID + “:Uranite”).setCreativeTab(CreativeTabs.tabMaterials);
                        GameRegistry.registerItem(Uranite, “Uranite”);

                //armures
                        casqueGrenat = new armureGrenat(grenat, 0).setUnlocalizedName(“casqueGrenat”).setTextureName(MODID + “:helmetRubis”);
                        plastronGrenat = new armureGrenat(grenat, 1).setUnlocalizedName(“plastronGrenat”).setTextureName(MODID + “:chestplateRubis”);
                        jambesGrenat = new armureGrenat(grenat, 2).setUnlocalizedName(“jambesGrenat”).setTextureName(MODID + “:leggingsRubis”);
                        bottesGrenat = new armureGrenat(grenat, 3).setUnlocalizedName(“bottesGrenat”).setTextureName(MODID + “:bootsRubis”);
                        GameRegistry.registerItem(casqueGrenat, “casqueGrenat”);
                        GameRegistry.registerItem(plastronGrenat, “plastronGrenat”);
                        GameRegistry.registerItem(jambesGrenat, “jambesGrenat”);
                        GameRegistry.registerItem(bottesGrenat, “bottesGrenat”);

                casqueUranite = new armureUranite(uranite, 0).setUnlocalizedName(“casqueUranite”).setTextureName(MODID + “:helmetSaphir”);
                        plastronUranite = new armureUranite(uranite, 1).setUnlocalizedName(“plastronUranite”).setTextureName(MODID + “:chestplateSaphir”);
                        jambesUranite = new armureUranite(uranite, 2).setUnlocalizedName(“jambesUranite”).setTextureName(MODID + “:leggingsSaphir”);
                        bottesUranite = new armureUranite(uranite, 3).setUnlocalizedName(“bottesUranite”).setTextureName(MODID + “:bootsSaphir”);
                        GameRegistry.registerItem(casqueUranite, “casqueUranite”);
                        GameRegistry.registerItem(plastronUranite, “plastronUranite”);
                        GameRegistry.registerItem(jambesUranite, “jambesUranite”);
                        GameRegistry.registerItem(bottesUranite, “bottesUranite”);

                casqueMagma = new armureMagma(magma, 0).setUnlocalizedName(“casqueMagma”).setTextureName(MODID + “:helmetMagma”);
                        plastronMagma = new armureMagma(magma, 1).setUnlocalizedName(“plastronMagma”).setTextureName(MODID + “:chestplateMagma”);
                        jambesMagma = new armureMagma(magma, 2).setUnlocalizedName(“jambesMagma”).setTextureName(MODID + “:leggingsMagma”);
                        bottesMagma = new armureMagma(magma, 3).setUnlocalizedName(“bottesMagma”).setTextureName(MODID + “:bootsMagma”);
                        GameRegistry.registerItem(casqueMagma, “casqueMagma”);
                        GameRegistry.registerItem(plastronMagma, “plastronMagma”);
                        GameRegistry.registerItem(jambesMagma, “jambesMagma”);
                        GameRegistry.registerItem(bottesMagma, “bottesMagma”);
                    }

                @EventHandler
                    public void postInit(FMLPostInitializationEvent event)
                    {

                }
                }

                :::

                Et voici le rapport de la console au lancement :
                :::

                [18:43:03] [main/INFO] [GradleStart]: Extra: []

                [18:43:04] [main/INFO] [GradleStart]: Running with arguments: [–userProperties, {}, --accessToken, {REDACTED}, --assetIndex, 1.7.10, --assetsDir, C:/Users/Seb/.gradle/caches/minecraft/assets, --version, 1.7.10, --tweakClass, cpw.mods.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.GradleStartCommon$GradleStartTweaker]
                [18:43:04] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker
                [18:43:04] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker
                [18:43:04] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.GradleStartCommon$GradleStartTweaker
                [18:43:04] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker
                [18:43:04] [main/INFO] [FML]: Forge Mod Loader version 7.10.85.1232 for Minecraft 1.7.10 loading
                [18:43:04] [main/INFO] [FML]: Java is Java HotSpot™ 64-Bit Server VM, version 1.7.0_71, running on Windows 7:amd64:6.1, installed at C:\Program Files\Java\jdk1.7.0_71\jre
                [18:43:04] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
                [18:43:04] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.GradleStartCommon$GradleStartTweaker
                [18:43:04] [main/ERROR] [GradleStart]: Something went wrong with the claslaoding. No biggy.
                [18:43:04] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: java.lang.IllegalArgumentException: Can not set final int field cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper.sortIndex to cpw.mods.fml.relauncher.FMLCorePlugin
                [18:43:04] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:164)
                [18:43:04] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:168)
                [18:43:04] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at sun.reflect.UnsafeFieldAccessorImpl.ensureObj(UnsafeFieldAccessorImpl.java:55)
                [18:43:04] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at sun.reflect.UnsafeQualifiedIntegerFieldAccessorImpl.getInt(UnsafeQualifiedIntegerFieldAccessorImpl.java:58)
                [18:43:04] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at sun.reflect.UnsafeQualifiedIntegerFieldAccessorImpl.get(UnsafeQualifiedIntegerFieldAccessorImpl.java:38)
                [18:43:04] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at java.lang.reflect.Field.get(Field.java:379)
                [18:43:04] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at net.minecraftforge.gradle.GradleStartCommon$GradleStartTweaker.injectIntoClassLoader(GradleStartCommon.java:298)
                [18:43:04] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at net.minecraft.launchwrapper.Launch.launch(Launch.java:115)
                [18:43:04] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
                [18:43:04] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:78)
                [18:43:04] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at GradleStart.main(GradleStart.java:45)
                [18:43:04] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
                [18:43:04] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker
                [18:43:04] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
                [18:43:04] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
                [18:43:04] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
                [18:43:04] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
                [18:43:06] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
                [18:43:06] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
                [18:43:06] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker
                [18:43:06] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.TerminalTweaker
                [18:43:06] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.TerminalTweaker
                [18:43:06] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
                [18:43:07] [main/INFO]: Setting user: Player104
                [18:43:08] [Client thread/INFO]: LWJGL Version: 2.9.1
                [18:43:09] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization
                [18:43:09] [Client thread/INFO] [FML]: MinecraftForge v10.13.2.1232 Initialized
                [18:43:09] [Client thread/INFO] [FML]: Replaced 182 ore recipies
                [18:43:09] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization
                [18:43:09] [Client thread/INFO] [FML]: Config directory created successfully
                [18:43:09] [Client thread/INFO] [FML]: Searching C:\Users\Seb\Desktop\Projet eclipse\modMagmaFusion\eclipse\mods for mods
                [18:43:12] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load
                [18:43:12] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, magmafusion] at CLIENT
                [18:43:12] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, magmafusion] at SERVER
                [18:43:12] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:magmafusion
                [18:43:12] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
                [18:43:12] [Client thread/INFO] [FML]: Found 341 ObjectHolder annotations
                [18:43:12] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
                [18:43:12] [Client thread/INFO] [FML]: Applying holder lookups
                [18:43:12] [Client thread/INFO] [FML]: Holder lookups applied
                [18:43:13] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: 
                [18:43:13] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem…
                [18:43:13] [Thread-5/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL
                [18:43:13] [Thread-5/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:     (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
                [18:43:13] [Thread-5/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized.
                [18:43:13] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: 
                [18:43:13] [Sound Library Loader/INFO]: Sound engine started
                [18:43:15] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas
                [18:43:15] [Client thread/INFO]: Created: 256x256 textures/items-atlas
                [18:43:15] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods
                [18:43:15] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:magmafusion
                [18:43:15] [Client thread/INFO]: Created: 256x256 textures/items-atlas
                [18:43:16] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas
                [18:43:16] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: 
                [18:43:16] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: SoundSystem shutting down…
                [18:43:16] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:importantMessage:90]:     Author: Paul Lamb, www.paulscode.com
                [18:43:16] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: 
                [18:43:16] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: 
                [18:43:16] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem…
                [18:43:16] [Thread-7/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL
                [18:43:16] [Thread-7/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:     (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
                [18:43:16] [Thread-7/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized.
                [18:43:17] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: 
                [18:43:17] [Sound Library Loader/INFO]: Sound engine started
                [18:43:23] [Server thread/INFO]: Starting integrated minecraft server version 1.7.10
                [18:43:23] [Server thread/INFO]: Generating keypair
                [18:43:23] [Server thread/INFO]: Converting map!
                [18:43:23] [Server thread/INFO]: Scanning folders…
                [18:43:23] [Server thread/INFO]: Total conversion count is 0
                [18:43:23] [Server thread/INFO] [FML]: Injecting existing block and item data into this server instance
                [18:43:24] [Server thread/INFO] [FML]: Applying holder lookups
                [18:43:24] [Server thread/INFO] [FML]: Holder lookups applied
                [18:43:24] [Server thread/INFO] [FML]: Loading dimension 0 (New World) (net.minecraft.server.integrated.IntegratedServer@65305903)
                [18:43:24] [Server thread/INFO] [FML]: Loading dimension 1 (New World) (net.minecraft.server.integrated.IntegratedServer@65305903)
                [18:43:24] [Server thread/INFO] [FML]: Loading dimension -1 (New World) (net.minecraft.server.integrated.IntegratedServer@65305903)
                [18:43:24] [Server thread/INFO]: Preparing start region for level 0

                :::

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

                  En 1.7.x, tu dois enregistrer les blocs & items dans le preInit

                  ^^

                  1 réponse Dernière réponse Répondre Citer 1
                  • S Hors-ligne
                    Sebenf0rce
                    dernière édition par

                    Ah oui effectivement merci bien 😉

                    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

                      Le problème vient surtout du fait que la méthode load est ignoré comme il n’a pas mit @EventHandler au dessus …

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

                        Ah oui effectivement je n’avais pas vu 😛

                        ^^

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

                        MINECRAFT FORGE FRANCE © 2024

                        Powered by NodeBB