1

Mod keeps Crashing! I need Help

iDogftw's Avatar iDogftw12/17/13 7:26 pm
1 emeralds 403 8
12/18/2013 1:28 am
Gegy's Avatar Gegy
I am making a mod and I keep getting this crash report also It was working yesterday!

---- Minecraft Crash Report ----
// There are four lights!

Time: 12/17/13 6:21 PM
Description: There was a severe problem during mod loading that has caused the game to fail

cpw.mods.fml.common.LoaderException
at cpw.mods.fml.common.registry.ItemData.setName(ItemData.java:161)
at cpw.mods.fml.common.registry.GameData.setName(GameData.java:256)
at cpw.mods.fml.common.registry.GameRegistry.registerItem(GameRegistry.java:151)
at cpw.mods.fml.common.registry.GameRegistry.registerItem(GameRegistry.java:139)
at ExoCraft.Main.Main.preInit(Main.java:186)
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:540)
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.EventHandler.handleEvent(EventHandler.java:74)
at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
at com.google.common.eventbus.EventBus.post(EventBus.java:267)
at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:194)
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:174)
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.EventHandler.handleEvent(EventHandler.java:74)
at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
at com.google.common.eventbus.EventBus.post(EventBus.java:267)
at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:105)
at cpw.mods.fml.common.Loader.loadMods(Loader.java:520)
at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:181)
at net.minecraft.client.Minecraft.startGame(Minecraft.java:471)
at net.minecraft.client.Minecraft.run(Minecraft.java:806)
at net.minecraft.client.main.Main.main(Main.java:93)
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:131)
at net.minecraft.launchwrapper.Launch.main(Launch.java:27)


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- System Details --
Details:
Minecraft Version: 1.6.4
Operating System: Windows Vista (x86) version 6.0
Java Version: 1.7.0_45, Oracle Corporation
Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
Memory: 988051304 bytes (942 MB) / 1060372480 bytes (1011 MB) up to 1060372480 bytes (1011 MB)
JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Suspicious classes: FML and Forge are installed
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP v8.11 FML v6.4.3.883 Minecraft Forge 9.11.0.883 4 mods loaded, 4 mods active
mcp{8.09} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized
FML{6.4.3.883} [Forge Mod Loader] (bin) Unloaded->Constructed->Pre-initialized
Forge{9.11.0.883} [Minecraft Forge] (bin) Unloaded->Constructed->Pre-initialized
exocraft{Alpha v1.1} [ExoCraft] (bin) Unloaded->Constructed->Errored
Posted by iDogftw's Avatar
iDogftw
Level 2 : Apprentice Crafter
5

Create an account or sign in to comment.

8

1
12/18/2013 1:28 am
Level 45 : Master Blob
Gegy
Gegy's Avatar
Your registry code is in a preInit Method? I'd suggest you put it in a load method.

EDIT: Keep your config code in the preInit though
1
12/18/2013 12:14 am
Level 54 : Grandmaster Necromancer
X_pilot
X_pilot's Avatar
Found the error.
It says "at cpw.mods.fml.common.registry.ItemData.setName(ItemData.java:161)"
Meaning it's in the setName place. Also, in the code the only Item Registry you are doing is for the tools...
You have to add this to your code:
GameRegistry.registerItem(TanzaniteSuperSword, "TanzaniteSuperSword");
GameRegistry.registerItem(TanzaniteShard, "TanzaniteShard");
GameRegistry.registerItem(Tanzanite, "Tanzanite");
GameRegistry.registerItem(Prompt, "Prompt");
GameRegistry.registerItem(Amethyst, "Amethyst");
GameRegistry.registerItem(Peridot, "Peridot");


If that doesn't work, you might have to change the declarations from starting with a capital to starting with a lower case. Example:
Prompt ---> prompt

I hope I could help you. You can copy and paste the GameRegistry code above directly into your code
1
12/18/2013 12:00 am
Level 2 : Apprentice Crafter
iDogftw
iDogftw's Avatar
I posted my code please help!
1
12/17/2013 7:45 pm
Level 2 : Apprentice Crafter
iDogftw
iDogftw's Avatar
1
12/17/2013 7:37 pm
Level 23 : Expert Archer
Gamecool 10
Gamecool 10's Avatar
Yeah, it says "exocraft" crashed, you will have to post your code.
1
12/17/2013 7:33 pm
Level 2 : Apprentice Crafter
iDogftw
iDogftw's Avatar
their is WAAAAAAAY to much code!
1
12/17/2013 7:43 pm
Level 18 : Journeyman Network
xmx1024
xmx1024's Avatar
Most likely, the issue is a spelling issue.
1
12/17/2013 7:28 pm
Level 55 : Grandmaster Engineer
peonftw
peonftw's Avatar
To get any useful help, you probably have to post your code.
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome