Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

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

 

 

 

Change your modid to only lowercase.

.zip has a problem with it otherwise :)

If you guys dont get it.. then well ya.. try harder...

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.

  • 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

  • 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

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...

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.

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...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.