1.0.5
Compatibility
Changes
Added Wither Erosion Maximum Health Reduction Mechanic
For non-Wither entities with the Wither Erosion effect at level ≥ 21 (amplifier ≥ 20), maximum health is reduced:
Each level reduces maximum health by 5%: level 21 reduces 5%, level 22 reduces 10%, level 23 reduces 15%, and so on.
Reduction cap: when the theoretical reduction reaches or exceeds 100%, maximum health is not reduced to 0, but is set to a minimum of 1 point.
Synchronized implementation: both the getMaxHealth() return value and the Attributes.MAX_HEALTH attribute base value are modified to ensure they remain consistent.
Recovery mechanism: when the effect is removed or the level is insufficient, the original maximum health is restored, and current health is clamped to not exceed the restored maximum.
This mechanic stacks with the existing "Wither Erosion level ≥ 10 prevents healing" effect, further strengthening the suppressive power of Wither Erosion.
Damage cap changed to 15 points, and the independent invincibility frames changed to 0.5 seconds.
Optimized the damage cap logic.
Optimized the invincibility frames shield.
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:XHFQxCn6:f4St0eQo"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:XHFQxCn6:f4St0eQo"
}

