-
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.
- duplicates
-
MC-123782 Game crashes if an item has a name that's invalid json
- Resolved