mojira.dev
MC-271162

When using a "custom name" nbt and "item name" nbt, you cannot use numbers alone.

It cannot be used solely as a number.

example:
/give playername minecraft:activator_rail[minecraft:custom_name="1"] 

/give playername minecraft:activator_rail[minecraft:custom_name=" "] doesn't work either.

I don't know how to display the version so I'm writing it here.

24w09a 24w10a 24w11a 24w12a 24w13a 24w14a 1.20.5 Pre-Release 1 1.20.5 Pre-Release 2 1.20.5 Pre-Release 3 1.20.5 Pre-Release 4 1.20.5 Release Candidate 1 1.20.5 Release Candidate 2 1.20.5 Release Candidate 3 1.20.5 1.20.6 Release Candidate 1

Linked issues

Attachments

Comments 1

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

If you would like to add a vote and any extra information to the main ticket it would be appreciated.

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 (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 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.

Frog1020

(Unassigned)

Unconfirmed

(Unassigned)

command

1.20.5, 1.20.6 Release Candidate 1

Retrieved