Mojira Archive
MC-183933

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

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

Fixed

Alex³

[Mojang] Bartosz Bok

2020-05-14, 02:16 PM

2020-06-08, 07:12 PM

2020-06-08, 07:12 PM

10

7

Confirmed

Normal

Commands

20w20b - 1.16 Pre-release 220w20b, 20w21a, 20w22a, 1.16 Pre-release 1, 1.16 Pre-release 2

1.16 Pre-release 3