Jump to content
  • Home
  • Files
  • Docs
Topics
  • All Content

  • This Topic
  • This Forum

  • Advanced Search
  • Existing user? Sign In  

    Sign In



    • Not recommended on shared computers


    • Forgot your password?

  • Sign Up
  • All Activity
  • Home
  • Mod Developer Central
  • User Submitted Tutorials
  • 1.12.2 Add mod support, import other mods in eclipse (feat. Pixelmon)
Currently Supported: 1.16.X (Latest) and 1.15.X (LTS)
Sign in to follow this  
Followers 0
SuprOrel

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

By SuprOrel, September 26, 2018 in User Submitted Tutorials

  • Reply to this topic
  • Start new topic

Recommended Posts

SuprOrel    3

SuprOrel

SuprOrel    3

  • Tree Puncher
  • SuprOrel
  • Members
  • 3
  • 2 posts
Posted September 26, 2018

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

Share this post


Link to post
Share on other sites

TheGoldenProof    1

TheGoldenProof

TheGoldenProof    1

  • Tree Puncher
  • TheGoldenProof
  • Members
  • 1
  • 32 posts
Posted October 25, 2018 (edited)

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 October 25, 2018 by TheGoldenProof
  • Quote

Share this post


Link to post
Share on other sites

Interplay    0

Interplay

Interplay    0

  • Tree Puncher
  • Interplay
  • Members
  • 0
  • 15 posts
Posted January 21, 2019

Man! This have just made my day!

Thank you very much!

Seriously!

  • Quote

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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.

    • Insert image from URL
×
  • Desktop
  • Tablet
  • Phone
Sign in to follow this  
Followers 0
Go To Topic Listing



  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • Centmap
      Forge Mods Folder

      By Centmap · Posted 26 minutes ago

      ok thanks  
    • Luis_ST
      [1.16.5] Help with custom container (error when put a item in an slot)

      By Luis_ST · Posted 34 minutes ago

      it was once intended for something else what do I have to change that I can use it
    • diesieben07
      [1.16.5] Help with custom container (error when put a item in an slot)

      By diesieben07 · Posted 37 minutes ago

      The IMessage interface is entirely unnecessary. Other than that, yes, that is how you add packets.
    • Luis_ST
      [1.16.5] Help with custom container (error when put a item in an slot)

      By Luis_ST · Posted 44 minutes ago

      yes I have this variable (it goes from 0 to 109).   this is what i'm trying right now. Edit: it works like this, but how do I find out when I have to move a slot outside of the visible area if I shouldn't use the slot's position   I've "tried" something like this before in another mod. But I am not sure whether it works that way and whether it is even right? code: PacketHandler: https://github.com/Luis-st/Forge-1.16.5-36.0.1-mdk/blob/main/forge-1.16.5-36.0.1-mdk/src/main/java/net/luis/cave/core/ModPacketHandler.java my message interface: https://github.com/Luis-st/Forge-1.16.5-36.0.1-mdk/blob/main/forge-1.16.5-36.0.1-mdk/src/main/java/net/luis/cave/core/IMessage.java SyncSlotPosition message (not final/ in work): https://github.com/Luis-st/Forge-1.16.5-36.0.1-mdk/blob/main/forge-1.16.5-36.0.1-mdk/src/main/java/net/luis/cave/core/SyncSlotPosition.java   is there an error somewhere / does it work like that way?  
    • yincrafterf
      CurseForge installer is stuck at Extracting files.

      By yincrafterf · Posted 2 hours ago

      Sorry i didn't know thought it was the same thing. Edit: forgot to say i changed account because the other one wasn't letting me in.
  • Topics

    • Centmap
      2
      Forge Mods Folder

      By Centmap
      Started 12 hours ago

    • Luis_ST
      32
      [1.16.5] Help with custom container (error when put a item in an slot)

      By Luis_ST
      Started Tuesday at 04:15 PM

    • yincrafter
      2
      CurseForge installer is stuck at Extracting files.

      By yincrafter
      Started 3 hours ago

    • dynastychan
      1
      anyone know why my forge 1.12.2 server is vanilla not modded?

      By dynastychan
      Started 11 hours ago

    • pitbox46
      1
      Pushing Redstone

      By pitbox46
      Started 5 hours ago

  • Who's Online (See full list)

    • Luis_ST
    • Centmap
    • Choonster
    • Funyaah
  • All Activity
  • Home
  • Mod Developer Central
  • User Submitted Tutorials
  • 1.12.2 Add mod support, import other mods in eclipse (feat. Pixelmon)
  • Theme

Copyright © 2019 ForgeDevelopment LLC · Ads by Longitude Ads LLC Powered by Invision Community