Jump to content

Recommended Posts

Posted

I have coded my mod in eclipse and when I run it it is perfectly fine. When I put it into the mods folder and run Minecraft Forge, it comes up with this:

 

  Reveal hidden contents

 

Posted

Did you put your mod's info into the build.gradle file?

 

In particular, you need to edit three lines:

 

version = "mcVersion-modVersion"      // Follow pattern <mcVersion>-<modVersion>
group= "net.domain.mod"              // Inverted domain (jeffryfisher.net) dot package (always all lower-case)
archivesBaseName = "modname"        // modid = package name  (always all lower-case)

 

The debugger is a powerful and necessary tool in any IDE, so learn how to use it. You'll be able to tell us more and get better help here if you investigate your runtime problems in the debugger before posting.

Posted
  On 3/25/2016 at 4:17 PM, diesieben07 said:

Show your main mod class.

My main mod class's code is this:

 

  Reveal hidden contents

 

Posted
  On 3/25/2016 at 8:32 PM, diesieben07 said:

Actually it is probably in your mcmod.info.

Okay. In eclipse, I put my mcmod.info file in the resources folder. Is that the wrong place? The text in my mcmod.info file is this.

 

  Reveal hidden contents

 

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.