Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-251671

Raw JSON text doesn't work completely in mob naming

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 1.18.2, 1.19.3, 23w06a
    • None
    • Confirmed
    • (Unassigned)

      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.

            Unassigned Unassigned
            xiaofan7520 xiaofan7520
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: