Jump to content

Recommended Posts

Posted

So, I've decided to start my mod again from scratch since 1.9 was out. I create an intem (without texture yet) and I get this crash (I've read it, but can't find where I did wrong).

Source code: https://github.com/Velken/PotatiumCraft

 

---- Minecraft Crash Report ----

// I feel sad now :(

 

Time: 02/05/16 00:38

Description: Initializing game

 

java.lang.IllegalArgumentException: Multiple entries with same key: potatiumcraft=FMLMod:potatiumcraft{1.9-0.0.1} and potatiumcraft=FMLMod:potatiumcraft{1.9-0.0.1}

at com.google.common.collect.ImmutableMap.checkNoConflict(ImmutableMap.java:150)

at com.google.common.collect.RegularImmutableMap.checkNoConflictInBucket(RegularImmutableMap.java:104)

at com.google.common.collect.RegularImmutableMap.<init>(RegularImmutableMap.java:70)

at com.google.common.collect.ImmutableMap$Builder.build(ImmutableMap.java:254)

at com.google.common.collect.Maps.uniqueIndex(Maps.java:1166)

at com.google.common.collect.Maps.uniqueIndex(Maps.java:1140)

at net.minecraftforge.fml.common.Loader.identifyMods(Loader.java:365)

at net.minecraftforge.fml.common.Loader.loadMods(Loader.java:488)

at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:205)

at net.minecraft.client.Minecraft.startGame(Minecraft.java:472)

at net.minecraft.client.Minecraft.run(Minecraft.java:381)

at net.minecraft.client.main.Main.main(Main.java:118)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:497)

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(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:497)

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 com.google.common.collect.ImmutableMap.checkNoConflict(ImmutableMap.java:150)

at com.google.common.collect.RegularImmutableMap.checkNoConflictInBucket(RegularImmutableMap.java:104)

at com.google.common.collect.RegularImmutableMap.<init>(RegularImmutableMap.java:70)

at com.google.common.collect.ImmutableMap$Builder.build(ImmutableMap.java:254)

at com.google.common.collect.Maps.uniqueIndex(Maps.java:1166)

at com.google.common.collect.Maps.uniqueIndex(Maps.java:1140)

at net.minecraftforge.fml.common.Loader.identifyMods(Loader.java:365)

at net.minecraftforge.fml.common.Loader.loadMods(Loader.java:488)

at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:205)

at net.minecraft.client.Minecraft.startGame(Minecraft.java:472)

 

-- Initialization --

Details:

Stacktrace:

at net.minecraft.client.Minecraft.run(Minecraft.java:381)

at net.minecraft.client.main.Main.main(Main.java:118)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:497)

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(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:497)

at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)

at GradleStart.main(GradleStart.java:26)

 

-- System Details --

Details:

Minecraft Version: 1.9

Operating System: Windows 7 (amd64) version 6.1

Java Version: 1.8.0_73, Oracle Corporation

Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Oracle Corporation

Memory: 105618768 bytes (100 MB) / 402653184 bytes (384 MB) up to 708837376 bytes (676 MB)

JVM Flags: 0 total;

IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0

FML: MCP 9.23 Powered by Forge 12.16.0.1868 5 mods loaded, 0 mods active

States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored

mcp{9.19} [Minecraft Coder Pack] (minecraft.jar)

FML{8.0.99.99} [Forge Mod Loader] (forgeSrc-1.9-12.16.0.1868-1.9.jar)

Forge{12.16.0.1868} [Minecraft Forge] (forgeSrc-1.9-12.16.0.1868-1.9.jar)

potatiumcraft{1.9-0.0.1} [Potatium Craft] (modid-1.0.jar)

potatiumcraft{1.9-0.0.1} [Potatium Craft] (modid-1.0.jar)

Loaded coremods (and transformers):

GL info: ' Vendor: 'Intel' Version: '2.1.0 - Build 8.15.10.2869' Renderer: 'Mobile Intel® 4 Series Express Chipset Family'

Launched Version: 1.9

LWJGL: 2.9.4

OpenGL: Mobile Intel® 4 Series Express Chipset Family GL version 2.1.0 - Build 8.15.10.2869, Intel

GL Caps: Using GL 1.3 multitexturing.

Using GL 1.3 texture combiners.

Using framebuffer objects because EXT_framebuffer_object 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: English (US)

Profiler Position: N/A (disabled)

CPU: 2x Pentium® Dual-Core CPU T4500 @ 2.30GHz

 

Creating Potatium Craft, please wait.

For a better (and yet poor explanation of my WIP mod, go to: Potatium Craft Overview )

Posted
java.lang.IllegalArgumentException: Multiple entries with same key: potatiumcraft=FMLMod:potatiumcraft{1.9-0.0.1} and potatiumcraft=FMLMod:potatiumcraft{1.9-0.0.1}

  at com.google.common.collect.ImmutableMap.checkNoConflict(ImmutableMap.java:150)

  at com.google.common.collect.RegularImmutableMap.checkNoConflictInBucket(RegularImmutableMap.java:104)

  at com.google.common.collect.RegularImmutableMap.<init>(RegularImmutableMap.java:70)

  at com.google.common.collect.ImmutableMap$Builder.build(ImmutableMap.java:254)

  at com.google.common.collect.Maps.uniqueIndex(Maps.java:1166)

  at com.google.common.collect.Maps.uniqueIndex(Maps.java:1140)

  at net.minecraftforge.fml.common.Loader.identifyMods(Loader.java:365)

  at net.minecraftforge.fml.common.Loader.loadMods(Loader.java:488)

 

You've somehow managed to create two compiled classes annotated with

@Mod

using the same mod ID. Only one of these is present in your source code, so I suggest running the

clean

Gradle task and then re-running Minecraft.

 

Your item/model registration code is quite messy and outdated. I explain how to properly register items and their models in 1.9 here.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.