Tags
Creators
Details
7.0.0
Compatibility
Required content
Changes
Thermoo 7 for Minecraft 1.21.6
This update brings Thermoo to 1.21.6. Per the LTS policy, this release also represents the end of support for 1.21.5. This version will likely also work on 1.21.7, when that version releases.
There is one notable breaking change in this update: The status bar overlay events have been refactored to reduce complexity, prevent errors, and be more extensible for future updates (if needed). See #82 for details.
To summarize, the main changes look something like this:
-StatusBarOverlayRenderEvents.AFTER_HEALTH_BAR.register(
- (DrawContext ctx, PlayerEntity player, Vector2i[] positions, int displayHealth, int maxDisplayHealth)-> {
- // rendering code
- });
+StatusBarOverlayRenderEvents.AFTER_HEALTH_BAR.register(
+ (DrawContext ctx, PlayerEntity player, HeartBarContext heartBarContext) -> {
+ SequencedCollection<Vector2i> positions = heartBarContext.positions();
+ int displayHealth = heartBarContext.currentDisplayHalfHearts();
+ int maxDisplayHealth = heartBarContext.maxDisplayHalfHearts();
+
+ // rendering code
+ });
Optional dependencies
Supplementary resources
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:9TbXlAut:MCXoKnXM"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:9TbXlAut:MCXoKnXM"
}

