Jump to content

Recommended Posts

Posted

Hi, new to Forge and i've been converting my mod to it as it seems to be the best option to use. However, I have hit a roadblock with the server. The second I try to start it, I get errors about classes not being found, and the pattern seems to be client-only classes:

 

2012-10-08 22:10:17 [iNFO] [sTDERR] java.lang.NoClassDefFoundError: net/minecraft/src/WorldClient

 

 

Just for testing, I removed WorldClient's SideOnly line, and the next class that came up was ItemRenderer. Neither of these classes exist, let alone should be called, on the server, so I am a bit confused.

 

Here is the ForgeModLoader-server-0 log:

 

 

  Reveal hidden contents

 

Posted

Something in your code has a hard reference to client side only classes, fix it.

From the looks of it it looks like your main mod class has the hard reference.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

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.