Skip to content

Commit

Permalink
Adding development setup instructions to README
Browse files Browse the repository at this point in the history
  • Loading branch information
frodare authored Dec 6, 2016
1 parent d35fbeb commit 15c0f47
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,23 @@ Customization options are available for changing the color of the damage numbers

###[Download from here](https://minecraft.curseforge.com/projects/torohealth-damage-indicators)

##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`)

```
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
```

![Screenshot](https://i.imgur.com/C9oBhZ5.png)

0 comments on commit 15c0f47

Please sign in to comment.