LATEST OFFICIAL VERSION: EE3 pre1f for MC 1.4.7(pre).
[Minecraft Forums page] (http://www.minecraftforum.net/topic/1540010-equivalent-exchange-3)
[Compiling EE3] (https://github.com/pahimar/Equivalent-Exchange-3#compiling-equivalent-exchange-3)
[Contributing] (https://github.com/pahimar/Equivalent-Exchange-3#contributing)
IMPORTANT: This is not guaranteed to work as it has not been tested extensively (Linux and Windows tested).
- WARNING: Make sure you know EXACTLY what you're doing! It's not any of our faults if your OS crashes, becomes corrupted, etc.
- Download and install the Java JDK [here] (http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html). Scroll down, accept the
Oracle Binary Code License Agreement for Java SE, and download the one pertaining to your OS.- Go to
Control Panel\System and Security\System, and click onAdvanced System Settingson the left-hand side. - Click on
Environment Variables.
- Go to
- Under
System Variables, clickNew. - For
Variable Name, inputJAVA_HOME. - For
Variable Value, input something similar to;C:\Program Files (x86)\Java\jdk1.7.0_10exactly as shown to the end.(or wherever your Java JDK installation is), and clickOk. - Scroll down to a variable named
Path, and double-click on it. - Append
;C:\Program Files (x86)\Java\jdk1.7.0_10\bin(or wherever your Java JDK installation is \bin), and clickOk.
- Download Apache Ant [here] (http://ant.apache.org).
- Unzip the files anywhere you want, eg
C:\Program Files (x86)\Ant.
- Unzip the files anywhere you want, eg
- Again, go to
Environment Variablesjust like you did for the Java JDK. - Under
System Variables, clickNew. - For
Variable Name, inputANT_HOME. - For
Variable Value, inputC:\Ant\apache-ant-1.8.4(or your Ant directory \apache-ant-1.8.4). - Scroll down to
Path, and double-click on it. - Append
;C:\Ant\apache-ant-1.8.4\binexactly as shown to the end (or your Ant directory \apache-ant-1.8.4\bin).
- Download and install Github [here] (http://windows.github.com/) (Windows) or [here] (http://mac.github.com/) (Mac OS X 10.7+). For Linux, I guess you could download it as a .zip/tarball and unzip it?
- Create an account.
- Scroll to the top of this page, login at the top-right, and then click
Clone to Windows/Macnear the top-left of the page. - You should see Github flash and
pahimar/Equivalent-Exchange-3appear. (The local repository on Windows defaults toC:\Users\(username)\Documents\GitHub\Equivalent-Exchange-3, you can change it if you want but then you have to find it again on Github).
- Create an empty directory for EE3 development. This directory is refernced as
mcdevfrom now on. It can be where you cloned EE3, but it'll be a little messy. - You are now ready to setup MCP!
- Download the latest version of MCP from [here] (http://mcp.ocean-labs.de/index.php/MCP_Releases), e.g. mcp726.zip. Install MCP dependencies as listed on the website if neccessary.
- Inside
mcdev, create a directory namedmcpand unzip the MCP .zip file into it.- To verify, check if a file named
CHANGELOGexists insidemcp.
- To verify, check if a file named
- Download the latest forge source for Minecraft 1.4.7 and unzip it into
mcp. You need at least Forge 6.6.0.***, best way is to get it from [here] (http://files.minecraftforge.net/).- To verify, check if a application named
install.shexists.
- To verify, check if a application named
- Execute
install.sh(Linux and Mac) orinstall.cmd(Windows), both found inmcdev\mcp\forge. On Linux you might have tochmod +x install.shbefore you can execute it. On some system configurations you need to executeinstall.shfrom within theforgedirectory whereas on others it doesn't matter. Just check the output for error messages to find out what you need to do.
- Inside
mcdev, create a directory namedsource. - Move/clone
Equivalent-Exchange-3intosource. - Right now, you should have a directory that looks something like:
mcdev
\-mcp
\-complicated mcp stuff (should have CHANGELOG).
\-forge
\-jars
\-source
\-Equivalent-Exchange-3
\-EE3's files (should have build.xml).
- Inside
Equivalent-Exchange-3, create a new file calledbuild.properties.- Open it up with any text editor, and type into it the following (fully customizable except for
dir.development):dir.development=../../dir.share=Shared(or what you want it to be-optional)dir.release=Releases(what you want it to be)release.minecraft.version=1.4.7(as of 1/04)release.mod.version=your version number here
- Open it up with any text editor, and type into it the following (fully customizable except for
- [FOR WINDOWS] Open up
cmdby typingcmdin Run. - [FOR WINDOWS] Navigate to
mcdev\source\Equivalent-Exchange-3by executingcd mcdev's location\source\Equivalent-Exchange-3. - Execute
ant release. This will generally take around 5-15 minutes, depending on your computer. If you've done everything right,BUILD SUCCESSFULis displayed after it finishes.- If you see
BUILD FAILED, check the error output (it should be right aroundBUILD FAILED), fix everything, and try again.
- If you see
- Go to
mcdev\source\Equivalent-Exchange-3\Releases\1.4.7\[version number](This might be different according to what you put in build.properties).- You should see a .jar named
ee3-universal-[version number]jar.
- You should see a .jar named
- Copy the jar into your Minecraft mods folder, and play Minecraft!
- Check to see if pahimar updated EE3 since you last compiled. If he/she did, follow these instructions.
- Open Github.
- Double-click on pahimar/Equivalent-Exchange-3.
- At the top, there is a button named
Sync/Sync Branch(Mac) (orRefreshing...if it's still checking). - Click
Sync, and wait for it to finish. - Re-compile (or move it to
mcdev\sourcethen re-compile, depending on what you did.)
###Contributing
So you found a bug in pahimar's code? Think you can make it more efficient? Want to help in general? Great!
- IMPORTANT: PAHIMAR DOES NOT WANT ANY
build.xmlCHANGES, UNLESS it fixes up something broken (See [Pull Request #90] (pahimar#90)). - If you haven't already, create a Github account.
- Click
Forkat the top-right of this page (below your username) - Make the changes that you want to.
- Click
Pull Requestat the top-middle of the page (left of your fork's name, to the right ofWatchandFork). - Enter your PR's title, and create a detailed description telling pahimar what you changed.
- Click
Send pull request, and you're done!
So, maybe you have no idea what Java is, but you do know that EE3 crashes each time you enter a world. Or, maybe you have an idea that you want pahimar to implement. No problem! Just create an issue instead of submitting a PR.
- Go to [the issues page] (http://github.com/pahimar/Equivalent-Exchange-3/issues).
- Click
New Issueright belowGraphs. - Enter your Issue's title (like EE3 crashes when using Minium Stone), and then create a detailed description telling pahimar what happened (like "When trying to use a minium stone, EE3 crashes. Here's the error report: [link]).
- Click
Submit new issue, and you're done!