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 simple

    Planifier Épinglé Verrouillé Déplacé Les items
    1.8.x
    145 Messages 20 Publieurs 38.1k Vues 2 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.
    • conquerorguepardC Hors-ligne
      conquerorguepard
      dernière édition par

      {
         "parent": "builtin/generated",
         "textures": {
             "layer0": "modid:items/itemTutoriel"
         },
         "display": {
             "thirdperson": {
                 "rotation": [ -90, 0, 0 ],
                 "translation": [ 0, 1, -3 ],
                 "scale": [ 0.55, 0.55, 0.55 ]
             },
             "firstperson": {
                 "rotation": [ 0, -135, 25 ],
                 "translation": [ 0, 4, 2 ],
                 "scale": [ 1.7, 1.7, 1.7 ]
             }
         }
      }
      

      –—

      ^
       |
      ça je le trouve où dans eclipse?

      Et “Refais le gradlew eclipse”, c’est à dire? Je dois faire quoi exactement :/?

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

        Ah oui effectivement, il y a pas marqué dans le tuto où il faut mettre le json, il faut que t’ailles dans src/main/ressources/assets/tonmodid/models/item (créée les dossiers qu’il faut) et que tu y enregistres un fichier “LeNomDeLitem.json” où tu mets le contenu qu’il y a dans le tuto.

        Pour le gradlew eclipse, si t’a suivi le tuto “Installer et configurer l’espace de travail Forge”, tu devrais savoir ce que c’est.

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

          C’est tout bon. Pour gradlew eclipse je vais voir. Je m’en rappelle plus bien.

          J’ai tenté de redémarrer le jeu, ça à lancer le luncher et avant que ça marche (5/7), ça a crash et a marqué Using GL 1.3 texture combiners.
          Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
          Shaders are available because OpenGL 2.1 is supported.
          VBOs are available because OpenGL 1.5 is supported.

          Using VBOs: No
              Is Modded: Definitely; Client brand changed to ‘fml,forge’
              Type: Client (map_client.txt)
              Resource Packs:
              Current Language: Français (France)
              Profiler Position: N/A (disabled)
              CPU: 2x Intel® Pentium® CPU 2020M @ 2.40GHz
          [16:06:15] [Client thread/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:612]: #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\Conqueror\Documents\Modding\forge-1.8.8\run.\crash-reports\crash-2016-03-28_16.06.15-client.txt
          AL lib: (EE) alc_cleanup: 1 device not closed
          Java HotSpot™ 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release

          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

            Il faudrait plutôt un copier/coller de ce qui se trouve dans ce fichier : C:\Users\Conqueror\Documents\Modding\forge-1.8.8\run.\crash-reports\crash-2016-03-28_16.06.15-client.txt

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

              –-- Minecraft Crash Report ----
              // There are four lights!
              
              Time: 28/03/16 16:06
              Description: Initializing game
              
              java.lang.NullPointerException: Initializing game
              at fr.minecraftforgefrance.modzoic.proxy.ClientProxy.registerRender(ClientProxy.java:15)
              at fr.minecraftforgefrance.modzoic.common.Modzoic.init(Modzoic.java:36)
              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.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:559)
              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 net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:211)
              at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:189)
              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 net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:118)
              at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:729)
              at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:307)
              at net.minecraft.client.Minecraft.startGame(Minecraft.java:532)
              at net.minecraft.client.Minecraft.run(Minecraft.java:360)
              at net.minecraft.client.main.Main.main(Main.java:116)
              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 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.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
              at GradleStart.main(GradleStart.java:26)
              
              A detailed walkthrough of the error, its code path and all known details is as follows:
              ---------------------------------------------------------------------------------------
              
              -- Head --
              Stacktrace:
              at fr.minecraftforgefrance.modzoic.proxy.ClientProxy.registerRender(ClientProxy.java:15)
              at fr.minecraftforgefrance.modzoic.common.Modzoic.init(Modzoic.java:36)
              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.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:559)
              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 net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:211)
              at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:189)
              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 net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:118)
              at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:729)
              at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:307)
              at net.minecraft.client.Minecraft.startGame(Minecraft.java:532)
              
              -- Initialization --
              Details:
              Stacktrace:
              at net.minecraft.client.Minecraft.run(Minecraft.java:360)
              at net.minecraft.client.main.Main.main(Main.java:116)
              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 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.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
              at GradleStart.main(GradleStart.java:26)
              
              -- System Details --
              Details:
              Minecraft Version: 1.8.8
              Operating System: Windows 8.1 (amd64) version 6.3
              Java Version: 1.8.0_77, Oracle Corporation
              Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
              Memory: 820643296 bytes (782 MB) / 1056309248 bytes (1007 MB) up to 1056309248 bytes (1007 MB)
              JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
              IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
              FML: MCP 9.18 Powered by Forge 11.15.0.1655 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
              UCHI mcp{9.18} [Minecraft Coder Pack] (minecraft.jar)
              UCHI FML{8.0.99.99} [Forge Mod Loader] (forgeSrc-1.8.8-11.15.0.1655.jar)
              UCHI Forge{11.15.0.1655} [Minecraft Forge] (forgeSrc-1.8.8-11.15.0.1655.jar)
              UCHE modzoic{1.0.0} [Modzoic] (bin)
              Loaded coremods (and transformers):
              GL info: ' Vendor: 'Intel' Version: '4.0.0 - Build 10.18.10.3308' Renderer: 'Intel(R) HD Graphics'
              Launched Version: 1.8.8
              LWJGL: 2.9.4
              OpenGL: Intel(R) HD Graphics GL version 4.0.0 - Build 10.18.10.3308, Intel
              GL Caps: Using GL 1.3 multitexturing.
              Using GL 1.3 texture combiners.
              Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
              Shaders are available because OpenGL 2.1 is supported.
              VBOs are available because OpenGL 1.5 is supported.
              
              Using VBOs: No
              Is Modded: Definitely; Client brand changed to 'fml,forge'
              Type: Client (map_client.txt)
              Resource Packs:
              Current Language: Français (France)
              Profiler Position: N/A (disabled)
              CPU: 2x Intel(R) Pentium(R) CPU 2020M @ 2.40GHz
              
              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

                Inutile de m’envoyer ça par mp. Et mets la balise code à l’avenir pour les copier/coller de rapport de crash.
                Tu as quoi à la ligne 15 de ton client proxy ?

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

                  @‘robin4002’:

                  Inutile de m’envoyer ça par mp. Et mets la balise code à l’avenir pour les copier/coller de rapport de crash.
                  Tu as quoi à la ligne 15 de ton client proxy ?

                  registerMesher.getItemModelMesher().register(Modzoic.meatEpanterias, 0, new ModelResourceLocation(“modid” + “:MeatEpanterias”, “inventory”));

                  Balise de code?

                  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

                    Tu enregistres le ModelMesher avant que l’item soit initialisé, c’est surement ça la cause du crash.
                    Tu peux envoyer ta classe principale ?

                    La balise de code c’est celle en rouge :

                    Tu peux aussi l’entrer manuellement avec :

                    ton copier/coller ici[/ code]

                    sans l'espace entre / et code
                    Il y a aussi la balise java qui s'utilise de la même façon (en vert sur mon image) pour le code java.
                    
                    1 réponse Dernière réponse Répondre Citer 0
                    • conquerorguepardC Hors-ligne
                      conquerorguepard
                      dernière édition par

                      Ma classe principal c’est “modzoic” je crois.

                      –-- Minecraft Crash Report ----
                      // My bad.
                      
                      Time: 28/03/16 16:53
                      Description: Initializing game
                      
                      java.lang.NullPointerException: Initializing game
                          at fr.minecraftforgefrance.modzoic.proxy.ClientProxy.registerRender(ClientProxy.java:15)
                          at fr.minecraftforgefrance.modzoic.common.Modzoic.init(Modzoic.java:36)
                          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.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:559)
                          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 net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:211)
                          at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:189)
                          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 net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:118)
                          at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:729)
                          at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:307)
                          at net.minecraft.client.Minecraft.startGame(Minecraft.java:532)
                          at net.minecraft.client.Minecraft.run(Minecraft.java:360)
                          at net.minecraft.client.main.Main.main(Main.java:116)
                          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 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.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
                          at GradleStart.main(GradleStart.java:26)
                      
                      A detailed walkthrough of the error, its code path and all known details is as follows:
                      ---------------------------------------------------------------------------------------
                      
                      -- Head --
                      Stacktrace:
                          at fr.minecraftforgefrance.modzoic.proxy.ClientProxy.registerRender(ClientProxy.java:15)
                          at fr.minecraftforgefrance.modzoic.common.Modzoic.init(Modzoic.java:36)
                          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.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:559)
                          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 net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:211)
                          at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:189)
                          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 net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:118)
                          at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:729)
                          at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:307)
                          at net.minecraft.client.Minecraft.startGame(Minecraft.java:532)
                      
                      -- Initialization --
                      Details:
                      Stacktrace:
                          at net.minecraft.client.Minecraft.run(Minecraft.java:360)
                          at net.minecraft.client.main.Main.main(Main.java:116)
                          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 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.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
                          at GradleStart.main(GradleStart.java:26)
                      
                      -- System Details --
                      Details:
                          Minecraft Version: 1.8.8
                          Operating System: Windows 8.1 (amd64) version 6.3
                          Java Version: 1.8.0_77, Oracle Corporation
                          Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
                          Memory: 846585352 bytes (807 MB) / 1056309248 bytes (1007 MB) up to 1056309248 bytes (1007 MB)
                          JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
                          IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
                          FML: MCP 9.18 Powered by Forge 11.15.0.1655 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
                          UCHI    mcp{9.18} [Minecraft Coder Pack] (minecraft.jar)
                          UCHI    FML{8.0.99.99} [Forge Mod Loader] (forgeSrc-1.8.8-11.15.0.1655.jar)
                          UCHI    Forge{11.15.0.1655} [Minecraft Forge] (forgeSrc-1.8.8-11.15.0.1655.jar)
                          UCHE    modzoic{1.0.0} [Modzoic] (bin)
                          Loaded coremods (and transformers):
                          GL info: ' Vendor: 'Intel' Version: '4.0.0 - Build 10.18.10.3308' Renderer: 'Intel(R) HD Graphics'
                          Launched Version: 1.8.8
                          LWJGL: 2.9.4
                          OpenGL: Intel(R) HD Graphics GL version 4.0.0 - Build 10.18.10.3308, Intel
                          GL Caps: Using GL 1.3 multitexturing.
                      Using GL 1.3 texture combiners.
                      Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
                      Shaders are available because OpenGL 2.1 is supported.
                      VBOs are available because OpenGL 1.5 is supported.
                      
                          Using VBOs: No
                          Is Modded: Definitely; Client brand changed to 'fml,forge'
                          Type: Client (map_client.txt)
                          Resource Packs:
                          Current Language: Français (France)
                          Profiler Position: N/A (disabled)
                          CPU: 2x Intel(R) Pentium(R) CPU 2020M @ 2.40GHz
                      
                      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 c’est Modzoic, il me faudrait le code de cette dernière.

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

                          Quel code?
                          Tiens si ça peut t’aider (classe principale, du nom de Modzoic.java):

                          package fr.minecraftforgefrance.modzoic.common;
                          
                          import fr.minecraftforgefrance.modzoic.proxy.CommonProxy;
                          import net.minecraft.item.Item;
                          import net.minecraftforge.fml.common.Mod;
                          import net.minecraftforge.fml.common.Mod.EventHandler;
                          import net.minecraftforge.fml.common.Mod.Instance;
                          import net.minecraftforge.fml.common.SidedProxy;
                          import net.minecraftforge.fml.common.event.FMLInitializationEvent;
                          import net.minecraftforge.fml.common.event.FMLPostInitializationEvent;
                          import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
                          import net.minecraftforge.fml.common.registry.GameRegistry;
                          
                          @Mod(modid = "modzoic", name = "Modzoic", version = "1.0.0")
                          
                          public class Modzoic
                          {
                              @Instance("modzoic")
                              public static Modzoic instance;
                          
                              @SidedProxy(clientSide = "fr.minecraftforgefrance.modzoic.proxy.ClientProxy", serverSide = "fr.minecraftforgefrance.modzoic.proxy.CommonProxy")
                              public static CommonProxy proxy;
                          
                              public static Item meatEpanterias;
                          
                              @EventHandler
                              public void preInit(FMLPreInitializationEvent event)
                              {
                                  meatEpanterias = new MeatEpanterias();
                                  GameRegistry.registerItem(meatEpanterias, "MeatEpanterias");
                              }
                          
                              @EventHandler
                              public void init(FMLInitializationEvent event)
                              {
                                  proxy.registerRender();
                              }
                          
                              @EventHandler
                              public void postInit(FMLPostInitializationEvent event)
                              {
                          
                              }
                          }
                          
                          1 réponse Dernière réponse Répondre Citer 0
                          • AymericRedA Hors-ligne
                            AymericRed
                            dernière édition par

                            Ton proxy est bien appelé après avoir init l’item, envoie ton proxy en entier (avec balise java (la tasse) svp), ça doit être registerMesher qui est null

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

                              client

                              package fr.minecraftforgefrance.modzoic.proxy;
                              
                              import fr.minecraftforgefrance.modzoic.common.MeatEpanterias;
                              import fr.minecraftforgefrance.modzoic.common.Modzoic;
                              import net.minecraft.client.Minecraft;
                              import net.minecraft.client.resources.model.ModelResourceLocation;
                              import net.minecraft.client.renderer.entity.RenderItem;
                              
                              public class ClientProxy extends CommonProxy
                              {
                                  RenderItem registerMesher = Minecraft.getMinecraft().getRenderItem();
                                  @Override
                                  public void registerRender()
                                  {
                                      registerMesher.getItemModelMesher().register(Modzoic.meatEpanterias, 0, new ModelResourceLocation("modid" + ":MeatEpanterias", "inventory"));
                                  }
                              }
                              

                              common

                              package fr.minecraftforgefrance.modzoic.proxy;
                              
                              public class CommonProxy
                              {
                                  public void registerRender()
                                  {
                              
                                  }
                              }
                              
                              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

                                Mets la ligne RenderItem registerMesher = …
                                à l’intérieur de la fonction registerRender

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

                                  Comme ça?
                                  Cela me met pleins de croix rouges.

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

                                    Whaaaaatttt, non pas entre les () mais entre les {}, ce qu’il y a entre les () c’est les paramètres, pas le fonction en elle même

                                    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
                                    • robin4002R Hors-ligne
                                      robin4002 Moddeurs confirmés Rédacteurs Administrateurs
                                      dernière édition par

                                      À l’intérieur de la fonction c’est entre les accolades. Entre les parenthèse ce sont les arguments.
                                      Je te conseil de lire le tutoriel ou regarder la vidéo sur la base de java.

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

                                        Mais y’a déjà registerMesher.getItemModelMesher().register(Modzoic.meatEpanterias, 0, new ModelResourceLocation(“modid” + “:MeatEpanterias”, “inventory”)); entre les {} :/…
                                        Les tutos je les ai vu mais j’ai pas tout retenu

                                        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

                                          Tu peux mettre plusieurs instructions dans une fonction

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

                                            Je regarderai de nouveau la vidéo sur java quand j’aurai le temps.
                                            Comme cela?

                                            Error:
                                            registerMesher cannot be resolved

                                            1 réponse Dernière réponse Répondre Citer 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 7
                                            • 8
                                            • 4 / 8
                                            • Premier message
                                              Dernier message
                                            Design by Woryk
                                            ContactMentions Légales

                                            MINECRAFT FORGE FRANCE © 2024

                                            Powered by NodeBB