Go to file
2013-12-15 20:55:13 -05:00
src/main Comment to remind me where to pick up tomorrow 2013-12-14 22:54:03 -05:00
.gitattributes Step 2: The Reformation 2013-12-13 03:21:58 -06:00
.gitignore Step 2: The Reformation 2013-12-13 03:21:58 -06:00
build.gradle Fixed a minor bug in the gradle build, and some prelim work on EmcValues for other mods. LOTS of optimization there still 2013-12-14 22:53:01 -05:00
build.properties Updating the gradle build to accommodate my keystores/signatures, and changing the version number schema 2013-12-14 20:04:17 -05:00
COPYING GPL + LGPL license inclusion 2012-07-17 15:36:22 -04:00
COPYING.LESSER GPL + LGPL license inclusion 2012-07-17 15:36:22 -04:00
README.md The all-mighty @Lluixhi is never wrong! 2013-12-15 20:55:13 -05:00
version.xml Finally fixed the transmutation stone crafting recipe bug, careof https://github.com/cpw. 2013-05-27 11:34:19 -04:00

Welcome to Equivalent Exchange 3!

LATEST OFFICIAL VERSION: EE3 pre1h for 1.5.1/1.5.2

Minecraft Forums page

Compiling EE3 - For those that want the latest unreleased features.

Contributing - For those that want to help out.

Compiling Equivalent Exchange 3

IMPORTANT: Please report any issues you have, there might be some problems with the documentation!


Windows Prerequisites

Linux Prerequisites

Mac Prerequisites

Setup EE3

Windows Prerequisites

  1. WARNING: Make sure you know EXACTLY what you're doing! It's not any of our faults if your OS crashes, becomes corrupted, etc.
  2. Download and install the Java JDK here. Scroll down, accept the Oracle Binary Code License Agreement for Java SE, and download it (if you have a 64-bit OS, please download the 64-bit version).
  3. Download and install Gradle here. You only need the binaries, but choose whatever flavor you want.
    • Install by extracting the contents, and then placing the resulting folder wherever you want.
  4. Set environment variables.
    • Go to Control Panel\System and Security\System, and click on Advanced System Settings on the left-hand side.
    • Click on Environment Variables.
    • Under System Variables, click New.
    • For Variable Name, input JAVA_HOME.
    • For Variable Value, input something similar to ;C:\Program Files\Java\jdk1.7.0_45 exactly as shown to the end (or wherever your Java JDK installation is), and click Ok.
    • Create another new System Variable, name it GRADLE_HOME, and input where your Gradle directory is (eg C:\Gradle).
    • Scroll down to a variable named Path, and double-click on it.
    • Append ;%JAVA_HOME%\bin; %GRADLE_HOME%\bin, and click Ok. Make sure the locations are correct; double-check just to make sure.
  5. Download and install Github here. NOTE: This Github application is optional, you can use whatever you want, eg TortoiseGit or SmartGitHg.
    • Create an account.
    • Scroll to the top of this page, login at the top-right, and then click Clone to Windows at the bottom of the right-hand toolbar.
    • You should see Github flash and pahimar/Equivalent-Exchange-3 appear. (The local repository on Windows defaults to C:\Users\(username)\Documents\GitHub\Equivalent-Exchange-3, you can change it if you want but then you have to find it again on Github).
  6. Create an empty directory for EE3 development. This directory is referenced as mcdev from now on. It can be where you cloned EE3, but it'll be a little messy.

Linux Prerequisites

  1. Make sure you have the latest Java JDK installed. To install manually, go here. Otherwise, install from the package manager or the terminal (listed).
    • In Gentoo, emerge dev-java/oracle-jdk-bin
    • In Archlinux, pacman -S jdk7-openjdk
    • In Ubuntu/Debian, apt-get install openjdk-7-jdk
    • In Fedora, yum install java-1.7.0-openjdk
      • If your distribution is not listed, follow the instructions specific to your package manager.
  2. Install Gradle. To install manually, go here.
    • In Gentoo, emerge dev-java/gradle-bin
    • In Archlinux, you'll have to download it from the AUR
    • In Ubuntu/Debian, apt-get install gradle
    • In Fedora, yum install gradle
  3. Install Git. To install manually, go here.
    • In Gentoo, emerge dev-vcs/git
    • In Archlinux, pacman -S git
    • In Ubuntu/Debian, apt-get install git
    • In Fedora, yum install git
      • If your distribution is not listed, follow the instructions specific to your package manager.
  4. Open your shell and move to a convenient directory, then run git clone https://github.com/pahimar/Equivalent-Exchange-3.git. This will download the repository.
  5. Create an empty directory for EE3 development. This directory is referenced as mcdev from now on. It can be where you cloned EE3, but it'll be a little messy.

Mac Prerequisites

  1. Download and install the Java JDK here. Scroll down, accept the Oracle Binary Code License Agreement for Java SE, and download it (Mac OS X comes with the JRE, but not the JDK).
  2. Download and install Gradle here. You only need the binaries, but choose whatever flavor you want.
    • If you're having trouble, try going here for help.
  3. Download and install Github for Mac OSX (10.7+) here NOTE: This Github application is optional, you can use whatever you want.
    • Create an account.
    • Scroll to the top of this page, login at the top-right, and then click Clone to Mac at the bottom of the right-hand toolbar.
    • You should see Github flash and pahimar/Equivalent-Exchange-3 appear. (The local repository on Mac defaults to /Users/[username]/github/Equivalent-Exchange-3/. To change it, change the "Local Path")
  4. Create an empty directory for EE3 development. This directory is referenced as mcdev from now on. It can be where you cloned EE3, but it'll be a little messy.

Setup EE3

  1. Move/clone Equivalent-Exchange-3 into mcdev.
  2. Right now, you should have a directory that looks something like:

mcdev
\-Equivalent-Exchange-3
	\-EE3's files (should have build.gradle).

  1. Inside Equivalent-Exchange-3, edit the file named build.properties. THIS IS OPTIONAL
    • You may change the build string (mod_version and build_number), and the Minecraft and Forge version you are building for (but only down to 9.11.1.960).
      • minecraft_version=1.6.4
      • forge_version=9.11.1.964
      • mod_version=0.0
      • build_number=1
  2. Open up your OS's command line (Command Prompt in Windows, Terminal in Linux and Mac).
  3. Navigate to mcdev\Equivalent-Exchange-3 by executing cd mcdev's location\Equivalent-Exchange-3.
  4. Execute gradle setupDevWorkspace. This sets up Forge, and downloads the necessary libraries to build EE3. (Takes about 2 minutes the first time).
  5. Execute gradle build. If you've done everything right, BUILD SUCCESSFUL is displayed after it finishes. (Takes about 1 minute, depending on your computer).
    • If you see BUILD FAILED, check the error output (it should be right around BUILD FAILED), fix everything (if possible), and try again.
  6. Go to mcdev\Equivalent-Exchange-3\build\libs.
    • You should see a .jar file named EquivalentExchange3-0.0.1.jar.
  7. Copy the jar into your Minecraft mods folder, and play Minecraft (If you have Forge installed on your client).

Updating Your Repo (For Windows/Mac)

  1. Check to see if pahimar updated EE3 since you last compiled. If he did, follow these instructions.
  2. Open Github.
  3. Double-click on pahimar/Equivalent-Exchange-3.
  4. At the top, there is a button named Sync/Sync Branch (or Refreshing... if it's still checking).
  5. Click Sync, and wait for it to finish.
  6. Re-compile (or move it to mcdev then re-compile, depending on what you did.)

Updating Your Repo (For Linux)

  1. Check to see if pahimar updated EE3 since you last compiled. If he did, follow these instructions.
  2. Navigate to the repository location.
  3. Run git pull in Terminal.
  4. Re-compile (or move it to mcdev then re-compile, depending on what you did).

###Contributing


Submitting a PR

So you found a bug in pahimar's code? Think you can make it more efficient? Want to help in general? Great!

  1. IMPORTANT: PAHIMAR DOES NOT WANT ANY build.xml CHANGES, UNLESS it fixes up something broken (See Pull Request #90).
  2. If you haven't already, create a Github account.
  3. Click the Fork icon at the top-right of this page (below your username).
  4. Make the changes that you want to (In Linux, you'll have to run git commit -a, and git push after cloning your forked repository to upload the changes).
  5. Click Pull Request at the right-hand side of the gray bar directly below your fork's name.
  6. Click Click to create a pull request for this comparison, enter your PR's title, and create a detailed description telling pahimar what you changed.
  7. Click Send pull request, and you're done!

Creating an Issue

EE3 crashes every time? Have a suggestion? Found a bug? Create an issue now!

  1. Please, please don't make any frivolous issues! If it's a crash, try asking the people in IRC or MCF before creating an issue. If it's a bug/suggestion, make sure it hasn't been reported/suggested already. Thanks! 😄
  2. Go to the issues page.
  3. Click New Issue right below Star and Fork.
  4. Enter your Issue's title (something that summarizes your issue), and then create a detailed description ("Hey pahimar, could you add/change xxx?" or "Hey, found an exploit: stuff").
  5. Click Submit new issue, and you're done!