Minecraft 1.12 modding with forge – 10 – Export Mod

Hello everyone! In this part I will show you how to export your mod so other players can use it.

This won’t be a long part, but it is an importang thing to know.
Open the folder where your forge workspace is installed. In there you will find a build.gradle file. Open this with a text editor, I use notepad++.
In the file you have to change a couple of things. Search for group and change the value. I will use com.suppergerrie2.stm (com.NAME.MODID). Then search for archivesBaseName and change the value to your modid. You can also change the version if you want to. I will keep it at 1.0.
Save the file and return to the folder.

Now open a command window and navigate to the folder. (On windows you can also use shift-rightclick->open powershell here).
In the command window use the following command: gradlew.bat build.
Now wait for the command to finish and if everything goes well you shouldn’t get any errors.

Now navigate to FORGEFOLDER/build/libs, in there you will find a jar file named MODID-VERSION.jar. You can use this jar file just like you would install other mods.

That was everything for this part. As always if you have any question don’t hesitate to ask in the comments! Also if you saw any errors in the tutorial please let me know so I can fix it!

~suppergerrie2

Posted in Forge tutorial.

6 Comments

  1. Hello there,

    My name is Aly and I would like to know if you would have any interest to have your website here at suppergerrie2.com promoted as a resource on our blog alychidesign.com ?

    We are in the midst of updating our broken link resources to include current and up to date resources for our readers. Our resource links are manually approved allowing us to mark a link as a do-follow link as well
    .
    If you may be interested please in being included as a resource on our blog, please let me know.

    Thanks,
    Aly

    • You are free to link my site, as long as you dont copy the posts I am ok with it. The posts take a long time to write (Testing, debugging, writing the tutorial, keeping everything up to date).

  2. Hello,
    I really like your tutorials, they were very helpful for me. Thank you very much!

    Ideas for more tutorials: tools, armor, fluids, other block models like slabs or stairs, plants with different ages like wheat

Leave a Reply

Your email address will not be published. Required fields are marked *