Skip to content
Steven Downer edited this page Jan 13, 2015 · 1 revision

Setup Forge (Eclipse)

  1. Fork MinecraftForge [email protected]:MinecraftForge/MinecraftForge.git
  2. Clone your repository, make sure you initialize the FML submodule with git clone --recursive {YOUR_GIT_URL}
  3. Run git submodule update --init --recursive in the source folder
  4. Run gradle setupForge eclipse
  5. Make your changes to {FORGE_ROOT}/eclipse/Forge
  6. Import {FORGE_ROOT} as an existing project

Run Configuration

Create a new run configuration using the following information

Property Value
Main class net.minecraft.launchwrapper.Launch
Program arguments --version 1.6 --tweakClass cpw.mods.fml.common.launcher.FMLTweaker --accessToken Forge --userProperties {} --username Dev
VM options -Xincgc -Xmx1024M -Xms1024M -Djava.library.path="../../build/natives"
Working directory ./run (Needs to be created if doesn't exist)
Module classpath MinecraftForge (IntelliJ Only)

Build Patches

  1. Run gradle genPatch build
  2. Grab the binpatches.pack.lzma file from ./MinecraftForge/build/distributions/forge-{VERSION}-universal.jar
  3. Place the binpatches.pack.lzma file in the modpack.jar for Almura