Jump to content

1.12.2 Add mod support, import other mods in eclipse (feat. Pixelmon)


Recommended Posts

Posted

i figured making pixelmon sidemods would be a relatively popular search so atta give it its own tutorial and since its really not much effort lets go for it.

create a folder in eclipse package explorer named "libs" (you must name it libs otherwise you would'nt be able to build your mod via gradlew) in eclipse package explorer and place your mod of choice's jar file inside like you can see with pixelmon right here.

1290380012_packageexplorer.PNG.19f95059f911e30e32ebf9c55b9b93f5.PNG

then right click your mod of choice, goto build path then add to build path so your mod of choice turns to look like so

buildpatch.PNG.41d490bc26157922823f559ed6e3801e.PNG

now in main.java add a dependency under @Mod example:

modexample.PNG.c4fb19bcf72844295267a70286b3c623.PNG with pixelmon in " dependencies = "required-after:pixelmon" " being your mod of choice's mod id

at this point you're pretty much done, now you can import from the mod.

imported.PNG.eb885b26763dea9b184fe4c451801fd2.PNG

  • Thanks 2
  • Haha 1
  • 5 weeks later...
  • 2 months later...

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.