Mojira Archive
MC-279232

SNBT text components prevent mixing text styles in lists

In one single tellraw or titleraw command can't be strings (TAG_String) and components (TAG_Compound) used at the same time. In previous versions, this worked fine.

Example:

/tellraw @a ["String-Text ", {"text":"Component-Text"}]

Expected Behavior:

String-Text Component-Text

will be shown in the chat.

Observed Behavior:
In the chat the part from the square brackets opening to the end of the command will be marked red and

Can't insert TAG_Compound into list of TAG_String at position 29: ...g-Text ", <--[HERE]

will be shown over the chat entry line.

Fixed

PrimCargo693208

[Mojang] Bartosz Bok

2025-01-08, 04:53 PM

2025-01-21, 02:30 PM

2025-01-21, 02:30 PM

15

10

Confirmed

Important

Platform

Commands

commands

25w02a

25w04a