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

Item custom name NBT crash

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Duplicate
    • Affects Version/s: Minecraft 18w01a
    • Fix Version/s: None
    • Labels:
      None
    • Environment:

      Windows 7
      Java 1.8.0_151

    • Confirmation Status:
      Unconfirmed

      Description

      /give @p minecraft:iron_nugget{display:{Name:"Crash"}} 1
      

      This will give an item that causes a crash. Crashes will continue until player data is deleted from the save's folder to get rid of the item. This is the old way of renaming an item through commands, and caused me a lot of confusion until I figured out that the Name NBT tag now uses JSON.

      /give @p minecraft:iron_nugget{display:{Name:"{\"text\":\"No Crash\"}"}} 1
      

      This gives a properly renamed item that doesn't cause a crash.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                Roxforbraynz Darrin Dunbar
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: