MFF

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

    Créer un item basique

    Planifier Épinglé Verrouillé Déplacé Les items
    1.7.x
    243 Messages 37 Publieurs 82.8k Vues 7 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

      çà dépend du nom que tu lui a donné

      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 1
      • W Hors-ligne
        warcatss
        dernière édition par

        Bonjour, j’aimerais savoir si mon code est bon car je recoit une erreur quand je lance le client.
        Voici les fichiers:

        package priver.common;
        
        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.SidedProxy;
        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.relauncher.Side;
        import priver.CommonProxy;
        
        @Mod(modid = "modtutoriel", name = "Mod Tutoriel", version = "1.0.0")
        
        public class ModTutoriel {
        
        @Instance("modtutoriel")
        public static ModTutoriel instance;
        
        @SidedProxy(clientSide = "priver.ClientProxy", serverSide = "priver.CommonProxy")
        public static CommonProxy proxy;
        
        @EventHandler
        public void preInit(FMLPreInitializationEvent event)
        {
        itemTutoriel = new ItemTutoriel().setUnlocalizedName("itemTutoriel").setTextureName(ModTutoriel.modtutoriel + ":itemtutoriel").setCreativeTab(CreativeTabs.tabMaterials);
        GameRegistry.registerItem(itemTutoriel, "itemtutoriel", ModTutoriel.MODID);
        }
        
        @EventHandler
        public void init(FMLInitializationEvent event)
        {
        proxy.registerRender();
        }
        
        @EventHandler
        public void postInit(FMLPostInitializationEvent event)
        {
        
        }
        
        }
        

        voici le ModTutoriel.java

        
        package priver.common;
        
        import net.minecraft.client.renderer.texture.IIconRegister;
        import net.minecraft.creativetab.CreativeTabs;
        
        public class ItemTutoriel {
        @Override
        public void registerIcons(IIconRegister iconregister)
        {
                this.itemIcon = iconregister.registerIcon(ModTutoriel.modtutoriel + ":itemtutoriel");
        }
        public ItemTutoriel()
        {
           this.setCreativeTab(CreativeTabs.Materials);
        }
        
        }
        

        et voici le itemTutoriel.java.

        En vous remerciant d’avance.

        Merci à tous ceux qui m'aident  :)

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

          Envoi le rapport d’erreur, sans ça on peut pas faire grand chose.

          PS : utilise les balises java pour le code en java pour la coloration syntaxique, c’est plus lisible.

          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
          • W Hors-ligne
            warcatss
            dernière édition par

            
            [14:04:27] [main/INFO] [GradleStart]: Extra: []
            [14:04:27] [main/INFO] [GradleStart]: Running with arguments: [–userProperties, {}, --assetsDir, C:/Users/jeremyAOTW/.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]
            [14:04:27] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker
            [14:04:27] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker
            [14:04:27] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
            [14:04:27] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker
            [14:04:27] [main/INFO] [FML]: Forge Mod Loader version 7.99.40.1614 for Minecraft 1.7.10 loading
            [14:04:27] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_77, running on Windows 7:amd64:6.1, installed at C:\Program Files\Java\jre1.8.0_77
            [14:04:27] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
            [14:04:27] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
            [14:04:27] [main/INFO] [GradleStart]: Injecting location in coremod cpw.mods.fml.relauncher.FMLCorePlugin
            [14:04:27] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
            [14:04:27] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
            [14:04:27] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker
            [14:04:27] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
            [14:04:27] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
            [14:04:27] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
            [14:04:27] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
            [14:04:27] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
            [14:04:28] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
            [14:04:28] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
            [14:04:28] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker
            [14:04:28] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
            [14:04:28] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.TerminalTweaker
            [14:04:28] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.TerminalTweaker
            [14:04:28] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
            [14:04:29] [main/INFO]: Setting user: Player658
            [14:04:29] [Client thread/INFO]: LWJGL Version: 2.9.1
            [14:04:30] [Client thread/INFO] [STDOUT]: [cpw.mods.fml.client.SplashProgress:start:188]: –-- Minecraft Crash Report ----
            // Would you like a cupcake?
            
            Time: 24/04/16 14:04
            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 7 (amd64) version 6.1
            Java Version: 1.8.0_77, Oracle Corporation
            Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
            Memory: 763864704 bytes (728 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 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 353.30' Renderer: 'GeForce GTX 960/PCIe/SSE2'
            [14:04:30] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization
            [14:04:30] [Client thread/INFO] [FML]: MinecraftForge v10.13.4.1614 Initialized
            [14:04:30] [Client thread/INFO] [FML]: Replaced 183 ore recipies
            [14:04:30] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization
            [14:04:30] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer
            [14:04:30] [Client thread/INFO] [FML]: Searching C:\Users\jeremyAOTW\Desktop\The Code Science\force source\eclipse\mods for mods
            [14:04:30] [Client thread/INFO] [examplemod]: Mod examplemod is missing the required element 'name'. Substituting examplemod
            [14:04:34] [Client thread/INFO] [FML]: Forge Mod Loader has identified 5 mods to load
            [14:04:34] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, examplemod, modtutoriel] at CLIENT
            [14:04:34] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, examplemod, modtutoriel] at SERVER
            [14:04:34] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:examplemod, FMLFileResourcePack:Mod Tutoriel
            [14:04:34] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
            [14:04:34] [Client thread/INFO] [FML]: Found 341 ObjectHolder annotations
            [14:04:34] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations
            [14:04:34] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations
            [14:04:35] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
            [14:04:35] [Client thread/INFO] [FML]: Applying holder lookups
            [14:04:35] [Client thread/INFO] [FML]: Holder lookups applied
            [14:04:35] [Client thread/INFO] [FML]: Injecting itemstacks
            [14:04:35] [Client thread/INFO] [FML]: Itemstack injection complete
            [14:04:35] [Client thread/ERROR] [FML]: Fatal errors were detected during the transition from PREINITIALIZATION to INITIALIZATION. Loading cannot continue
            [14:04:35] [Client thread/ERROR] [FML]: 
            States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
            UCH mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) 
            UCH FML{7.10.99.99} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar) 
            UCH Forge{10.13.4.1614} [Minecraft Forge] (forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar) 
            UCH examplemod{1.0} [examplemod] (bin) 
            UCE modtutoriel{1.0.0} [Mod Tutoriel] (bin) 
            [14:04:35] [Client thread/ERROR] [FML]: The following problems were captured during this phase
            [14:04:35] [Client thread/ERROR] [FML]: Caught exception from modtutoriel
            java.lang.Error: Unresolved compilation problems: 
            itemTutoriel cannot be resolved to a variable
            The method setUnlocalizedName(String) is undefined for the type ItemTutoriel
            modtutoriel cannot be resolved or is not a field
            CreativeTabs cannot be resolved to a variable
            GameRegistry cannot be resolved
            itemTutoriel cannot be resolved to a variable
            MODID cannot be resolved or is not a field
            
            at fr.hotmail.jeremymorlier.common.ModTutoriel.preInit(ModTutoriel.java:27) ~[bin/:?]
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_77]
            at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_77]
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_77]
            at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_77]
            at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:532) ~[forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar:?]
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_77]
            at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_77]
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_77]
            at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_77]
            at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?]
            at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?]
            at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?]
            at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?]
            at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?]
            at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:212) ~[forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar:?]
            at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:190) ~[forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar:?]
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_77]
            at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_77]
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_77]
            at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_77]
            at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?]
            at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?]
            at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?]
            at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?]
            at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?]
            at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:119) [LoadController.class:?]
            at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:556) [Loader.class:?]
            at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:243) [FMLClientHandler.class:?]
            at net.minecraft.client.Minecraft.startGame(Minecraft.java:522) [Minecraft.class:?]
            at net.minecraft.client.Minecraft.run(Minecraft.java:942) [Minecraft.class:?]
            at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?]
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_77]
            at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_77]
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_77]
            at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_77]
            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/:?]
            [14:04:35] [Client thread/INFO] [STDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:388]: –-- Minecraft Crash Report ----
            // I just don't know what went wrong :(
            
            Time: 24/04/16 14:04
            Description: There was a severe problem during mod loading that has caused the game to fail
            
            cpw.mods.fml.common.LoaderException: java.lang.Error: Unresolved compilation problems: 
            itemTutoriel cannot be resolved to a variable
            The method setUnlocalizedName(String) is undefined for the type ItemTutoriel
            modtutoriel cannot be resolved or is not a field
            CreativeTabs cannot be resolved to a variable
            GameRegistry cannot be resolved
            itemTutoriel cannot be resolved to a variable
            MODID cannot be resolved or is not a field
            
            at cpw.mods.fml.common.LoadController.transition(LoadController.java:163)
            at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:559)
            at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:243)
            at net.minecraft.client.Minecraft.startGame(Minecraft.java:522)
            at net.minecraft.client.Minecraft.run(Minecraft.java:942)
            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)
            Caused by: java.lang.Error: Unresolved compilation problems: 
            itemTutoriel cannot be resolved to a variable
            The method setUnlocalizedName(String) is undefined for the type ItemTutoriel
            modtutoriel cannot be resolved or is not a field
            CreativeTabs cannot be resolved to a variable
            GameRegistry cannot be resolved
            itemTutoriel cannot be resolved to a variable
            MODID cannot be resolved or is not a field
            
            at fr.hotmail.jeremymorlier.common.ModTutoriel.preInit(ModTutoriel.java:27)
            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 cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:532)
            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 com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
            at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
            at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
            at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
            at com.google.common.eventbus.EventBus.post(EventBus.java:275)
            at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:212)
            at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:190)
            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 com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
            at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
            at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
            at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
            at com.google.common.eventbus.EventBus.post(EventBus.java:275)
            at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:119)
            at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:556)
            ... 12 more
            
            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 7 (amd64) version 6.1
            Java Version: 1.8.0_77, Oracle Corporation
            Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
            Memory: 805339248 bytes (768 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 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.1614 5 mods loaded, 5 mods active
            States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
            UCH mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) 
            UCH FML{7.10.99.99} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar) 
            UCH Forge{10.13.4.1614} [Minecraft Forge] (forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar) 
            UCH examplemod{1.0} [examplemod] (bin) 
            UCE modtutoriel{1.0.0} [Mod Tutoriel] (bin) 
            GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.5.0 NVIDIA 353.30' Renderer: 'GeForce GTX 960/PCIe/SSE2'
            [14:04:35] [Client thread/INFO] [STDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:398]: #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\jeremyAOTW\Desktop\The Code Science\force source\eclipse\.\crash-reports\crash-2016-04-24_14.04.35-client.txt
            Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
            
            

            Le voici

            Merci à tous ceux qui m'aident  :)

            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

              Salut,
              Il te manque la ligne suivante :
              public static Item itemTutoriel;

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

                Merci 🙂

                Merci à tous ceux qui m'aident  :)

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

                  J’ai encore une erreur.

                  package priver.common;
                  
                  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.SidedProxy;
                  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.relauncher.Side;
                  import priver.CommonProxy;
                  
                  public static Item itemTutoriel;
                  
                  @Mod(modid = "modtutoriel", name = "Mod Tutoriel", version = "1.0.0")
                  
                  public class ModTutoriel {
                  
                  @Instance("modtutoriel")
                  public static ModTutoriel instance;
                  
                  @SidedProxy(clientSide = "priver.ClientProxy", serverSide = "priver.CommonProxy")
                  public static CommonProxy proxy;
                  
                  @EventHandler
                  public void preInit(FMLPreInitializationEvent event)
                  {
                  itemTutoriel = new ItemTutoriel().setUnlocalizedName("itemTutoriel").setTextureName(ModTutoriel.modtutoriel + ":itemtutoriel").setCreativeTab(CreativeTabs.tabMaterials);
                  GameRegistry.registerItem(itemTutoriel, "itemtutoriel", ModTutoriel.MODID);
                  }
                  
                  @EventHandler
                  public void init(FMLInitializationEvent event)
                  {
                  proxy.registerRender();
                  }
                  
                  @EventHandler
                  public void postInit(FMLPostInitializationEvent event)
                  {
                  
                  }
                  }
                  

                  voici le ModTutoriel.java

                  package priver.common;
                  
                  import net.minecraft.client.renderer.texture.IIconRegister;
                  import net.minecraft.creativetab.CreativeTabs;
                  
                  public class ItemTutoriel {
                  @Override
                  public void registerIcons(IIconRegister iconregister)
                  {
                          this.itemIcon = iconregister.registerIcon(ModTutoriel.modtutoriel + ":itemtutoriel");
                  }
                  public ItemTutoriel()
                  {
                     this.setCreativeTab(CreativeTabs.Materials);
                  }
                  
                  }
                  

                  et le fichier ItemTutoriel

                  [16:56:23] [main/INFO] [GradleStart]: Extra: []
                  [16:56:23] [main/INFO] [GradleStart]: Running with arguments: [–userProperties, {}, --assetsDir, C:/Users/jeremyAOTW/.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]
                  [16:56:23] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker
                  [16:56:23] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker
                  [16:56:23] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
                  [16:56:23] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker
                  [16:56:23] [main/INFO] [FML]: Forge Mod Loader version 7.99.40.1614 for Minecraft 1.7.10 loading
                  [16:56:23] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_77, running on Windows 7:amd64:6.1, installed at C:\Program Files\Java\jre1.8.0_77
                  [16:56:23] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
                  [16:56:23] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
                  [16:56:23] [main/INFO] [GradleStart]: Injecting location in coremod cpw.mods.fml.relauncher.FMLCorePlugin
                  [16:56:23] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
                  [16:56:23] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
                  [16:56:23] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker
                  [16:56:23] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
                  [16:56:23] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
                  [16:56:23] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
                  [16:56:23] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
                  [16:56:24] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
                  [16:56:25] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
                  [16:56:25] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
                  [16:56:25] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker
                  [16:56:25] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
                  [16:56:26] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.TerminalTweaker
                  [16:56:26] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.TerminalTweaker
                  [16:56:26] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
                  [16:56:30] [main/INFO]: Setting user: Player52
                  [16:56:33] [Client thread/INFO]: LWJGL Version: 2.9.1
                  [16:56:36] [Client thread/INFO] [STDOUT]: [cpw.mods.fml.client.SplashProgress:start:188]: –-- Minecraft Crash Report ----
                  // Daisy, daisy...
                  
                  Time: 24/04/16 16:56
                  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 7 (amd64) version 6.1
                  Java Version: 1.8.0_77, Oracle Corporation
                  Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
                  Memory: 793664432 bytes (756 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 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 353.30' Renderer: 'GeForce GTX 960/PCIe/SSE2'
                  [16:56:36] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization
                  [16:56:36] [Client thread/INFO] [FML]: MinecraftForge v10.13.4.1614 Initialized
                  [16:56:36] [Client thread/INFO] [FML]: Replaced 183 ore recipies
                  [16:56:36] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization
                  [16:56:37] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer
                  [16:56:37] [Client thread/INFO] [FML]: Searching C:\Users\jeremyAOTW\Desktop\The Code Science\force source\eclipse\mods for mods
                  [16:56:37] [Client thread/INFO] [examplemod]: Mod examplemod is missing the required element 'name'. Substituting examplemod
                  [16:56:55] [Client thread/INFO] [FML]: Forge Mod Loader has identified 5 mods to load
                  [16:56:55] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, examplemod, modtutoriel] at CLIENT
                  [16:56:55] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, examplemod, modtutoriel] at SERVER
                  [16:56:55] [Client thread/ERROR] [FML]: Fatal errors were detected during the transition from CONSTRUCTING to PREINITIALIZATION. Loading cannot continue
                  [16:56:55] [Client thread/ERROR] [FML]: 
                  States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
                  UC mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) 
                  UC FML{7.10.99.99} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar) 
                  UC Forge{10.13.4.1614} [Minecraft Forge] (forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar) 
                  UC examplemod{1.0} [examplemod] (bin) 
                  UE modtutoriel{1.0.0} [Mod Tutoriel] (bin) 
                  [16:56:55] [Client thread/ERROR] [FML]: The following problems were captured during this phase
                  [16:56:55] [Client thread/ERROR] [FML]: Caught exception from modtutoriel
                  java.lang.Error: Unresolved compilation problems: 
                  Syntax error on tokens, delete these tokens
                  Illegal modifier for the class ModTutoriel; only public, abstract & final are permitted
                  itemTutoriel cannot be resolved to a variable
                  The method setUnlocalizedName(String) is undefined for the type ItemTutoriel
                  modtutoriel cannot be resolved or is not a field
                  CreativeTabs cannot be resolved to a variable
                  GameRegistry cannot be resolved
                  itemTutoriel cannot be resolved to a variable
                  MODID cannot be resolved or is not a field
                  
                  at fr.hotmail.jeremymorlier.common.ModTutoriel.<init>(ModTutoriel.java:13) ~[bin/:?]
                  at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_77]
                  at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) ~[?:1.8.0_77]
                  at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) ~[?:1.8.0_77]
                  at java.lang.reflect.Constructor.newInstance(Unknown Source) ~[?:1.8.0_77]
                  at java.lang.Class.newInstance(Unknown Source) ~[?:1.8.0_77]
                  at cpw.mods.fml.common.ILanguageAdapter$JavaAdapter.getNewInstance(ILanguageAdapter.java:173) ~[forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar:?]
                  at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:506) ~[forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar:?]
                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_77]
                  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_77]
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_77]
                  at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_77]
                  at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?]
                  at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?]
                  at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?]
                  at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?]
                  at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?]
                  at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:212) ~[forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar:?]
                  at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:190) ~[forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar:?]
                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_77]
                  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_77]
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_77]
                  at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_77]
                  at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?]
                  at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?]
                  at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?]
                  at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?]
                  at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?]
                  at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:119) [LoadController.class:?]
                  at cpw.mods.fml.common.Loader.loadMods(Loader.java:513) [Loader.class:?]
                  at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:208) [FMLClientHandler.class:?]
                  at net.minecraft.client.Minecraft.startGame(Minecraft.java:522) [Minecraft.class:?]
                  at net.minecraft.client.Minecraft.run(Minecraft.java:942) [Minecraft.class:?]
                  at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?]
                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_77]
                  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_77]
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_77]
                  at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_77]
                  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/:?]
                  [16:56:55] [Client thread/INFO] [STDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:388]: –-- Minecraft Crash Report ----
                  // Uh... Did I do that?
                  
                  Time: 24/04/16 16:56
                  Description: There was a severe problem during mod loading that has caused the game to fail
                  
                  cpw.mods.fml.common.LoaderException: java.lang.Error: Unresolved compilation problems: 
                  Syntax error on tokens, delete these tokens
                  Illegal modifier for the class ModTutoriel; only public, abstract & final are permitted
                  itemTutoriel cannot be resolved to a variable
                  The method setUnlocalizedName(String) is undefined for the type ItemTutoriel
                  modtutoriel cannot be resolved or is not a field
                  CreativeTabs cannot be resolved to a variable
                  GameRegistry cannot be resolved
                  itemTutoriel cannot be resolved to a variable
                  MODID cannot be resolved or is not a field
                  
                  at cpw.mods.fml.common.LoadController.transition(LoadController.java:163)
                  at cpw.mods.fml.common.Loader.loadMods(Loader.java:544)
                  at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:208)
                  at net.minecraft.client.Minecraft.startGame(Minecraft.java:522)
                  at net.minecraft.client.Minecraft.run(Minecraft.java:942)
                  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)
                  Caused by: java.lang.Error: Unresolved compilation problems: 
                  Syntax error on tokens, delete these tokens
                  Illegal modifier for the class ModTutoriel; only public, abstract & final are permitted
                  itemTutoriel cannot be resolved to a variable
                  The method setUnlocalizedName(String) is undefined for the type ItemTutoriel
                  modtutoriel cannot be resolved or is not a field
                  CreativeTabs cannot be resolved to a variable
                  GameRegistry cannot be resolved
                  itemTutoriel cannot be resolved to a variable
                  MODID cannot be resolved or is not a field
                  
                  at fr.hotmail.jeremymorlier.common.ModTutoriel.<init>(ModTutoriel.java:13)
                  at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
                  at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
                  at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
                  at java.lang.reflect.Constructor.newInstance(Unknown Source)
                  at java.lang.Class.newInstance(Unknown Source)
                  at cpw.mods.fml.common.ILanguageAdapter$JavaAdapter.getNewInstance(ILanguageAdapter.java:173)
                  at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:506)
                  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 com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
                  at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
                  at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
                  at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
                  at com.google.common.eventbus.EventBus.post(EventBus.java:275)
                  at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:212)
                  at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:190)
                  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 com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
                  at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
                  at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
                  at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
                  at com.google.common.eventbus.EventBus.post(EventBus.java:275)
                  at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:119)
                  at cpw.mods.fml.common.Loader.loadMods(Loader.java:513)
                  ... 12 more
                  
                  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 7 (amd64) version 6.1
                  Java Version: 1.8.0_77, Oracle Corporation
                  Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
                  Memory: 856206552 bytes (816 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 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.1614 5 mods loaded, 5 mods active
                  States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
                  UC mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) 
                  UC FML{7.10.99.99} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar) 
                  UC Forge{10.13.4.1614} [Minecraft Forge] (forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar) 
                  UC examplemod{1.0} [examplemod] (bin) 
                  UE modtutoriel{1.0.0} [Mod Tutoriel] (bin) 
                  GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.5.0 NVIDIA 353.30' Renderer: 'GeForce GTX 960/PCIe/SSE2'
                  [16:56:55] [Client thread/INFO] [STDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:398]: #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\jeremyAOTW\Desktop\The Code Science\force source\eclipse\.\crash-reports\crash-2016-04-24_16.56.55-client.txt
                  Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
                  

                  et voici le fichier d’erreur
                  Merci d’avance.</init></init>

                  Merci à tous ceux qui m'aident  :)

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

                    “public static Item itemTutoriel;” Il faut le mettre à l’intérieur du corps de ta classe (entre les {} après “public class ModTutoriel”). Mais pourquoi tu lances Minecraft sans regarder les erreurs qu’eclipse doit t’indiquer ?

                    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
                    • W Hors-ligne
                      warcatss
                      dernière édition par

                      Excuse moi , je suis débutant et ma maîtrise du codage et d’éclipse n’est pas au point.

                      Merci à tous ceux qui m'aident  :)

                      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

                        Je te conseil de regarder les tutoriels vidéos dans ce cas.
                        Ça te permettra de mieux visualiser.

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

                          Bonjour , voici mes problèmes : 
                          -Quand je lance le client , j’ai juste l’item que je viens de créer sur eclipse avec des carrés noir et violet dans la barre d’items materials , avec comme nom item.itemTutoriel.name

                          voici les différents fichiers:

                          
                          package priver.common;
                          
                          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.SidedProxy;
                          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;
                          import cpw.mods.fml.relauncher.Side;
                          import priver.CommonProxy;
                          import net.minecraft.creativetab.CreativeTabs;
                          import net.minecraft.item.Item;
                          
                          @Mod(modid = "modtutoriel", name = "Mod Tutoriel", version = "1.0.0")
                          
                          public class ModTutoriel {
                          
                          static final String MODID = "modtutoriel";
                          
                          public static Item itemTutoriel;
                          public static Item epeeTest;
                          
                          @Instance("modtutoriel")
                          public static ModTutoriel instance;
                          
                          @SidedProxy(clientSide = "priver.proxy.ClientProxy", serverSide = "priver.proxy.CommonProxy")
                          public static CommonProxy proxy;
                          
                          @EventHandler
                          public void preInit(FMLPreInitializationEvent event)
                          {
                          itemTutoriel = new ItemTutoriel().setUnlocalizedName("itemTutoriel").setTextureName(ModTutoriel.MODID + ":itemtutoriel").setCreativeTab(CreativeTabs.tabMaterials);
                          GameRegistry.registerItem(itemTutoriel, "item_tutoriel");
                          epeeTest = new EpeeTest().setUnlocalizedName("epeeTest").setTextureName(ModTutoriel.MODID + ":IronSword").setCreativeTab(CreativeTabs.tabMaterials);
                          GameRegistry.registerItem(epeeTest, "epeeTest");
                          
                          }
                          
                          @EventHandler
                          public void init(FMLInitializationEvent event)
                          {
                          proxy.registerRender();
                          }
                          
                          @EventHandler
                          public void postInit(FMLPostInitializationEvent event)
                          {
                          
                          }
                          
                          }
                          
                          
                          
                          package priver.common;
                          
                          import net.minecraft.client.renderer.texture.IIconRegister;
                          import net.minecraft.creativetab.CreativeTabs;
                          import net.minecraft.entity.player.EntityPlayer;
                          import net.minecraft.item.Item;
                          import net.minecraft.item.ItemStack;
                          import net.minecraft.util.IIcon;
                          
                          public class ItemTutoriel extends Item {
                          private Object itemIcon;
                          
                          public ItemTutoriel(){
                          super();
                          }
                          @Override
                          public void registerIcons(IIconRegister iconregister)
                          {
                          this.itemIcon = iconregister.registerIcon(ModTutoriel.MODID + ":itemtutoriel");
                          }
                          
                          @Override
                          public IIcon getIcon(ItemStack stack, int renderPass, EntityPlayer player, ItemStack usingItem, int useRemaining)
                          {
                          return (IIcon) this.itemIcon;
                             }
                          
                          }
                          
                          

                          et les fichiers lang

                          item.itemTutoriel.name=Item Tutorial

                          item.itemTutoriel.name=Item Tutoriel

                          Je ne comprends pas ou est mon erreur , eclipse ne m’en affiche pas donc je vous demande conseil.
                          En vous remerciant.

                          Merci à tous ceux qui m'aident  :)

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

                            Tu as du te tromper dans le chemin vers les fichiers de texture et de langue, envoi un screen de ton dossier resources

                            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
                            • W Hors-ligne
                              warcatss
                              dernière édition par

                              le voici.

                              Merci à tous ceux qui m'aident  :)

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

                                Le dossier lang doit être dans le dossier modtutoriel (PS : pense à changer le nom quand même)

                                Après je peux pas dire grand chose d’autre vu qu’on voit pas tout sur le screen, un screen sur eclipse montrerai plus de choses

                                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
                                • C Hors-ligne
                                  commando24
                                  dernière édition par

                                  Bonjour je n’arrive pas à installer mes textures sur forge voilà mais log .

                                  [08:11:28] [Client thread/ERROR] [TEXTURE ERRORS]: +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
                                  [08:11:28] [Client thread/ERROR] [TEXTURE ERRORS]: The following texture errors were found.
                                  [08:11:28] [Client thread/ERROR] [TEXTURE ERRORS]: ==================================================
                                  [08:11:28] [Client thread/ERROR] [TEXTURE ERRORS]:   DOMAIN null
                                  [08:11:28] [Client thread/ERROR] [TEXTURE ERRORS]: –------------------------------------------------
                                  [08:11:28] [Client thread/ERROR] [TEXTURE ERRORS]:   domain null is missing 12 textures
                                  [08:11:28] [Client thread/ERROR] [TEXTURE ERRORS]:     domain null is missing a resource manager - it is probably a side-effect of automatic texture processing
                                  [08:11:28] [Client thread/ERROR] [TEXTURE ERRORS]: –-----------------------
                                  [08:11:28] [Client thread/ERROR] [TEXTURE ERRORS]:     The missing resources for domain null are:
                                  [08:11:28] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/items/saladecrudite.png
                                  [08:11:28] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/items/mcflurry.png
                                  [08:11:28] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/items/bigmac.png
                                  [08:11:28] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/items/frappefruitrouge.png
                                  [08:11:28] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/items/frappefraise.png
                                  [08:11:28] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/items/frappeabricot.png
                                  [08:11:28] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/items/eau.png
                                  [08:11:28] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/items/coca.png
                                  [08:11:28] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/items/boitedepoulet.png
                                  [08:11:28] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/items/frite.png
                                  [08:11:28] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/items/fanta.png
                                  [08:11:28] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/items/menuenfant.png
                                  [08:11:28] [Client thread/ERROR] [TEXTURE ERRORS]: –-----------------------
                                  [08:11:28] [Client thread/ERROR] [TEXTURE ERRORS]:     No other errors exist for domain null
                                  [08:11:28] [Client thread/ERROR] [TEXTURE ERRORS]: ==================================================
                                  [08:11:28] [Client thread/ERROR] [TEXTURE ERRORS]: +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=

                                  Alors que mon chemin d’accé est “C:\Users\T-o\Desktop\Personnel\Archive Forge\src\main\resources\assets\ModTEM\textures\items\eau.png”

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

                                    Pour les textures, le format du nom de la texture dans la method “setTextureName” est : ```java
                                    setTextureName([font=Ubuntu, sans-serifModTEM:tonitem.png]);

                                    Change le nom de ton dossier "%(#333333)[[font=Ubuntu, sans-serif]ModTEM" en minuscule.]
                                    1 réponse Dernière réponse Répondre Citer 0
                                    • F Hors-ligne
                                      Fraiden
                                      dernière édition par

                                      J’ai de nouveau un problème, eclipse veut pas créer les dossiers assets/***/lang, pourquoi ? J’ai fait toutes les manipulation pourtant.

                                      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

                                        Comment ça il ne veut pas ?

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

                                          Il ne crée pas les dossier, j’ai bien l’item dans le jeu mais j’ai pas les dossier qui mène vers le " en.US.lang et fr.FR.lang " donc je peut modifier son nom.

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

                                            Oui pq il ne veut pas ? Et sinon créées manuellement dans Windows

                                            Envoyé de mon RAINBOW LITE 4G en utilisant Tapatalk

                                            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
                                            • 1
                                            • 2
                                            • 7
                                            • 8
                                            • 9
                                            • 10
                                            • 11
                                            • 12
                                            • 13
                                            • 9 / 13
                                            • Premier message
                                              Dernier message
                                            Design by Woryk
                                            ContactMentions Légales

                                            MINECRAFT FORGE FRANCE © 2024

                                            Powered by NodeBB