NuclearPineapple Posted August 15, 2013 Posted August 15, 2013 My mod works fine inside eclipse but when i export and run it through the launcher this happens: ---- Minecraft Crash Report ---- // Don't be sad, have a hug! <3 Time: 15/08/13 19:37 Description: There was a severe problem during mod loading that has caused the game to fail cpw.mods.fml.common.LoaderException: java.lang.NoSuchFieldError: netherQuartz at cpw.mods.fml.common.LoadController.transition(LoadController.java:149) at cpw.mods.fml.common.Loader.initializeMods(Loader.java:698) at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:231) at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:506) at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:796) at net.minecraft.client.main.Main.main(SourceFile:101) 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:57) at net.minecraft.launchwrapper.Launch.main(Launch.java:18) Caused by: java.lang.NoSuchFieldError: netherQuartz at blocks2items.crafting.Recipes.addRecipes(Recipes.java:14) at blocks2items.crafting.BaseMod.load(BaseMod.java:24) 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.initializeMods(Loader.java:697) ... 10 more A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- System Details -- Details: Minecraft Version: 1.6.2 Operating System: Windows 8 (amd64) version 6.2 Java Version: 1.7.0_25, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 1022635984 bytes (975 MB) / 1297547264 bytes (1237 MB) up to 1905197056 bytes (1816 MB) JVM Flags: 2 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xms1G 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.04 FML v6.2.43.829 Minecraft Forge 9.10.0.829 4 mods loaded, 4 mods active mcp{8.04} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized FML{6.2.43.829} [Forge Mod Loader] (coremods) Unloaded->Constructed->Pre-initialized->Initialized Forge{9.10.0.829} [Minecraft Forge] (coremods) Unloaded->Constructed->Pre-initialized->Initialized B2I{1.0} [blocks2Items] (B2I.zip) Unloaded->Constructed->Pre-initialized->Errored This is the line that it is comlaining about: ItemStack QuartzOutput = new ItemStack(Item.netherQuartz, 4); I have Imported net.minecraft.item.Item and net.minecraft.item.ItemStack. It seems to do this for all vanilla items that i try to use. The forge version on the client is also newer than the forge version used to create the mod Development forge version: 819 Client forge version: 829 Quote
hydroflame Posted August 15, 2013 Posted August 15, 2013 did you run recompile.sh then reobfuscate.sh (or .bat if you're a windows user)? Quote how to debug 101:http://www.minecraftforge.net/wiki/Debug_101 -hydroflame, author of the forge revolution-
Mazetar Posted August 15, 2013 Posted August 15, 2013 Well I assume this works in eclipse just not when exported to MC? Three things then: 1. Is your modid lowercase only? if not you will have problems when exporting. 2. Are your package names lowercase only? 3. Have you reobfuscated the files before throwing them into mc? Quote If you guys dont get it.. then well ya.. try harder...
hydroflame Posted August 15, 2013 Posted August 15, 2013 Well I assume this works in eclipse just not when exported to MC? Three things then: 1. Is your modid lowercase only? if not you will have problems when exporting. 2. Are your package names lowercase only? 3. Have you reobfuscated the files before throwing them into mc? i didnt know about package lowercase, java convention is to not use uppercase for package anyway but thats good to know (yes i know not a lot of people follow java convention) Quote how to debug 101:http://www.minecraftforge.net/wiki/Debug_101 -hydroflame, author of the forge revolution-
Mazetar Posted August 15, 2013 Posted August 15, 2013 I'm not 100% sure about the package lowercase, but it was said in some thread and since it is the convention I'd set is as all lowercase regardless Quote If you guys dont get it.. then well ya.. try harder...
NuclearPineapple Posted August 15, 2013 Author Posted August 15, 2013 reobfuscating does not return any files for me, my mod is in a separate folder but it dosnt work when i drag the package in the minecraft source folder either. I had taken the files from the bin folder in the elclipse workspace directory. Quote
NuclearPineapple Posted August 15, 2013 Author Posted August 15, 2013 by my mod being in a separate folder i meant project Quote
hydroflame Posted August 15, 2013 Posted August 15, 2013 I had taken the files from the bin folder in the elclipse workspace directory. well the bin directory is not obfuscated so its normal it crash reobfuscating does not return any files for me, my mod is in a separate folder but it dosnt work when i drag the package in the minecraft source folder either. i dont understand why peopel do that, it only causes problem later :\ Quote how to debug 101:http://www.minecraftforge.net/wiki/Debug_101 -hydroflame, author of the forge revolution-
larsgerrits Posted August 15, 2013 Posted August 15, 2013 Try to copy your source and resource folders to your mcp/src/minecraft, run recompile and than reobfuscate-srg. That should work. Quote Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support. 1.12 -> 1.13 primer by williewillus. 1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support. http://www.howoldisminecraft1710.today/
NuclearPineapple Posted August 15, 2013 Author Posted August 15, 2013 It worked, thanks everyone. Quote
Recommended Posts
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.