-
Notifications
You must be signed in to change notification settings - Fork 3
Development Setup
tahosa edited this page Jul 29, 2013
·
3 revisions
- Download the MCP release for the version of Minecraft currently in use (refer to README.txt) from the MCP Old Releases page.
- Unzip MCP to where you want to work from. Your Eclipse workspace will be inside this directory.
Note: Do not run any of the MCP install scripts at this time. Running the Minecraft Forge install will do this for you.
###Minecraft Forge
- Download the Minecraft Forge Source distribution for the version of Minecraft in use from the Forge Repository. Make sure to grab the (src) file.
- Unzip Forge and copy the forge/ directory into your MCP directory (you can just
unzip <forge zip> -d <mcp directory>. This sets up forge correctly for the next step - Run
forge/install.shif on Linux or Mac OS,forge/install.batif on Windows orforge/install.pyif you have python installed (any OS). - You should see Forge decompile and set up MCP. If you have any errors, refer to the Forge forums and documentation
Forge and MCP by default set up a workspace for modding in Eclipse.
- Download the latest version of Eclipse here or your preferred version of Eclipse.
- Open Eclipse, and when prompted to choose your workspace, pick
<mcp-folder>/eclipse - Check to make sure that Forge and MCP are working by running or debugging the client and server. Run configurations are already set up for both.
If you do not use the latest version of Eclipse, make sure you have EGit installed so you can interact with the git repository
- Right click in the Package Explorer and choose "Import"
- Under "Git" choose "Projects from Git", then "URI"
- Enter "http://github.com/tahosa/ForgeTools.git" for the URI and fill in your Github username and password.
- Choose the "master" branch and where you want Git to store your package
- When prompted, import the existing projects.
If you have imported the Git project into the same workbench as MCP/Forge, you should be all set. If you get the error "Project 'ForgeTools' is missing required Java project: 'Minecraft'" you will need to add your Minecraft project added by MCP/Forge to the Java build path.