mojira.dev
MC-306819

With the Highest Priority of "Selector" Text Component, the Tooltip to Selector Is Able to Be Shown with Cursor Maintains on Anywhere of This Message

Summary

“Selector” text component is used to refer to an entity target, e.g. /tellraw @a {selector:"@a"}, which outputs all online players with comma separated.

However, if a selector is placed at very first of the whole text components (e.g. /tellraw @a {selector:"@a",extra:[{text:"114"}]}), the tooltip to the selector is shown even only moving cursor atop any other parts of the msg ("114", in this instance).

Steps to Reproduce

  • Just run: /tellraw @a {selector:"@a",extra:[{text:"114514"}]}.

Expected Behavior:

  • Tooltip is not shown when cursor maintains on "114514."

Observed Behavior:

  • Tooltip is shown even when cursor maintains on "114514."

Attachments

Comments 3

Thank you for helping us improve Minecraft! We saved your files:

[media]

Doing this exact thing is the intended purpose of extra. If you want extra text that does not inherit properties from its parent, make them siblings: {text:"",extra:[{selector:"@a"},"114514"]}

Thank you for your report!
After consideration, the issue is being closed as Working as Intended.

Please note, that mechanics of the game may change between updates.
Things such as graphics, sounds, world creation, biomes, redstone, villagers, and animals may not work the same in current versions.

Full Version HistorySnapshot Version HistoryThe official Minecraft feedback site

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

ZYX_2D

(Unassigned)

Confirmed

(Unassigned)

26.1 Pre-Release 1

Retrieved