mojira.dev
MC-297197

The command doesn't work well on the armor stand

When I try to enter the command “/summon minecraft:armor_stand ~ ~ ~ {CustomNameVisible:true,CustomName:‘{”text“:”HELLO“,”color“:”blue“,”bold“:true}’}” the text “HELLO” should appear in blue but it doesn't, it remains as the name of the command.

Attachments

Comments 4

Text component changed in 1.21.5, check the changelogs:

  • Text Components are no longer stored as JSON wrapped by a string

The correct command would be:

/summon minecraft:armor_stand ~ ~ ~ {CustomNameVisible:true,CustomName:{text:"HELLO",color:"blue",bold:true}}

/summon minecraft:armor_stand ~ ~ ~ {CustomNameVisible:true,CustomName:'{"text":"Oi","color":"blue","bold":true}'}

it works like that too

/summon minecraft:armor_stand ~ ~ ~ {CustomNameVisible:true,CustomName:{"text":"Oi","color":"blue","bold":true}}

it works like that too

the first one is wrong :(

L3an

(Unassigned)

Unconfirmed

(Unassigned)

1.21.5, 25w17a

Retrieved