Minecraft 15w31c, Minecraft 15w32a, Minecraft 15w32b, Minecraft 15w32c, Minecraft 15w33b, Minecraft 15w33c, Minecraft 15w34a, Minecraft 15w34b, Minecraft 15w35b, Minecraft 15w39a, Minecraft 15w39b, Minecraft 15w44b, Minecraft 15w45a, Minecraft 15w46a, Minecraft 16w41a, Minecraft 16w42a, Minecraft 1.11.2, Minecraft 17w16b, Minecraft 1.12.1, Minecraft 1.12.2, Minecraft 17w43a, Minecraft 17w43b, Minecraft 18w15a, Minecraft 18w19b, Minecraft 18w20b, Minecraft 1.13-pre5, Minecraft 1.13-pre6, Minecraft 1.13.2, Minecraft 18w47a, Minecraft 18w47b, Minecraft 18w50a, 1.15.2, 20w18a, 1.16.2, 1.16.4, 20w49a, 20w51a, 21w03a, 21w05b, 21w06a, 21w07a, 21w11a, 21w17a, 1.17, 1.17.1 Pre-release 1, 1.17.1 Pre-release 2, 1.17.1 Pre-release 3, 1.17.1 Release Candidate 1, 1.17.1, 21w38a, 21w39a, 21w40a, 21w41a, 21w43a, 21w44a, 1.18 Pre-release 1, 1.18 Pre-release 7, 1.18 Release Candidate 1, 1.18 Release Candidate 3, 1.18, 1.18.1
Glowing is considered a positive effect in potion item tooltips.
In the HUD, glowing is displayed as a negative effect.
- Give yourself a potion of glowing.
- Hover over the item in your inventory.
- Take note as to whether or not glowing is considered a positive effect in potion item tooltips.
Glowing is considered a positive effect in potion item tooltips. The text in the potion tooltip is blue, indicating that glowing is considered a positive effect.
Glowing would not be considered a positive effect in potion item tooltips. The text in the potion tooltip should be displayed as red to indicate that it's considered a negative effect.
The following is based on a decompiled version of Minecraft 1.17.1 using MCP-Reborn.
If we look at the above class, we can see that neutral potion effects have chat formatting colors of blue, basically making them appear as this color in item tooltips.
If we locate the glowing effect within the MobEffects.java class, we can see that its MobEffectCategory is NEUTRAL. Potions labeled as neutral effects show as positive effects in item tooltips, but as negative effects in the HUD.
Simply changing the MobEffectCategory of the glowing effect to HARMFUL should resolve this problem. The correct line of code within its class should look something like the following: