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

Item custom name NBT crash

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • Minecraft 18w01a
    • None
    • Windows 7
      Java 1.8.0_151
    • Unconfirmed

      /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.

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

              Created:
              Updated:
              Resolved: