Skip to content
agaricusb edited this page Jun 22, 2013 · 15 revisions

ForgeMod - a Maven parent POM for developing Minecraft Forge mods

See the README at https://github.com/agaricusb/ForgeMod for details how to setup your mod.

Also on this wiki: List of Open Source Forge Mods

Benefits

  • Extremely fast setup and build - 15 seconds and 5 seconds are common (up to 120x-6x faster)
  • Easy integration with other projects and systems supporting Maven (IDEs, continuous integration servers like Jenkins, etc.)
  • Remapped dependencies can be browsed and analyzed as any other dependency (visible in your IDE, etc.), and new arbitrary remapped mod dependencies are supported (for IC2 integration or whatever, see examples)
  • Standard and familiar setup steps lowers barrier to entry for contributing to your mod (especially for open source projects)
  • Similar to the process of building Bukkit plugins, Bukkit plugin developers will feel right at home (building against an "API" library)
  • No decompilation, avoiding the time, decompile errors, patch fixes required, and need for a decompiler (such as fernflower)
  • Existing mods can be adapted to this process in most cases, new mods should have no trouble ether
  • Supports coremods and custom access transformers (see examples)
  • Works great with various free build services (for example buildhive)
  • Open sourced under a permissive license (SpecialSource is BSD-licensed and SpecialSourceMP is Apache-licensed)

Limitations

  • Not well-suited for jarmods (works best with regular Forge mods or coremods; for jarmods use MCP)
  • Some existing projects or novel configurations may have difficulty adapting to Maven conventions (but you can use SpecialSource

Mods

Experiments adopting existing mods to (or developing new mods using) this build process:

1.5.2

1.5.1

1.5

1.4.7

Clone this wiki locally