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

    • Icon: Bug Bug
    • Resolution: Fixed
    • 1.16 Pre-release 3
    • 20w20b, 20w21a, 20w22a, 1.16 Pre-release 1, 1.16 Pre-release 2
    • None
    • Confirmed
    • Commands
    • Normal

      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"}}}
      

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

              Created:
              Updated:
              Resolved:
              CHK: