mojira.dev
MC-73995

Bug with /tellraw hoverEvent command

Command:

tellraw @a {"text":"hover","hoverEvent":{"action":"show_text","value":{"score":{"name":"*","objective":"health"}}}}

When You use * symbol as "name" it should show player's (health is example of score).

Linked issues

Attachments

Comments 2

a * in a command targets all listed objects with a score value, score:{} parameter can only accept a single player, it will result in an error, after some testing i discovered that just using a selector causes the said bug, when using a direct name the problem is resolved, so to get around this you would just copy @p's score to a dummy player and use it instead

Jakub Maz

(Unassigned)

Unconfirmed

Minecraft 1.8, Minecraft 1.8.1-pre3

Retrieved