forked from ToroCraft/ToroHUD
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
13 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,21 +11,21 @@ Customization options are available for changing the color of the damage numbers | |
|
||
![Screenshot](https://i.imgur.com/C9oBhZ5.png) | ||
|
||
|
||
## Development Environment Setup | ||
Download the desired version of Forge MDK from https://files.minecraftforge.net/ and unzip the MDK into a new dirctory. After the MDK is unzipped, remove the `main` folder from the `src` folder and clone this repo into the `src` directory as `main`. Then you will need to either copy or link the `build.gradle` from the repository to the root of the MDK, replacing the original one. | ||
|
||
### Setup Example | ||
Replace `<MC_VERSION>` with the Minecraft version of the MDK (for example `~/mdk_1.10.2`) and `<MDK_FILE>` with the file name of the MDK you downloaded (for example `forge-1.10.2-12.18.2.2099-mdk.zip`) | ||
``` | ||
git clone [email protected]:ToroCraft/ToroHealth.git | ||
cd ToroHealth | ||
gradle setupDecompWorkspace | ||
``` | ||
|
||
To setup an Intellij environment: | ||
``` | ||
gradle idea | ||
``` | ||
|
||
To setup an Eclipse environment: | ||
``` | ||
mkdir ~/mdk_<MC_VERSION> | ||
cd ~/mdk_<MC_VERSION> | ||
cp <MDK_FILE> . | ||
unzip <MDK_FILE> | ||
rm -rf src/main | ||
git clone https://github.com/ToroCraft/ToroHealth.git | ||
mv build.gradle build.default.gradle | ||
ln -s src/main/build.gradle build.gradle | ||
./gradlew setupDecompWorkspace | ||
./gradlew eclipse | ||
gradle eclipse | ||
``` |