Entity Health Display

Entity Health Display

Fabric server-side library mod for displaying entities' health.

by
1.8K Downloads
fabricquiltlibrary
Rent Server with this Mod

Screenshots

Example Screenshot

About this Mod

About

Entity Health Display is a fabric server-side library for displaying entities' health.

Installing

To use Entity Health Display in your project add the Modrinth repository to your build file and a mod dependency. Replace the VERSION_TAG with the latest version, for example 0.3.1+1.20.2

repositories {
    maven {
        url "https://api.modrinth.com/maven"
        content { includeGroup "maven.modrinth" }
    }
    maven { url "https://maven.nucleoid.xyz" }
}

dependencies {
    modImplementation include("maven.modrinth:entity-health-display:VERSION_TAG")
    modImplementation include("eu.pb4:placeholder-api:${project.placeholder_api}")
    modImplementation include("eu.pb4:polymer-virtual-entity:${project.polymer_version}")
}

Example

HealthDisplayEvents.FORMAT_HEALTH_DISPLAY.register((entity, world) -> {
   String color = (entity.getMaxHealth() / 2) >= entity.getHealth() ? "<yellow>" : "<green>";
   var text = TextParserUtils.formatText("<red>" + entity.getName().getString() + " " + color + String.format("%.1f", entity.getHealth()) + "<white>/<green>" + (int)entity.getMaxHealth() + "<red>❤");
   return text;
});

HealthDisplayEvents.SHOULD_DISPLAY_HEALTH.register((entity, world) -> {
   return true;
});

Available Versions

0.3.1+1.21.3beta
MC 1.21.3fabric
November 18, 2024
0.3.1+1.21beta
MC 1.21, 1.21.1fabric
November 18, 2024
[1.20.3] Entity Health Display 0.3.1alpha
MC 1.20.3, 1.20.4fabric, quilt
December 6, 2023
[1.20.2] Entity Health Display 0.3.1alpha
MC 1.20.2fabric, quilt
September 29, 2023

How to Install Entity Health Display on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21.3).

3

Install Mod

Open the mod browser in the dashboard and search for "Entity Health Display". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

fabricquilt

Minecraft Versions

1.21.3, 1.21.1, 1.21 (+3 more)

Server-side

Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

Entity Health Display server crashes on startup – what to do?

Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.3). You can switch loaders with one click in the panel.

Is Entity Health Display compatible with fabric and quilt?

Entity Health Display officially supports fabric, quilt for Minecraft 1.21.3, 1.21.1, 1.21. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with Entity Health Display – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Entity Health Display consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install Entity Health Display with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
MIT License
Server-side
Required

Supported Versions

1.21.31.21.11.211.20.41.20.31.20.2