Compiling Workspace

From Galacticraft Wiki
Jump to: navigation, search

Prerequisites


Galacticraft Dev builds are versions of the game referencing de-obfuscated Forge code, automatically compiled at the same time as regular Galacticraft player release builds are made. The major/minor version numbers should match up with regular release builds, but the build numbers will not match up. Don't worry, it's still the same code. Example: in GC3, the dev build 3.0.5.64 is the same as the release build 3.0.5.229.

Galacticraft 3

For Galacticraft 3 with Minecraft 1.7.2 or 1.7.10

See GC3_API#Full Galacticraft Sources for a guide to installing the sources in your Forge workspace for Minecraft 1.7.x.

Galacticraft 2: Setting up the workspace

For Galacticraft 2 with Minecraft 1.6.4
  1. Open "Forge/mcp/libs".
  2. Copy the Galacticraft dev deobf files here.
  3. Open Eclipse.
  4. Right-click on the Minecraft project, click Properties->Java Build Path->Libraries->Add External Jars and select the 4 dev files.
  5. Extract the Galacticraft Github code.
  6. Open common.
  7. Copy all files to "Forge/mcp/src".
  8. Open "Forge/mcp/src/micdoodle8/mods/galacticraft/".
  9. Delete all folders without the API folder.
  10. At "Forge/mcp", Run "recompile.bat/.sh" then "updatemd5.bat/.sh".

Notes

  • This workspace is just for compiling; you can't run Minecraft MCP.
</div>