All versions
1.0.0
Release
MobHealthBars 1.0.0last year 1,347
Compatibility
Minecraft: Java Edition
1.21–1.21.7
Platforms
Paper
Spigot
Changes
- Added healthbars as separate entities
- Fixed glitch where healthbars collide with projectiles
- Healthbars change color based on how much health mobs have (green for full HP, yellow for moderately full, orange for less than half, red for less than 10%)
- Healthbars only show when a player is looking at the mob, and they dissapear 5 seconds later
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:w2YmqOkM:LiOs2Xtr"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:w2YmqOkM:LiOs2Xtr"
}

