Jump to content

Recommended Posts

Posted

Hello, I've decided to attempt to get into modding and such so after following a few tutorials I've attempted to produce my own, and it works perfectly in eclipse but not in an actual client. The mod is basically a new ore and some tools so nothing to complicated and i was wondering if i could get some help, Can post source if needed.

 

Here is the error:

 

 

cpw.mods.fml.common.LoaderException: java.lang.ClassNotFoundException: mod_slippersite.mod_slippersite

at cpw.mods.fml.common.LoadController.transition(LoadController.java:102)

at cpw.mods.fml.common.Loader.loadMods(Loader.java:467)

at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:146)

at net.minecraft.client.Minecraft.a(Minecraft.java:416)

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

at java.lang.Thread.run(Unknown Source)

Caused by: java.lang.ClassNotFoundException: mod_slippersite.mod_slippersite

at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:125)

at java.lang.ClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at cpw.mods.fml.common.ModClassLoader.loadClass(ModClassLoader.java:57)

at java.lang.Class.forName0(Native Method)

at java.lang.Class.forName(Unknown Source)

at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:407)

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:69)

at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)

at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317)

at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300)

at com.google.common.eventbus.EventBus.post(EventBus.java:268)

at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:124)

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:69)

at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)

at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317)

at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300)

at com.google.common.eventbus.EventBus.post(EventBus.java:268)

at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:81)

at cpw.mods.fml.common.Loader.loadMods(Loader.java:466)

... 4 more

Caused by: java.lang.NullPointerException

at org.objectweb.asm.ClassReader.<init>(Unknown Source)

at cpw.mods.fml.common.asm.transformers.SideTransformer.transform(SideTransformer.java:27)

at cpw.mods.fml.relauncher.RelaunchClassLoader.runTransformers(RelaunchClassLoader.java:162)

at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:118)

... 31 more

--- END ERROR REPORT f3fcadad ----------

 

 

 

And Yes, I the vain fool, Slicedslippers, Named it Slippersite.

 

Many thanks, SlicedSlippers  8)

Posted

Okay, so what are you doing to test in the client?

 

Maybe this helps you to find what's missing: I run the recompile and reobfuscate scripts and then pack the contents of reobf/minecraft (the minecraft folder should not be included) and put that inside the mods folder.

Posted

Well Jeeze, this entire time I've been Zipping up the wrong folder, I feel really stupid. as soon as I attempted to zip up the two folders that the were inside of the minecraft folder that was created by reobf, it worked! Thanks for helping a noob in the truest sense of the word!  ;D

 

 

I feel really stupid

 

Posted

It must be a common mistake, I also did that the first time I packed my mod. :) I noticed it was wrong because I packed it in a jar, so I figured it should be looking for "minecraft.mod_name.mod_name" instead.

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.