From 5499079ada52b492af1bf476cec46ee80a20f7a5 Mon Sep 17 00:00:00 2001 From: coolGi2007 Date: Sat, 11 Dec 2021 10:36:25 +0000 Subject: [PATCH] Updated readme to say to install git --- Readme.md | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/Readme.md b/Readme.md index 4e7dbaccc..e1a18d2c8 100644 --- a/Readme.md +++ b/Readme.md @@ -25,8 +25,9 @@ https://fabricmc.net/wiki/tutorial:setup ### Prerequisites -* A Java Development Kit (JDK) for Java 17 (recommended) or newer. Visit https://adoptium.net/releases.html for installers. -* Any Java IDE, for example Intellij IDEA and Eclipse. You may also use any other code editors, such as Visual Studio Code. +* A Java Development Kit (JDK) for Java 17 (recommended) or newer. Visit https://www.oracle.com/java/technologies/downloads/ for installers. +* Git or someway to clone git projects. Visit https://git-scm.com/ for installers. +* Any Java IDE, for example Intellij IDEA and Eclipse. You may also use any other code editors, such as Visual Studio Code. (Optional) **If using Ecplise:** 1. run the command: `./gradlew geneclipseruns` @@ -42,14 +43,14 @@ https://fabricmc.net/wiki/tutorial:setup ## Compiling **Using GUI** -1. open a command line in the project folder -2. run the command: `./gradlew build` -3. the compiled jar file will be in the folder `fabric/build/libs/` and `forge/build/libs/` +1. Open a command line in the project folder +2. Run the command: `./gradlew build` +3. The compiled jar file will be in the folder `fabric/build/libs/` and `forge/build/libs/` **If in terminal:** 1. `git clone -b 1.18 --recurse-submodules https://gitlab.com/jeseibel/minecraft-lod-mod.git` 2. `cd minecraft-lod-mod` -3. `./gradlew build` (must be run as root on linux) +3. `./gradlew build` 4. The build should be in `fabric/build/libs/` and `forge/build/libs/` @@ -66,9 +67,6 @@ The Minecraft source code is NOT added to your workspace in an editable way. Min 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` - ## Useful commands Build only Fabric: `./gradlew fabric:build`\