Jump to content

Recommended Posts

Posted

Hello there.

 

My first mod deals with a bunch of custom user commands. I have coded it using the latest 1.7.2 forge src. The mod runs fine in the IDE (Eclipse). When I package the mod from the bin folder, the game runs fine, until I try to load a world, at which point the game will return to the main menu. Here is the log:

 

  Reveal hidden contents

 

 

 

The code to register the commands is here:

 

  Reveal hidden contents

 

 

Thank you in advance

  • 1 month later...
Posted

You need to obfuscate your mod to run it outside eclipse. You can't just collect the classes from the eclipse bin folder. Run "gradlew reobf" to generate an obfuscated jar at build/libs

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.