mojira.dev
MC-124268

CustomName not visible.

I started making a map for fun, and i ran in to a problem.
Typing this:

/give R3tromanCZ minecraft:carrot_on_a_stick{Damage:1,weapon:"frag",display:{Name:"Fragmentation Grenade"}} 1

Resulted in me reciveing an item named "Carrot on a Stick"
Was it changed in the latest snapshots? Or do I and three more websites just suck at commands?

Linked issues

Comments 1

All Name attributes have been changed to use JSON text instead, so you can specify color and the like. Use

/give R3tromanCZ minecraft:carrot_on_a_stick{Damage:1,weapon:"frag",display:{Name:"\"Fragmentation Grenade\""}} 1

Michal Štein

(Unassigned)

Unconfirmed

Minecraft 18w02a

Retrieved