Skip to content
dfu edited this page Feb 16, 2011 · 2 revisions

Compiling the latest from source:

Files Needed

Setup for Decompiling and Compiling

  • Unzip your MCP version to a directory of your choosing: let's say ~/mcp
  • Modify your ~/mcp/conf/minecraft.rgs according to the MCP Mapping for ModLoader you downloaded
  • Copy over your .minecraft/bin folder to ~/mcp/jars
  • Inject the ModLoader files from the zip into ~/mcp/jars/bin/minecraft.jar
  • Run decompile
  • Copy or clone the .java files from the MineColony fork repository to ~/mcp/sources/minecraft/net/minecraft/src/
  • Run recompile

Good! Now to allow injection back into a jar!

Setup for re-obfuscating your files to inject

Modify your ~/mcp/conf/client_obfuscation.txt as such:

mod_MineColony
ItemScepter
BlockHut
BlockHutFarmer
BlockHutLumberjack
BlockHutMiner
BlockHutWarehouse
EntityWorker
EntityFarmer
EntityLumberjack
EntityMiner
EntityDeliveryMan

Now run reobf, and your class files will be located in ~/mcp/final_out/minecraft/ . You can inject these into any minecraft.jar that already has ModLoder injected.