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.
Linked issues
relates to 1
Comments 3
This is caused by the game using empty key notation like that to make lists of mixed types. It is attempting to simplify the first element's text component to a compound, but the other 3 lines simplify their text components to a string. When the game inserts a string into a list of compounds, it wraps the string in a compound and puts it in an empty key.
Thank you for your report!
After consideration, the issue is being closed as Invalid.
This report does not describe a bug.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
Can confirm.