Jump to content

Recommended Posts

Posted

first off all my code.

 

 

My problem is that my mod works FINE on the client but not on a server. I think I need to add some @SideOnly clients in somewhere :/ Could someone help?

 

Server crash:

 

2013-09-20 23:21:30 [iNFO] [sTDERR] java.lang.NoClassDefFoundError: net/minecraft/client/renderer/tileentity/TileEntitySpecialRenderer
2013-09-20 23:21:30 [iNFO] [sTDERR] 	at java.lang.Class.forName0(Native Method)
2013-09-20 23:21:30 [iNFO] [sTDERR] 	at java.lang.Class.forName(Class.java:266)
2013-09-20 23:21:30 [iNFO] [sTDERR] 	at cpw.mods.fml.common.ProxyInjector.inject(ProxyInjector.java:58)
2013-09-20 23:21:30 [iNFO] [sTDERR] 	at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:519)
2013-09-20 23:21:30 [iNFO] [sTDERR] 	at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
2013-09-20 23:21:30 [iNFO] [sTDERR] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2013-09-20 23:21:30 [iNFO] [sTDERR] 	at java.lang.reflect.Method.invoke(Method.java:601)
2013-09-20 23:21:30 [iNFO] [sTDERR] 	at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
2013-09-20 23:21:30 [iNFO] [sTDERR] 	at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
2013-09-20 23:21:30 [iNFO] [sTDERR] 	at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313)
2013-09-20 23:21:30 [iNFO] [sTDERR] 	at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
2013-09-20 23:21:30 [iNFO] [sTDERR] 	at com.google.common.eventbus.EventBus.post(EventBus.java:267)
2013-09-20 23:21:30 [iNFO] [sTDERR] 	at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:194)
2013-09-20 23:21:30 [iNFO] [sTDERR] 	at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:174)
2013-09-20 23:21:30 [iNFO] [sTDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2013-09-20 23:21:30 [iNFO] [sTDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
2013-09-20 23:21:30 [iNFO] [sTDERR] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2013-09-20 23:21:30 [iNFO] [sTDERR] 	at java.lang.reflect.Method.invoke(Method.java:601)
2013-09-20 23:21:30 [iNFO] [sTDERR] 	at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
2013-09-20 23:21:30 [iNFO] [sTDERR] 	at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
2013-09-20 23:21:30 [iNFO] [sTDERR] 	at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313)
2013-09-20 23:21:30 [iNFO] [sTDERR] 	at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
2013-09-20 23:21:30 [iNFO] [sTDERR] 	at com.google.common.eventbus.EventBus.post(EventBus.java:267)
2013-09-20 23:21:30 [iNFO] [sTDERR] 	at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:105)
2013-09-20 23:21:30 [iNFO] [sTDERR] 	at cpw.mods.fml.common.Loader.loadMods(Loader.java:509)
2013-09-20 23:21:30 [iNFO] [sTDERR] 	at cpw.mods.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:99)
2013-09-20 23:21:30 [iNFO] [sTDERR] 	at cpw.mods.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:350)
2013-09-20 23:21:30 [iNFO] [sTDERR] 	at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:69)
2013-09-20 23:21:30 [iNFO] [sTDERR] 	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:443)
2013-09-20 23:21:30 [iNFO] [sTDERR] 	at net.minecraft.server.ThreadMinecraftServer.run(SourceFile:582)
2013-09-20 23:21:30 [iNFO] [sTDERR] Caused by: java.lang.ClassNotFoundException: net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer
2013-09-20 23:21:30 [iNFO] [sTDERR] 	at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:179)
2013-09-20 23:21:30 [iNFO] [sTDERR] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
2013-09-20 23:21:30 [iNFO] [sTDERR] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
2013-09-20 23:21:30 [iNFO] [sTDERR] 	... 30 more
2013-09-20 23:21:30 [iNFO] [sTDERR] Caused by: java.lang.NullPointerException
2013-09-20 23:21:30 [iNFO] [sTDERR] 	at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:171)
2013-09-20 23:21:30 [iNFO] [sTDERR] 	... 32 more
2013-09-20 23:21:30 [sEVERE] [Minecraft-Server] Encountered an unexpected exception NoClassDefFoundError
java.lang.NoClassDefFoundError: net/minecraft/client/renderer/tileentity/TileEntitySpecialRenderer
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:266)
at cpw.mods.fml.common.ProxyInjector.inject(ProxyInjector.java:58)
at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:519)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
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(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
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:509)
at cpw.mods.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:99)
at cpw.mods.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:350)
at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:69)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:443)
at net.minecraft.server.ThreadMinecraftServer.run(SourceFile:582)
Caused by: java.lang.ClassNotFoundException: net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:179)
at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
... 30 more
Caused by: java.lang.NullPointerException
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:171)
... 32 more

all of the other output was other mods, and I think this is sufficient.

 

 

My time zone is California so don't get annoyed if I can't reply :P

 

Thanks in advance - Alix_The_Alicorn

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.