Navigation

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    SOLVED Mon jeu crash

    1.7.x
    1.7.10
    2
    3
    216
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Ravriel
      Ravriel last edited by

      En poursuivant avec le problème de nom des items, (post précédent) j’ai développé deux autres items et un autre bloc mais mon jeu crash à présent :

      ---- Minecraft Crash Report ----
      // Surprise! Haha. Well, this is awkward.
      
      Time: 10/11/18 17:50
      Description: Initializing game
      
      java.lang.IllegalArgumentException: The name pfm:pfm has been registered twice, for com.ravriel.pfm.Oridium_Nugget@950f4b and com.ravriel.pfm.Oridium_Ingot@cdcb.
      	at cpw.mods.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:410)
      	at cpw.mods.fml.common.registry.GameData.registerItem(GameData.java:849)
      	at cpw.mods.fml.common.registry.GameData.registerItem(GameData.java:812)
      	at cpw.mods.fml.common.registry.GameRegistry.registerItem(GameRegistry.java:149)
      	at cpw.mods.fml.common.registry.GameRegistry.registerItem(GameRegistry.java:137)
      	at com.ravriel.pfm.pfm.preInit(pfm.java:51)
      	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)
      	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)
      
      
      A detailed walkthrough of the error, its code path and all known details is as follows:
      ---------------------------------------------------------------------------------------
      
      -- Head --
      Stacktrace:
      	at cpw.mods.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:410)
      	at cpw.mods.fml.common.registry.GameData.registerItem(GameData.java:849)
      	at cpw.mods.fml.common.registry.GameData.registerItem(GameData.java:812)
      	at cpw.mods.fml.common.registry.GameRegistry.registerItem(GameRegistry.java:149)
      	at cpw.mods.fml.common.registry.GameRegistry.registerItem(GameRegistry.java:137)
      	at com.ravriel.pfm.pfm.preInit(pfm.java:51)
      	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)
      	at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:243)
      	at net.minecraft.client.Minecraft.startGame(Minecraft.java:522)
      
      -- 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 (x86) version 10.0
      	Java Version: 1.8.0_171, Oracle Corporation
      	Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
      	Memory: 696065864 bytes (663 MB) / 1037959168 bytes (989 MB) up to 1037959168 bytes (989 MB)
      	JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
      	AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
      	IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
      	FML: MCP v9.05 FML v7.10.99.99 Minecraft Forge 10.13.4.1558 4 mods loaded, 4 mods active
      	States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
      	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.1558-1.7.10.jar) 
      	UCH	Forge{10.13.4.1558} [Minecraft Forge] (forgeSrc-1.7.10-10.13.4.1558-1.7.10.jar) 
      	UCE	pfm{0.1} [Plasmania Faction Mod] (bin) 
      	GL info: ' Vendor: 'ATI Technologies Inc.' Version: '4.5.13399 Compatibility Profile Context 15.201.1151.1008' Renderer: 'AMD Radeon HD 5800 Series'
      	Launched Version: 1.7.10
      	LWJGL: 2.9.1
      	OpenGL: AMD Radeon HD 5800 Series GL version 4.5.13399 Compatibility Profile Context 15.201.1151.1008, ATI Technologies Inc.
      	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)
      

      Pouvez vous m’aider s’il vous plaît ? Je suis débordé de problèmes moi 😕
      Merci d’avance.

      1 Reply Last reply Reply Quote 0
      • robin4002
        robin4002 Administrateurs Rédacteurs Moddeurs confirmés last edited by

        Salut,
        Tu as enregistré deux items avec le même nom de registre, pfm.
        Vu le code que tu as posté dans l’autre discussion, le soucis est là :
        GameRegistry.registerItem(Plasma_Nugget, “plasma_nugget”, “pfm”);
        Le pfm est en trop. (pareille pour l’autre enregistrement d’item).

        1 Reply Last reply Reply Quote 0
        • Ravriel
          Ravriel last edited by

          eh bien non justement ^^ c’est l’inverse, sur les items d’oridium il n’y avait pas le , “pfm” et je l’ai rajouter et cela fonctionne de nouveaux ^^ merci de ton aide tu était sur la bonne piste.

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          Design by Woryk
          Contact / Mentions Légales / Faire un don

          MINECRAFT FORGE FRANCE © 2018

          Powered by NodeBB