Posted July 11, 201312 yr So my second topic here and it works awesome. i was hoping to get help again but this time with something else. so i have just finished my mod and got it in to class files, textures working and everything. tho in my mods/assets folder in .minecraft when i have my mod in a zip like this: download here: i get a crash report which looks like this. but when i have it just as a folder inside the assets/mods folder the mod loads properly. anybody knows how to fix this. (So my mod works when i have it as a folder in the mods/assets folder) ---- Minecraft Crash Report ---- // This doesn't make any sense! Time: 10/07/13 22:36 Description: Failed to start game cpw.mods.fml.common.LoaderException: java.lang.ClassNotFoundException: grubseMark2.Mark2 at cpw.mods.fml.common.LoadController.transition(LoadController.java:142) at cpw.mods.fml.common.Loader.loadMods(Loader.java:513) at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:160) at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:410) at net.minecraft.client.MinecraftAppletImpl.func_71384_a(SourceFile:56) at net.minecraft.client.Minecraft.run(Minecraft.java:732) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.ClassNotFoundException: grubseMark2.Mark2 at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:238) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at cpw.mods.fml.common.ModClassLoader.loadClass(ModClassLoader.java:56) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:425) 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:314) 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.propogateStateMessage(LoadController.java:165) 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:314) 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:98) at cpw.mods.fml.common.Loader.loadMods(Loader.java:503) ... 5 more Caused by: java.lang.NullPointerException at org.objectweb.asm.ClassReader.<init>(Unknown Source) at codechicken.core.asm.ASMHelper.createClassNode(ASMHelper.java:109) at codechicken.core.asm.ClassHeirachyManager.transform(ClassHeirachyManager.java:91) at cpw.mods.fml.relauncher.RelaunchClassLoader.runTransformers(RelaunchClassLoader.java:352) at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:225) ... 32 more
July 11, 201312 yr Change your modid to only lowercase. .zip has a problem with it otherwise If you guys dont get it.. then well ya.. try harder...
July 11, 201312 yr Change your modid to only lowercase. .zip has a problem with it otherwise And all file and folder names. Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
July 11, 201312 yr Author Change your modid to only lowercase. .zip has a problem with it otherwise And all file and folder names. everything in my zip is lowercase except for the class files which has capital letters should i change those? i think it messes the code
July 11, 201312 yr Author Change your modid to only lowercase. .zip has a problem with it otherwise my mod id is lower cased with no spaces between tho my package and classes have capital letters in their names. and i cant change the names of the package or and classes in eclipse
July 11, 201312 yr Change your modid to only lowercase. .zip has a problem with it otherwise my mod id is lower cased with no spaces between tho my package and classes have capital letters in their names. and i cant change the names of the package or and classes in eclipse Yes you can, Ctrl+shift+R I think it is, but you can find it out under the right-click menu under Refactoring Also check this for packages: http://stackoverflow.com/questions/1355818/renaming-packages-in-eclipse If you guys dont get it.. then well ya.. try harder...
July 11, 201312 yr You shouldn't need to refactor your CLASS names. I was only referring to all texture files and all folders in which those textures reside. Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
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.