From ee89d6f5120971a5e3e5a6469a2e34db267743d5 Mon Sep 17 00:00:00 2001 From: James Seibel Date: Fri, 1 Oct 2021 07:19:55 -0500 Subject: [PATCH] Update the Readme to include IntelliJ install instructions --- Readme.txt | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/Readme.txt b/Readme.txt index 3158c4897..90bd5e270 100644 --- a/Readme.txt +++ b/Readme.txt @@ -22,18 +22,21 @@ See the Forge Documentation online for more detailed instructions: http://mcforge.readthedocs.io/en/latest/gettingstarted/ Step 1: Create a system variable called "JAVA_MC_HOME" with the location of the JDK 1.8.0_251 (This is needed for gradle to work correctly) - Step 2: replace JAVA_HOME with JAVA_MC_HOME in gradle.bat - Step 3: open a command line in the project folder -Step 4: run the command: "./gradlew geneclipseruns" +If using Ecplise: +Step e-1: run the command: "./gradlew geneclipseruns" +Step e-2: run the command: "./gradlew eclipse" +Step e-3: Make sure eclipse has the JDK 1.8.0_251 installed. (This is needed so that eclipse can run minecraft) +Step e-4: Import the project into eclipse -Step 5: run the command: "./gradlew eclipse" +If using IntelliJ +step i-1: open IDEA and import the build.gradle +step i-2: run the command: "./gradlew genIntellijRuns" +step i-3: refresh the Gradle project in IDEA if required -Step 6: Make sure the eclipse has the JDK 1.8.0_251 installed. (This is needed so that eclipse can run minecraft) -Step 7: Import the project into eclipse @@ -42,9 +45,7 @@ compiling ========= Step 1: open a command line in the project folder - Step 2: run the command: "./gradlew build" - Step 3: the compiled jar file will be in the folder "build\libs" @@ -64,7 +65,7 @@ Note to self The Minecraft source code is NOT added to your workspace in a editable way. Minecraft is treated like a normal Library. Sources are there for documentation and research purposes only. -Source code uses mcp mappings not Mojangs. +Source code uses Mojang mappings. The source code can be 'created' with the ./eclipse command and can be found in the following path: minecraft-lod-mod\build\fg_cache\mcp\ VERSION \joined\ RANDOM_STRING \patch\output.jar