ModderDojo Java Modding 11: Packaging our First Mod


This post is based on these instructions:
The main steps are:

  1. Edit build.gradle and change the group and archiveBaseName entries
  2. Run gradlew build
  3. In the folder build – lib, you will find your Jar file: you can post this on a website for other people to use.

To install Forge if you don’t already have it installed:

  1. Download it here:
  2. Look for 1.7.2-Recommended and then click on Installer-Win
  3. Select “Client install”
    1. You will end up with a new Minecraft profile called Forge
    2. Select this to run Minecraft with Forge

To install your new mod (or any Forge mod):

  1. Open Windows Explorer and enter %appdata% as the location
  2. Open the .minecraft folder and then the lib folder
  3. Copy your new mod Jar file into lib

Next time you run Minecraft with the Forge profile, you will see your mod.


Previous post: ModderDojo Java Modding 10: A Recipe for Our New Item.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s