Presentation is loading. Please wait.

Presentation is loading. Please wait.

Copyright © 2015 Curt Hill Environment Establishing one for Minecraft Modding.

Similar presentations


Presentation on theme: "Copyright © 2015 Curt Hill Environment Establishing one for Minecraft Modding."— Presentation transcript:

1 Copyright © 2015 Curt Hill Environment Establishing one for Minecraft Modding

2 Introduction Our goal in this presentation is to establish a modding environment The pieces we will use include: –Eclipse –JDK 7 –Minecraft Forge Copyright © 2015 Curt Hill

3 Eclipse The 2015 version of this course will use Eclipse Luna See the following link: http://www.eclipse.org/downloads/ http://www.eclipse.org/downloads/ We should download Eclipse IDE for Java Developers Copyright © 2015 Curt Hill

4 JDK We will use the JDK version 7 –It says that 8 will not yet work –I have not confirmed this Download here: http://www.oracle.com/technetwork/ java/javase/downloads/jdk7- downloads-1880260.html http://www.oracle.com/technetwork/ java/javase/downloads/jdk7- downloads-1880260.html Install after the download Copyright © 2015 Curt Hill

5 Forge We will then download Forge Download at: http://files.minecraftforge.net/ http://files.minecraftforge.net/ Use the 1.7.10-Recommended 10.13.2.1230 –Click on the * following src –Otherwise you get a download manager that tends to do drive by installs Save it See next screen Copyright © 2015 Curt Hill

6 The * Copyright © 2015 Curt Hill

7 JavaDoc Also in that list is something labeled Javadoc This is HTML generated by the Javadoc program It will show all the objects and all their methods Since this has been decompiled it does not show much more than names, but can be helpful –You may want to down this Copyright © 2015 Curt Hill

8 Extraction The saved disk file may be saved anywhere However, its extraction may be best into a directory within root I always recommend a directory that is new and without spaces in name Do not use Desktop or Documents! I recommend some place other than another Eclipse directory –Create a new directory I am using projects_mc –Extract the downloaded zip file into it Copyright © 2015 Curt Hill

9 Gradle Gradel is a product at www.gradle.org www.gradle.org It is a build automation system –Similar to make, but seems to be somewhat more advanced For us gradlew is program that will do a number of installation setup actions –This needs to be done with a DOS box for we have command line parameters Copyright © 2015 Curt Hill

10 Setup Once unzipped a directory structure should exist Next you use a DOS box and move into the directory Use the following two commands: gradlew setupDecompWorkspace gradlew --refresh-dependencies eclipse The first one will take about 7 minutes, second about a minute Copyright © 2015 Curt Hill

11 Eclipse We now start Eclipse If this is the first time using Eclipse it will ask for a workspace and suggest one – do not use it –If not do a File/Switch Workspace Browse to the Eclipse directory within the directory you created There should be a sample project there with a sample mod Open it Copyright © 2015 Curt Hill

12 JRE Open Window/Preferences Expend the Java line Clock on the Installed JREs IF JDK 7 is not present –Add –Use standard VM –Browse to the directory When done 7 should be the clicked JRE Copyright © 2015 Curt Hill

13 Finally At this point you should almost be able to run the project –There is a license thing that needs to be filled in –It should direct you to it when it starts You should eventually see the Mojang splash screen and play a game Copyright © 2015 Curt Hill

14 Assignment So now do it! Since this takes longer than the presentation you need to verify that everything worked This environment should be ready by the next class period Copyright © 2015 Curt Hill


Download ppt "Copyright © 2015 Curt Hill Environment Establishing one for Minecraft Modding."

Similar presentations


Ads by Google