This project is a Fabric rewrite of DamageVignette by Octol1ttle. They did all the heavy lifting, I have simply updated the mod for my personal needs.
This mod will display a vignette effect that increases with intensity as player health decreases, similar to other games of the survival genre. This vignette effect functions as a warning that the player is low on health and should take cover to regain stable condition.
The vignette effect is rendered behind interface elements, such as the hotbar, so that only vision of the world is obscured.
The mod is configurable through ModMenu, and each player's experience can be customized to their liking. Settings such as the vignette color, intensity, and vision thresholds can be configured.
# Test gradle to ensure your environment is acceptable.
./gradlew test# Build mod jar file; The destination directory for the plugin file will be `<Project Location>\build\libs\`.
./gradlew buildThis mod was designed to be reliable and lightweight. It does not use any non-public APIs. Please report any issues, and I will see what I can remedy.