The bug
The waypoint_transmit_range
attribute color appears gray when applied on an item. However, this attribute shows as red when applied to invisibility potions despite invisibility being considered a positive effect, which is unintuitive.
Similar issues happened with other attributes in the past, as you can see in MC-268772.
How to reproduce
Obtain any item with a negative waypoint transmit range:
/give @s netherite_sword[attribute_modifiers=[{type:"minecraft:waypoint_transmit_range",amount:-1,slot:"mainhand",operation:"add_multiplied_base",id:"example:test",display:{type:"default"}}]]
Now obtain an invisibility potion.
Hover over them in the inventory and compare the display of the attribute.
Expected result
The attribute on the invisibility potion would show as gray, like with the netherite sword.
Observed result
The attribute appears red as a negative effect, despite invisibility being a positive effect and showing up as gray on the netherite sword.
Attachments
Comments 2
Thank you for your report!
After consideration, the issue is being closed as Won't Fix.
Please note that this is not the same as Working as Intended, as this bug report correctly describes behavior in the game that might not be the intended or desirable behavior, but it will not be fixed right now. Sometimes, this is because the issue reported is minor and/or impossible to change without large architectural changes to the code base.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
Can confirm.