# GrowHealth
A dynamic health scaling mod/plugin for Minecraft **1.21.11**, supporting both **Paper** and **Fabric**.
## Features
- **Hardcore Start**: Every player begins their journey with configurable starting hearts (Default: **1 Heart**).
- **Progressive Growth**: Earn extra hearts for every level interval gained (Default: **+1 Heart** every **5 levels**).
- **Infinite Scaling**: There is no hard limit to how many hearts you can obtain.
- **Decimal Support**: Configure health with half-heart precision (e.g., start with 0.5 hearts).
- **Multi-Platform**: Native support for Paper (Bukkit) servers and Fabric modded environments.
## Installation
### Paper / Spigot
1. Download `GrowHealth-1.0.0-Paper.jar`.
2. Place the JAR in your server's `plugins/` directory.
3. Restart your server.
### Fabric
1. Download `GrowHealth-1.0.0-Fabric.jar`.
2. Ensure you have the **Fabric Loader** and **Fabric API** installed.
3. Place the JAR in your `mods/` directory.
4. Restart your Minecraft client or server.
## Configuration
### Paper (`plugins/GrowHealth/config.yml`)
```yaml
starting-hearts: 1.0
levels-per-interval: 5
hearts-per-interval: 1.0
```
### Fabric (`config/growhealth.properties`)
```properties
starting-hearts=1.0
levels-per-interval=5
hearts-per-interval=1.0
```
- **starting-hearts**: Initial health (2.0 = 1 full heart).
- **levels-per-interval**: Number of levels required for a health boost.
- **hearts-per-interval**: Amount of health gained at each interval.
## Building from Source
This project uses a multi-project Gradle build.
```bash
# Build both versions
./gradlew build
# Build specific platform
./gradlew :paper:build
./gradlew :fabric:build
```
The output JARs will be in `paper/build/libs/` and `fabric/build/libs/`.
## Technical Details
- **Version**: 1.21.11
- **Java**: 21
- **Mappings**: Official Mojang Mappings (Fabric)
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }