Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

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

Featured Replies

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

  • 5 weeks later...

Could you put a picture or something of where exactly the libs folder is placed within the project?

 

Also, does putting the mod there also add it to the game?

Edited by TheGoldenProof

  • 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...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.