This mod adds a vignette (similiar to world border) when on low health.

The vignette scales with health.
Future plans
- add an api to control player vignette using server side
- smooth vignette (no instant change in vignette alpha)
- Add vignette based on danger (like air,health)
- Add pulsating effect on really low health
- Configurable texture
- Add directional pulse (like in zombie games)
Feel free to request / give ideas on discord or codeberg. I am very likely to implement them (if I can).
Credits
- The mod is based on damage vignette mod.
Backports
- Similiar mods are available for previous versions, so you can go and use those.
- I have ported the above mentioned mod to 1.21.1 (for fabric), you can get it at https://github.com/offbeat-stuff/DamageVignette
How to Install Damage Vignette (Mod)
Damage Vignette by ZenXArch is verified for Fabric, Quilt across Minecraft versions 1.21.1, 1.21.10, 1.21.10-rc1, 1.21.11, 1.21.8, 1.21.9, 1.21.9-pre2, 1.21.9-rc1 (latest release: 0.1.6+26.1, file size: 613 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.21.1, 1.21.10, 1.21.10-rc1, 1.21.11, 1.21.8, 1.21.9, 1.21.9-pre2, 1.21.9-rc1) and platform (Fabric, Quilt).
- Make sure you have the compatible loader or environment installed for Fabric, Quilt.
- Move the downloaded Damage Vignette file into your Minecraft
.minecraft/modsfolder and launch the game.
All Versions
+ Add Version- bit lighter vignette
- update to 26.1
- Update to 1.21.11
- Fix flashing lights
- No vignette in creative/spectator
- More lighter vignette (same texture as [Bliss shaders](https://github.com/X0nk/Bliss-Shader/blob/Stable/shaders/lib/gameplay_effects.glsl))
- The vignette darkness adjusts to game lighting (kinda works)
## New contributors
- [lunaynx](https://codeberg.org/lunaynx)
- Fixed gamemode npe
- I forgot to add mixin
- Fix npe
- Update to 1.21.9 rc1
- Fix null pointer exception
- Updated to 1.21.9-pre2
- added simple smoothing