Skip to content

Latest commit

 

History

History
48 lines (41 loc) · 1.96 KB

README.md

File metadata and controls

48 lines (41 loc) · 1.96 KB

Tutorial-Mod

How to begin

NOTA BENE: All versions mentioned have been tested as of 2014-11-24 but are subject to change in the future

  1. Download and install the Java Development Kit (JDK, Version 1.7+)
  2. Go to http://files.minecraftforge.net/ and download the latest version of the Recommended source ("Src"). (Version 1.7.10)
  3. Extract the zip file and rename the folder to 'forge'
  4. Decompile the Minecraft jar files and set up workspace for Eclipse IDE
  5. On Windows: Click on the gradlew.bat file
  6. On Mac/Linux: (in a Terminal)
```bash
cd forge
./gradlew setupDecompWorkspace
./gradlew eclipse  # for Eclipse
```
  1. 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'
  2. Fork this repository! Create your own copy of Tutorial-Mod on your Github account.
  3. 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}
  1. 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"

Acknowledgements

  • 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 ;-)