
Что это
A client-sided mod that changes how hearts are rendered, and allows other mods to customize what gets rendered without stepping on each others' toes.
- Тип: мод
- Загрузчик: neoforge
- Версии Minecraft: 1.20.4 – 1.21.4
- Скачиваний на Modrinth: 887
Подробно
Hearty A NeoForge mod that provides several features that change how health is displayed in Minecraft.
For modders Adding to existing Gradle project Insert the following block inside your build.gradle or build.gradle.kts's repositories block.
groovy maven { name = "GPR for Hearty" url = uri("https://maven.pkg.github.com/zygzaggaming/hearty") credentials { username = project.findProperty("gpr.user") ?: System.getenv("GITHUBACTOR") password = project.findProperty("gpr.key") ?: System.getenv("GITHUBTOKEN") } }
Then, configure the gpr.user and gpr.key Gradle properties to your GitHub username and a personal access token with read:packages access. It is HIGHLY recommended to keep these properties in your global gradle.properties file ( \.gradle\gradle.properties) rather than your project's gradle.properties.
If you use GitHub Actions to build your mod, the fallback GITHUBACTOR and GITHUBTOKEN environment variables are already set, so don't worry about remote builds failing from lack of authentication.
Then, in the same build.gradle(.kts), add the following line in your dependencies block: groovy localRuntime(variantOf(libs.hearty) { classifier("all") })
And in your gradle\libs.versions.toml: toml [versions] hearty = { strictly = "[ , )", prefer = "latest.release" }
[libraries] hearty = { id = "io.github.zygzaggaming.hearty.mod", name = "hearty", version.ref = "hearty" }
Using the API directly Importing the Hearty mod directly also imports the API by extension. However, if you want your mod to interact with Hearty without packaging it as a dependency, you'll need to import the API directly.
To import the API, add this block in the same place as above: groovy maven { name = "GPR for Hearty" url = uri("https://maven.pkg.github.com/zygzaggaming/hearty") credentials { username = project.findProperty("gpr.user") ?: System.getenv("GITHUBACTOR") password = project.findProperty("gpr.key") ?: System.getenv("GITHUBTOKEN") } }
Anywhere top-level in your build.gradle(.kts) add the line jarJar.enable() to enable Jar-in-Jar to package the API into your mod when it's built. build.gradle(.kts) dependencies: groovy jarJar(group: 'io.github.zygzaggaming.hearty.api', name: 'hearty-api', version: '[ , )') { jarJar.pin(it, ' ') } implementation libs.hearty.api
gradle\libs.versions.toml: toml [versions] hearty-api = { strictly = "[ , )", prefer = "latest.release" }
[libraries] hearty-api = { id = "io.github.zygzaggaming.hearty.api", name = "hearty-api", version.ref = "hearty-api" }
Как установить
Скачайте файл на официальной странице ниже и положите его в папку mods (для модов) или plugins (для плагинов) вашего сервера или клиента. Для модов нужен совместимый загрузчик. Версия должна совпадать с версией Minecraft.
Текст подготовлен автоматически из описания на Modrinth и ждёт проверки редакцией.
Комментарии 0
Комментарии к этому материалу отключены.
Читайте также
Mxthy's Kebab World
Mxthy's kebab world is a resource pack that will change items and aesthetics features into kebabs 05.12.2026
Create + Origins
Create + Origins is a survival focused modpack that aims to improve the survival experience with new mods. 05.12.2026
Cobblemon Rene' (Brasil)
Simple, complete, kind of optimised. A client-side modpack made to improve your Cobblemon gameplay and turn it on a feature-rich experience. 05.12.2026
Italian Food
Italian Food Minecraft Mod brings a taste of Italy to your Minecraft world by introducing a variety of authentic Italian dishes. Craft and… 05.12.2026
Project MMO: Vinery Compat
Adds compatibility between Project MMO and Vinery. 05.12.2026
Carnation
Graves designed to minimise bugs, but maximise visual quality 05.12.2026