Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrite the mod #2

Merged
merged 15 commits into from
Sep 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 3 additions & 28 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,31 +1,6 @@

#ToroHealth Damage Indicators
# ToroHealth Damage Indicators

With ToroHealth Damage Indicators, damage given, received, or mitigated will be displayed as a number that pops off of the entity.
#### ToroHealth Damage Indicators adds floating damage particles around entities when they take damage or heal.

Also, health bars will appear in the top left corner for the entity in the player's crosshairs.

Customization options are available for changing the color of the damage numbers and the display style of the health bar (Compact or Standard). I will soon be adding options to re-position the health bars and may make some visual tweaks to them.

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

![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`)

```
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
```
Config options are available for changing the color of the damage particles, their size and if they should render through walls or not.
Loading