mojira.dev
MC-241138

Score cannot be included in item lore

This command gives a diamond with a lore of "test  test" instead of "test <value> test"

/give @p minecraft:diamond{display:{Lore:['[{"text":"test "},{"score":{"name":"a","objective":"b"}},{"text":" test"}]']}}

Putting the exact same JSON into tellraw gives the expected result

Linked issues

Comments 2

Thank you for your report!
We're tracking this issue in MC-131328, so this ticket is being resolved and linked as a duplicate.

That ticket has already been resolved as working as intended, which means this is not considered a bug and won't be fixed. Please do not leave a comment on the linked ticket.

If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
-- I am a bot. This action was performed automatically! The ticket was resolved by one of our moderators, and I left this message to give more information to you.

David

(Unassigned)

Unconfirmed

(Unassigned)

1.17.1

Retrieved