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

Crash on "show_entity" hover event with nbt as value

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: Minecraft 18w02a
    • Fix Version/s: Minecraft 18w03a
    • Labels:
      None
    • Confirmation Status:
      Confirmed

      Description

      The game instantly crashes on (in my opinion) correct Entity NBT data.
      For example:

      /tellraw @a {"text":"Hover me and you crash!","hoverEvent":{"action":"show_entity","value":"foo"}}
      

      will, as expected, say "Invalid Entity"

      however if a NBT-format is used (for example:

      /tellraw @a {"text":"Hover me and you crash!","hoverEvent":{"action":"show_entity","value":"{fire:-1s}"}}
      

      ), Minecraft will crash wether a Creeper exists or not. This happens with every NBT-Format within the quotation-marks. A Null Pointer exception will be thrown.

      This is not the only case though... All commands with some kind of NBT-Format-Text in quotation-marks will cause Minecraft to crash

      (Additional Crash information below)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dinnerbone [Mojang] Dinnerbone (Nathan Adams)
                Reporter:
                Freelease Florian
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  CHK: