Mojira Archive
MC-279258

Creating a sign with formatted text serializes lines without formatting incorrectly

Reproduction

1.

/setblock <pos> oak_sign{front_text: {messages: [{text: "hello", bold: true}, {text: "a"}, {text: "b"}, {text: "c"}]}}

2.

/data get block <pos> front_text.messages

Expected

The data get returns

[{text: "hello", bold: true}, {text: "a"}, {text: "b"}, {text: "c"}]

Observed

The data get returns

[{text: "hello", bold: true}, {"": "a"}, {"": "b"}, {"": "c"}]

with the key that's supposed to say text being an empty string instead.

Invalid

[Mod] NeunEinser

2025-01-08, 07:15 PM

2025-01-15, 08:24 AM

2025-01-15, 08:24 AM

1

3

Community Consensus

Commands

25w02a

-