mojira.dev
MC-124421

CustomName on blocks works only with numbers

Setting a block to be a chest with CustomName "Example" returns an unexpected error.
Setting the same block to be a chest with CustomName "100" works fine.

Linked issues

Comments 3

CustomName uses JSON components now.

  • Ex. {CustomName:"Example"}{CustomName:"{\"text\":\"Example\"}"}

It's interesting how using numbers still works with the old format. Funny that.

because numbers without quotes is valid json.

OnePointZero

(Unassigned)

Unconfirmed

Minecraft 18w03b

Retrieved