-
Notifications
You must be signed in to change notification settings - Fork 4
Compiling
dfu edited this page Feb 16, 2011
·
2 revisions
- MCP (Minecraft Coder Pack): http://mcp.ocean-labs.de/index.php/MCP_Releases
- ModLoader: http://www.minecraftforum.net/viewtopic.php?t=80246
- Get the both the ModLoader.zip and the MCP Mapping
- 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!
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.