NOTA BENE: All versions mentioned have been tested as of 2014-11-24 but are subject to change in the future
- Download and install the Java Development Kit (JDK, Version 1.7+)
- Go to http://files.minecraftforge.net/ and download the latest version of the Recommended source ("Src"). (Version 1.7.10)
- Extract the zip file and rename the folder to 'forge'
- Decompile the Minecraft jar files and set up workspace for Eclipse IDE
- On Windows: Click on the gradlew.bat file
- On Mac/Linux: (in a Terminal)
```bash
cd forge
./gradlew setupDecompWorkspace
./gradlew eclipse # for Eclipse
```
- Decide on your developer signature for your mod. By convention this is your email address or website in reverse order
- Examples:
- 'johndoe AT gmail.com' --> 'com.gmail.johndoe'
- 'janedoe.net' --> 'net.janedoe'
- Examples:
- Fork this repository! Create your own copy of Tutorial-Mod on your Github account.
- Clone this repository in the
forge/src/main/java/
directory as the domain of your signature
DOMAIN=com # Set this to your domain (com, net, org, biz, jp, ...)
USERNAME=jdoe # Your Github username
git clone https://github.com/${USERNAME}/Tutorial-Mod.git ${DOMAIN}
- Rename the parent directory of
tutorialmod/
to the rest of your signature:
cd com
SIGNATURE=com.gmail.johndoe
git checkout -b ${SIGNATURE}
git mv coderdojoia gmail/johndoe
find gmail/johndoe -type f -name *.java -exec sed -i old s/org.coderdojoia.tutorialmod/${SIGNATURE}.tutorialmod/g {} \;
git commit -a -m "Updated directory structure to com/gmail/johndoe"
- fisherman77 for taking the time to create the parent work this is based on
- bucktower from whom I was able to fork this project
- Notch for creating Minecraft ;-)