Mojira Archive
MC-251671

Raw JSON text doesn't work completely in mob naming

How to reproduce

  1. Use raw JSON text to name a mob. For Example:
    /summon minecraft:creeper ~ ~ ~ {CustomName:'{"text":"E.G.","hoverEvent":{"action":"show_text","contents":{"text":"TEXT FOR E.G."}}}'}
    

    You can see nothing happens when the mouse hovers over the summoned message and killed message. Only named text and mob info.

  2. Do the same thing in naming item. For Example:
    /give @a minecraft:diamond_axe{display:{Name:'{"text":"E.G.","hoverEvent":{"action":"show_text","contents":{"text":"TEXT FOR E.G."}}}'}}
    

    You can see the edited info when the mouse hovers over the message. Not the item info.

Duplicate

xiaofan7520

2022-05-13, 03:18 PM

2023-02-13, 12:08 PM

2023-02-13, 12:03 PM

1

3

Confirmed

(Unassigned)

1.18.2, 1.19.3, 23w06a

-