Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-183933

show_text tellraw hover events don't work for components that need resolving (nbt, score, selector)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: 20w20b, 20w21a, 20w22a, 1.16 Pre-release 1, 1.16 Pre-release 2
    • Fix Version/s: 1.16 Pre-release 3
    • Labels:
      None
    • Confirmation Status:
      Confirmed
    • Category:
      Commands
    • Mojang Priority:
      Normal

      Description

      The bug

      The `show_text` hover event for the tellraw command doesn't work anymore for `nbt`, `selector` and `score`. This was fixed in MC-56373 and worked in both 20w17a and 20w18a and is broken since 20w19a.

      How to reproduce

      Both of the following hover events don't show the correct texts:

      /tellraw @a {"text":"test","hoverEvent":{"action":"show_text","value":{"selector":"@s"}}}
      
      /tellraw @a {"text":"test","hoverEvent":{"action":"show_text","contents":{"selector":"@s"}}}
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              boq [Mojang] Bartosz Bok
              Reporter:
              AlexMCool Alex³
              Votes:
              10 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                CHK: