Compatibility
Minecraft: Java Edition
1.21.x
1.20.x
1.19.x
1.18.x
1.17.x
90% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Creators
Details
Licensed MIT
Published last month
Updated last month
Custom Damage Overlay Color
This resource pack allows to change overlay color of all entities when they take damage. By defult this resource pack changes it to green, as an example.
Versions: 1.17 — 1.21.3+
Works with both Optifine and Sodium.
How to change the color
Go into the resource pack and open a file assets/minecraft/shaders/include/change_damage_overlay.glsl
, choose a color and put it into the second line of the file. For example if you want to change the color to purple (#AA00FF
) with 50% transparency, the second line of the file would look like this:
vec4 RGBColor = vec4(170,0,255,127);
And if you want cyan (#00FFFF
) color with the same transparency as in vanilla, it would look like this:
vec4 RGBColor = vec4(0,255,255,178);