Releases: Eneryleen/damage-indicator
Releases · Eneryleen/damage-indicator
Release list
1.4.1 — индикатор смертельного удара
Урон последнего (смертельного) удара теперь тоже показывается: захват урона перенесён с Fabric-события AFTER_DAMAGE (молчит на летальном ударе) на миксин actuallyHurt.
v1.4.0 — Minecraft 1.21.11 / Fabric
Port from NeoForge to Fabric, targeting Minecraft 1.21.11.
Requirements:
- Minecraft Java Edition
1.21.11 - Fabric Loader
0.19.3or newer - Fabric API
0.141.4+1.21.11or newer - Cloth Config (Fabric)
21.11.153+— optional, for the in-game settings screen - ModMenu
17.0.0+— optional, for the config button
Install the mod on both server and client (the server detects damage, the client draws the numbers).
Downloads:
damage-indicator-1.4.0-mc1.21.11.jar— drop into yourmods/folderdamage-indicator-1.4.0-mc1.21.11-sources.jar— source attachment for developers (do NOT put inmods/)
Built with: JDK 21, Gradle 9.5.1, fabric-loom-remap 1.17, official Mojang mappings.
Porting notes:
- Damage event: NeoForge
LivingDamageEvent.Post→ FabricServerLivingEntityEvents.AFTER_DAMAGE. Known limits of the Fabric event: the number excludes armor/enchantment reduction, and no number is shown for a killing blow. - Networking: NeoForge payload registrar → Fabric
PayloadTypeRegistry+ClientPlayNetworking; receiver runs on the render thread (no re-scheduling needed). Recipients: players tracking the entity + the entity itself, deduplicated. - Renderer:
RenderLevelStageEvent→WorldRenderEvents.AFTER_ENTITIES(camera-relative coordinates, shared world vertex consumers, no manual flush). - Config screen wired through ModMenu; cloth-config is a soft dependency — without it the mod runs fine and the config stays editable as JSON.
- NeoForge version remains available at tag
v1.3.0-neoforge-mc26.1.2.
v1.3.0 — Minecraft 26.1.2 / NeoForge 26.1.2.66-beta
First release targeting Minecraft 26.1.2.
Requirements:
- Minecraft Java Edition
26.1.2 - NeoForge
26.1.2.66-betaor newer - Cloth Config (NeoForge)
26.1.0+— for the in-game settings screen
Downloads:
damage-indicator-1.3.0-mc26.1.2.jar— drop into yourmods/folderdamage-indicator-1.3.0-mc26.1.2-sources.jar— source attachment for developers (do NOT put inmods/)
Built with: OpenJDK Temurin 25, Gradle 9.1.0.
Highlights from the commit log:
ResourceLocation→Identifier(renamed in 26.1.x)Cameraaccessors lost theirget-prefix (getPosition→position,getYRot→yRot,getXRot→xRot)- Renderer migrated to
RenderLevelStageEvent.AfterOpaqueFeatures(theStageenum andevent.getCamera()were removed) - Hardening: volatile DCL singleton, safe config load on broken JSON, format-string fallback, NaN/Infinity payload validation, 512-indicator queue cap (flood protection)
- Damage display now shows actual HP lost (
getNewDamage) instead of pre-mitigation damage