mojira.dev

Nicholas Lamicela

Assigned

No issues.

Reported

MC-122397 title and tellraw inconsistent JSON parsing Duplicate MC-122393 Functions don't understand JSON with line breaks Works As Intended

Comments

This is a cowardly solution to the problem. The community came up with a powerful unexpected use for the sculk sensor, and Mojang said "stop having fun."

Hrm, that makes it sort of hard to write complex JSON in commands. I guess I could write in some sort of intermediate format and then use a script to remove the line breaks? It would be nice to see support for standard JSON in the future.

Without the title position argument it just uses the default "title" position.

EDIT: At any rate, I feel like the title command is parsing this more like "normal" JSON, and it's the tellraw one that's being overly picky. Are there multiple inconsistent JSON parsers used on the backend?

EDIT 2: I looked it up and apparently requiring the key to have quotes around it is actually pretty standard. Huh. Well, either way, it would make more sense to use the same parse function for all JSON parsers.