The consume effect apply_effects
of the consumable
component, do not display correctly the effects in potions.
/give @s potion[consumable={on_consume_effects:[{type:"apply_effects",effects:[{id:"fire_resistance",duration:1250}]}]}]
Expected results:
Gives a potion that displays and applies fire resistance.
Observed results:
Gives a potion that applies fire resistance but does not display it (in the tooltip or texture).
Comments 3
The status effect tooltip on potions is based on the potion_contents
component, not the consumable
component. If for example you give yourself a potion of fire resistance, with the consumable
component edited so that the potion gives you a different effect upon drunk, the tooltip still displays that it would give you fire resistance. Any other food item that gives effects doesn't display it in its tooltip (except suspicious stew, which is controlled by a different component). Making the consumable
component display its effects in the item's tooltip would be a feature request.
Thank you for your report!
However, this issue is Invalid.
You have posted a feature request or a suggestion. This site is for bug reports only.
For suggestions, please visit The Minecraft Feedback Site or visit the Minecraft Feedback Discord server.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki