mojira.dev
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.

Linked issues

Comments 0

No comments.

Darrin Dunbar

(Unassigned)

Unconfirmed

Minecraft 18w01a

Retrieved