Jump to content

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


SuprOrel

Recommended Posts

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
Link to comment
Share on other sites

  • 5 weeks later...
  • 2 months later...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.