Installing a Minecraft Development Environment
From aoxoaWiki
Jump to navigationJump to searchThis is going to be just a dump of ideas and experiences for now. I need to track what i did to get everything installed and working. If i wait to document after, it will be too late. I intend to come back and reformat/organize this information once i've gotten some stuff working..
** THIS STILL ISN'T WORKING FOR ME. I AM GETTING ERRORS IN THE ECLIPSE BUILD. SO OBVIOUSLY ** THERE IS SOMETHING WRONG. BACK TO LOOKING AT MORE BASE INFORMATION AND TUTORIALS ** I WILL UPDATE THIS AS I GET IT WORKING
Contents
Online Instructions
- generally following instructions from http://www.minecraftforge.net/wiki/Installation/Source
Install the Java SDK
- http://www.oracle.com/technetwork/java/javase/downloads/index.html - version 7
Install Gradle (full copy)
- http://www.gradle.org/ (version 1.10) - mkdir ~/Projects/gradle - upzip download into that directory; created folder ~/Projects/gradle/gradle-1.10 - edit ~/.bash_profile add to PATH ~/Projects/gradle/gradle-1.10/bin
Install the Eclipse IDE
- download Eclipse IDE from https://www.eclipse.org/ (Eclipse Standard v.4.3.1) - expand download - drop eclipse subfolder over to Applications - drag /Applications/eclipse/eclipse.app to dock
Unidentified Developer error message If you get a message that the app cannot be started when you try to run it, because it is from an "unidentfied developer", refer to this document http://osxdaily.com/2012/07/27/app-cant-be-opened-because-it-is-from-an-unidentified-developer/
Download Minecraft Source 1.6.4
- http://files.minecraftforge.net/ - version 1.6.4 Recommended (src) -- do NOT use 1.7.2 yet.... - moved to ~/Projects/minecraft - unzipped, created folder ~/Projects/minecraft/forge - cd ~/Projects/minecraft/forge - chmod u+x intsall.sh - ./install.sh If there are any errors, try rerunning and refreshing the dependencies - gradle setupDecompWorkspace --refresh-dependencies
Configure Project for Eclipse
- gradle eclipse
Test Development Setup
- start up Eclipse - when it first asks for a workspace, point it at the 'eclipse' folder in the minecraft source directory
Back to Minecraft - Modding