Mojira Archive
MC-130968

Selector, score and nbt components don’t work in team prefix and suffix

I let myself, two entities (I used villagers, one was renamed,) and a virtual name have an objective "test" and join in the same team "test."

Then I executed the commands below:

/team option test prefix ["Hello",{"text":", ","color":"gold"}]
/team option test suffix [" ",{"selector":"@p","italic":"true"},{"score":{"name":"Virtual_Name","objective":"test"}}]

After that, "score" tags didn't work at all, and "selector" tags did as "text" tags.

 

 

By the way, this bug does on a item name.

Works As Intended

FlesyZ

2018-06-06, 02:19 PM

2023-08-31, 02:38 PM

2021-09-14, 10:34 AM

13

10

Confirmed

/team, JSON, prefix, suffix

Minecraft 1.13-pre1 - 1.17.1Minecraft 1.13-pre1, 1.16.3, 1.16.5, 21w17a, 1.17.1

-