Mojira Archive
MC-123913

Item custom name NBT crash

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

Duplicate

Darrin Dunbar

2018-01-05, 06:45 AM

2018-01-05, 06:47 AM

2018-01-05, 06:46 AM

0

0

Unconfirmed

Minecraft 18w01a

-