SpaceApps challenge 2016 - Open World Generation using NASA Mars and Vesta Data
- Java JDK
- Minecraft Source Forge
- IDE (Eclipse, Intellij, Netbeans)
- Git
- Download and install Java's JDK here:
- Add the Java's directory into the environment variables.
-
Download a copy of the Source Forge of Minecraft from this link, skipping the ads inside it.
-
Unzip the downloaded file into the project's folder.
-
Navigate inside the folder, open a terminal and run this command:
gradlew setupDecompWorkspace --refresh-dependencies
./gradlew setupDecompWorkspace --refresh-dependencies
If the command doesn't work, you must enter this command first: chmod +x gradlew
.
- After the installation of the gradle is done, we must choose the IDE. We are only showing Eclipse and Intellij, other IDEs are accepted but not listed in this tutorial.
-
For Eclipse, run this command:
gradlew eclipse
./gradlew eclipse
-
For IntellijIDEA, you must open the IDE and import the project. Then, run this command:
gradlew genIntellijRuns
./gradlew genIntellijruns
-
- Open the IDE you are working with and import the generated proyect.
-
Now you need JSon Simple to contribute generating the height maps. You can download it here.
- Include it as a project depency.
-
Run the project.
Now we need MarCraft source.
- We need to install Git; you can get it here:
- Open the directory folder and navigate to the
src/main
folder. Inside it, open a Terminal and run this command: git clone https://github.com/oscaresgil/marcraft - This will clone the MarCraft Source, but it's necesary to remove some things first:
Navigate into the
marcraft
downloaded folder. Move thejava
andresources
folders into the upper directory (src/main
), and then remove the marcraft downloaded folder. - Run the updated project.
- Inside Marcraft main menu, select
Singleplayer
. - Select
Create New World
- Type any name for the world
- Select
Creative
Game Mode. - Select
More World Options
- Select
Superflat
world type. - Select
Create New World
- Wait until Minecraft finish loading the world.
- Move using
wasd
buttons - Jump using
space
button - Double Jump (fly) using twice the
space
button - Destroy any block using left click
- Interact using right click (in front of rover's wheel)