mojira.dev
MC-270780

/give and /clear behave differently when the component field ends with ",".

/give and /clear behave differently when the component field ends with ",".

These behaviors should be uniform.

 

Example:

/give @s minecraft:acacia_boat[minecraft:custom_data={bar:1},]

Result: You get the item.

 

/clear @s minecraft:acacia_boat[minecraft:custom_data={bar:1},]

Result: Syntax error.

Attachments

Comments 1

Thank you for your report!
After consideration, the issue is being closed as Won't Fix.

Please note that this is not the same as Working as Intended, as this bug report correctly describes behavior in the game that might not be the intended or desirable behavior, but it will not be fixed right now. Sometimes, this is because the issue reported is minor and/or impossible to change without large architectural changes to the code base.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

KZK1945

(Unassigned)

Confirmed

Commands

Commands

1.20.5 Pre-Release 2

Retrieved