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 container (type backpack / sac à dos)

    Planifier Épinglé Verrouillé Déplacé Les interfaces (GUI) et les container
    1.7.10
    82 Messages 23 Publieurs 25.5k Vues 1 Watching
    Charger plus de messages
    • Du plus ancien au plus récent
    • Du plus récent au plus ancien
    • Les plus votés
    Répondre
    • Répondre à l'aide d'un nouveau sujet
    Se connecter pour répondre
    Ce sujet a été supprimé. Seuls les utilisateurs avec les droits d'administration peuvent le voir.
    • robin4002R Hors-ligne
      robin4002 Moddeurs confirmés Rédacteurs Administrateurs
      dernière édition par

      Il faut créer une classe nommé EmotionGuiHandler et mettre ce que tu as mis dans le commonproxy dedans.

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

        maintenant ca me mets ca:

        [12:39:32] [Client thread/INFO] [STDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:388]: –-- Minecraft Crash Report ----
        // There are four lights!
        
        Time: 29/07/17 12:39
        Description: Initializing game
        
        java.lang.NullPointerException: Initializing game
        at cpw.mods.fml.common.network.NetworkRegistry.registerGuiHandler(NetworkRegistry.java:219)
        at com.mod.drakania.DrakaMod.Init(DrakaMod.java:83)
        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.initializeMods(Loader.java:737)
        at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:311)
        at net.minecraft.client.Minecraft.startGame(Minecraft.java:597)
        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)
        
        A detailed walkthrough of the error, its code path and all known details is as follows:
        ---------------------------------------------------------------------------------------
        
        -- Head --
        Stacktrace:
        at cpw.mods.fml.common.network.NetworkRegistry.registerGuiHandler(NetworkRegistry.java:219)
        at com.mod.drakania.DrakaMod.Init(DrakaMod.java:83)
        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.initializeMods(Loader.java:737)
        at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:311)
        at net.minecraft.client.Minecraft.startGame(Minecraft.java:597)
        
        -- Initialization --
        Details:
        Stacktrace:
        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)
        
        -- System Details --
        Details:
        Minecraft Version: 1.7.10
        Operating System: Windows 10 (amd64) version 10.0
        Java Version: 1.8.0_141, Oracle Corporation
        Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
        Memory: 673757312 bytes (642 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 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.05} [Minecraft Coder Pack] (minecraft.jar) 
        UCHI FML{7.10.99.99} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar) 
        UCHI Forge{10.13.4.1614} [Minecraft Forge] (forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar) 
        UCHE drakamod{1.0.0} [DrakaMod] (bin) 
        GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.5.0 NVIDIA 375.63' Renderer: 'GeForce GT 620/PCIe/SSE2'
        Launched Version: 1.7.10
        LWJGL: 2.9.1
        OpenGL: GeForce GT 620/PCIe/SSE2 GL version 4.5.0 NVIDIA 375.63, NVIDIA Corporation
        GL Caps: Using GL 1.3 multitexturing.
        Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
        Anisotropic filtering is supported and maximum anisotropy is 16.
        Shaders are available because OpenGL 2.1 is supported.
        
        Is Modded: Definitely; Client brand changed to 'fml,forge'
        Type: Client (map_client.txt)
        Resource Packs: []
        Current Language: English (US)
        Profiler Position: N/A (disabled)
        Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
        Anisotropic Filtering: Off (1)
        [12:39:32] [Client thread/INFO] [STDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:398]: #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\florian\Desktop\forge-1.7.10-10.13.4.1614-1.7.10-src\eclipse\.\crash-reports\crash-2017-07-29_12.39.32-client.txt
        AL lib: (EE) alc_cleanup: 1 device not closed
        Java HotSpot(TM) 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

          Toujours la même erreur.
          Une fois de plus vérifies la déclaration de ta variable instance.
          Il doit avoir l’annotation @Instance au dessus avec ton modid.

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

            @‘robin4002’:

            Toujours la même erreur.
            Une fois de plus vérifies la déclaration de ta variable instance.
            Il doit avoir l’annotation @Instance au dessus avec ton modid.

            justement je me perds dans le code et je ne sais plus dans quelle classe est déclarer la variable instance

            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

              Dans la classe principale.

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

                http://prntscr.com/g1s6w7 ici ?

                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

                  Fais un ctrl+clic sur le mot INSTANCE juste avant le new EmotionGuiHandler et tu sera au bon endroit.

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

                    vraiment désole de te deranger mais ca me mets encore une erreur que je ne comprends pas.

                    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 10 (amd64) version 10.0
                    Java Version: 1.8.0_141, Oracle Corporation
                    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
                    Memory: 777526544 bytes (741 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 375.63' Renderer: 'GeForce GT 620/PCIe/SSE2'
                    [14:56:56] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization
                    [14:56:56] [Client thread/INFO] [FML]: MinecraftForge v10.13.4.1614 Initialized
                    [14:56:56] [Client thread/INFO] [FML]: Replaced 183 ore recipies
                    [14:56:56] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization
                    [14:56:57] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer
                    [14:56:57] [Client thread/INFO] [FML]: Searching C:\Users\florian\Desktop\forge-1.7.10-10.13.4.1614-1.7.10-src\eclipse\mods for mods
                    [14:57:05] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load
                    [14:57:05] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, drakamod] at CLIENT
                    [14:57:05] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, drakamod] at SERVER
                    [14:57:06] [Client thread/ERROR] [FML]: Fatal errors were detected during the transition from CONSTRUCTING to PREINITIALIZATION. Loading cannot continue
                    [14:57:06] [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)
                    UE drakamod{1.0.0} [DrakaMod] (bin)
                    [14:57:06] [Client thread/ERROR] [FML]: The following problems were captured during this phase
                    [14:57:06] [Client thread/ERROR] [FML]: Caught exception from drakamod
                    java.lang.IllegalAccessException: Can not set static final java.lang.Object field com.mod.drakania.DrakaMod.INSTANCE to com.mod.drakania.DrakaMod
                    at sun.reflect.UnsafeFieldAccessorImpl.throwFinalFieldIllegalAccessException(Unknown Source) ~[?:1.8.0_141]
                    at sun.reflect.UnsafeFieldAccessorImpl.throwFinalFieldIllegalAccessException(Unknown Source) ~[?:1.8.0_141]
                    at sun.reflect.UnsafeQualifiedStaticObjectFieldAccessorImpl.set(Unknown Source) ~[?:1.8.0_141]
                    at java.lang.reflect.Field.set(Unknown Source) ~[?:1.8.0_141]
                    at cpw.mods.fml.common.FMLModContainer.parseSimpleFieldAnnotation(FMLModContainer.java:427) ~[forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar:?]
                    at cpw.mods.fml.common.FMLModContainer.processFieldAnnotations(FMLModContainer.java:358) ~[forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar:?]
                    at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:513) ~[forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar:?]
                    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_141]
                    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_141]
                    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_141]
                    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_141]
                    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_141]
                    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_141]
                    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_141]
                    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_141]
                    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_141]
                    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_141]
                    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_141]
                    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_141]
                    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:57:06] [Client thread/INFO] [STDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:388]: –-- Minecraft Crash Report ----
                    // Daisy, daisy...
                    
                    Time: 29/07/17 14:57
                    Description: There was a severe problem during mod loading that has caused the game to fail
                    
                    cpw.mods.fml.common.LoaderException: java.lang.IllegalAccessException: Can not set static final java.lang.Object field com.mod.drakania.DrakaMod.INSTANCE to com.mod.drakania.DrakaMod
                    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.IllegalAccessException: Can not set static final java.lang.Object field com.mod.drakania.DrakaMod.INSTANCE to com.mod.drakania.DrakaMod
                    at sun.reflect.UnsafeFieldAccessorImpl.throwFinalFieldIllegalAccessException(Unknown Source)
                    at sun.reflect.UnsafeFieldAccessorImpl.throwFinalFieldIllegalAccessException(Unknown Source)
                    at sun.reflect.UnsafeQualifiedStaticObjectFieldAccessorImpl.set(Unknown Source)
                    at java.lang.reflect.Field.set(Unknown Source)
                    at cpw.mods.fml.common.FMLModContainer.parseSimpleFieldAnnotation(FMLModContainer.java:427)
                    at cpw.mods.fml.common.FMLModContainer.processFieldAnnotations(FMLModContainer.java:358)
                    at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:513)
                    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 10 (amd64) version 10.0
                    Java Version: 1.8.0_141, Oracle Corporation
                    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
                    Memory: 849390608 bytes (810 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 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
                    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)
                    UE drakamod{1.0.0} [DrakaMod] (bin)
                    GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.5.0 NVIDIA 375.63' Renderer: 'GeForce GT 620/PCIe/SSE2'
                    [14:57:06] [Client thread/INFO] [STDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:398]: #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\florian\Desktop\forge-1.7.10-10.13.4.1614-1.7.10-src\eclipse\.\crash-reports\crash-2017-07-29_14.57.06-client.txt
                    Java HotSpot(TM) 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

                      L’instance ne doit pas être final.

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

                        Merci beaucoup ! je t’adore x)
                        Edit: par contre maintenant mes items se drop
                        http://prntscr.com/g1sq0f et ca aussi x)

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

                          Merci beaucoup ! je t’adore x)
                          Edit: par contre maintenant mes items se drop
                          http://prntscr.com/g1sq0f et ca aussi x)


                          re, est-il possible d’interdire deux backpack dans l’inventaire ?
                          genre avec un public void (ItemStack itemStack, EntityPlayer player, List list, boolean par4)
                          {
                          if (itemStack.= null)
                          {
                          String owner = itemStack. (“Interdit”);
                          list.add(EnumChatFormatting.RED + owner);
                          }
                          }

                          ?

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

                            Merci beaucoup ! je t’adore x)
                            Edit: par contre maintenant mes items se drop
                            http://prntscr.com/g1sq0f et ca aussi x)
                            re, est-il possible d’interdire deux backpack dans l’inventaire ?
                            genre avec un public void (ItemStack itemStack, EntityPlayer player, List list, boolean par4)
                            {
                            if (itemStack.= null)
                            {
                            String owner = itemStack. (“Interdit”);
                            list.add(EnumChatFormatting.RED + owner);
                            }
                            }

                            ?

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

                              @Zoulette:

                              Merci beaucoup ! je t’adore x)
                              Edit: par contre maintenant mes items se drop
                              http://prntscr.com/g1sq0f et ca aussi x)
                              re, est-il possible d’interdire deux backpack dans l’inventaire ?
                              genre avec un public void (ItemStack itemStack, EntityPlayer player, List list, boolean par4)
                              {
                              if (itemStack.= null)
                              {
                              String owner = itemStack. (“Interdit”);
                              list.add(EnumChatFormatting.RED + owner);
                              }
                              }

                              ?

                              C’est assez compliqué à faire car il faudrait soit modifier le code de minecraft soit empêcher à plein d’endroits qu’un nouvel item soit ajouté. En revanche ce qui est plus simple c’est de sauvegarder le backpack sur le joueur et ainsi peu importe quel backpack le joueur ouvrira ce sera le même (c’est le fonctionnement du coffre de l’end)

                              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
                              • U Hors-ligne
                                Ultro Who
                                dernière édition par

                                Comment faire pour créer plusieurs Backpack ? Quel Classe dois je modifier ?

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

                                  Bonjour, Je sais que j’y m’y prend un peu tard ^^, mais bon j’ai un problème sur le BackPack, J’ai bien repris le code comme dit dans le tuto, mais lorsque J’arrive sur le jeux et que je clique droit sur l’item, Le crash me met un null pointer exception sur cette ligne:

                                  player.openGui(ModAqualiteFight.INSTANCE, 0, world, (int) player.posX, (int) player.posY, (int) player.posZ);

                                  Etrange, j’ai cherché comme je pouvais mais je ne trouve rien d’étrange, Merci Par avance pour votre aide ^^

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

                                  MINECRAFT FORGE FRANCE © 2024

                                  Powered by NodeBB