mojira.dev
MC-129853

Team and objective names cannot be in JSON

Team and objective display name text formats don't use raw JSON format and don't have corresponding command/functions to match them.

Linked issues

Comments 7

I wasn't entirely sure if this was a bug or just inconsistencies, but I figured I'd add this to the bug tracker.

Quick edit:  the set_name function actually CAN create names in raw json, but I wasn't formatting it correctly.  There wasn't much information on this loot table function and the wiki doesn't even have it listed.

Incorrect format for set_name in raw json:

 

"functions": [
    {
        "function": "set_name",
        "name""{\"text\":\"purple name\",\"color\":\"light_purple\"}"
    }
]

 

Correct format for set_name in raw json:

 

"functions": [
    {
        "function": "set_name",
        "name": {"text":"purple name","color":"light_purple"}
    }
]

 

Lore already has a report, and player names (no matter if fake or not) aren’t translated; reducing the ticket to scoreboard objectives and teams.

Add language/translation files not being able to accept json

Why not confirm this one? It is a bug!

@unknown "Confirmed" means merely that a Mod or Helper has reproduced this issue. It does not mean, that it is considered a bug. Mojang developers are the only ones who decide that when there is not already a Mojang statement where a solution can be derived from.
"Community Consensus" is when a user confirmed the issue.

Great. Now that this is fixed, can someone fix MC-123772 which is a little bit more important? (And which has been around for way longer)

MukiTanuki

(Unassigned)

Confirmed

json, name, objective, team

Minecraft 18w20c, Minecraft 18w21a, Minecraft 18w21b, Minecraft 1.13-pre1, Minecraft 1.13-pre2, Minecraft 1.13-pre3, Minecraft 1.13-pre4, Minecraft 1.13-pre5, Minecraft 1.13-pre6, Minecraft 1.13-pre7

Minecraft 1.13-pre8

Retrieved