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

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • 20w20b, 20w21a, 20w22a, 1.16 Pre-release 1, 1.16 Pre-release 2
    • 1.16 Pre-release 3
    • None
    • Confirmed
    • Commands
    • 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

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

              Dates

                Created:
                Updated:
                Resolved:
                CHK: