Skip to content

Commands don't work: bossbar tellraw title when building a datapack #503

@VladMir3

Description

@VladMir3

Found an error in the build of the datapack when using the tellraw @s {"text":"Вы присоединились в команду!","color":"#ff4d71"} command, the output is not a working version of the command that does not work in the game, if you insert the original command into the datapack manually, then everything works.
Not a working version:
tellraw @s {text: "\u0412\u044b \u043f\u0440\u0438\u0441\u043e\u0435\u0434\u0438\u043d\u0438\u043b\u0438\u0441\u044c \u0432 \u043a\u043e\u043c\u0430\u043d\u0434\u0443!", color: "#4dff86"}

He builds the datapack incorrectly, even if it contains regular unicode.
It should be like this: title @a title {"text":"\uE000"}
Not a working version:
title @a title {text: "\ue000"}

The working version of the command:
bossbar set minecraft:timer_bar name [{"score":{"name":"%min","objective":"Minutes"}},{"color":"gold","text":":"},{"score":{"name":"%sec","objective":"Seconds"}}]
Not a working version:
bossbar set minecraft:timer_bar name [{score: {name: "%min", objective: "Minutes"}}, {color: "gold", text: ":"}, {score: {name: "%sec", objective: "Seconds"}}]

Commands that output any text do not work.
Minecraft 1.21.4
It does not give any errors, it's just that the function where the text output commands are executed is not displayed in the game.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions