Minor update to bring the mod into 1.21 Minecraft.
Additions
- Text on damage particles now has an alpha channel. This can be adjusted in the settings menu.
- Caution: If updating from the previous version of the mod, it is possible that the alpha will be at zero (invisible). Double check your settings if you can't see any text particles.
Backport of the 1.2.4 version to 1.19.2 Minecraft.
Thanks to HarryNull for making this possible.
Notes
Due to game-breaking visual bugs present in 1.19.2, this version requires both Sodium and Iris to be present.
If in-world text looks wrong in this version, consider disabling text shadows.
1.19.2 rendering is not perfect, so play with the settings if you encounter any issues.
Major release to update the codebase to 1.20.6, including a revamp to the mod's API.
New Features
- Health bars and the HUD can now have text placed on them by other mods.
Changes
- Changed text particle rendering... again.
API Changes
- EntityGroups no longer exist, so the API has been rewritten to make use of datapack tags.
- Dependent mods should now register a tag with a priority in the API. PHB will get the highest priority tag for each mob on demand, and cache the results.
- API has a new a function where a lambda that returns Text (can be formatted) can be registered. This tells PHB to place the text in the world or the HUD.
Changes
- Moved the text renderer for particles.
- There is a rare issue with text rendering and the cause is currently unknown. This is aimed at making it more stable; if you encounter an issue it should resolve itself after a couple minutes.
- Spectating players can no longer be considered visible.
Minor release to address issues with shaders and Iris. Also adds more API options and config options.
General
- Text Top-Layer / See-Through options have been replaced from a boolean to an enum with 3 options:
- Top layer text with manual normal layer shadows.
- Top layer with built-in shadows.
- Normal layer with built-in shadows.
New Features
- Added config option to improve shader compatibility. Enabling this option will disable any colour settings for in-world health bar and default them to green.
- Added config option for opacity of text particles.
- Added config option for Y-axis offset of in-world health bars.
- Added ability for dependent mods to register null values for icons and portraits (defaulting the registry).
- Added ability for custom NBT itemstacks to be used as HUD icons.
General
- The API now allows for mods to override existing portraits and icons.
- Health bar textures are now split between the frame and the bar.
- Health bar textures are now grayscale to account for the new colour changing feature.
New Features
- HUD can now be positioned on the left or right of the screen.
- Health bars can now be set to any colour.
- Added an option to let health bars change colour with mob health.
- Health bars can now optionally replace the nameplates above a mob's head. Doing this puts the mob name on the health bar.
Fixes
- Illusioner clones (and similar illusory mobs) now have health bars.
- Blacklisted passengers no longer prevent their mount's health bar from rendering.
General
- Invisible mobs will now have visible health bars if they have riders or are wearing helmets or chest armour.
- Made the mod icon sleeker.
- Starting from version 1.1.0 and onwards, the mod is held under a new license.
New Features
- Added damage and healing particles.
- Added armour points to the HUD portrait.
- Added option for the HUD portrait to be moved up and down the screen.
Fixes
- Made the paperdoll for mobs with lower eye-height (guardians, squids, etc) centre better.
- Fixed labels appearing in the HUD.