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

Crash on "show_entity" hover event with nbt as value

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • Minecraft 18w02a
    • Minecraft 18w03a
    • None
    • 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

              dinnerbone [Mojang] Nathan Adams
              Freelease Florian
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                CHK: