Steps to reproduce:
Drop a gunpowder item onto the ground
Run:
/data modify entity @n[type=item] Tags append from entity @n[type=item] Item.id
The server should return the message
Modified entity data of Gunpowder
While near the same item, run:
/tag @n[type=item] list
The server should return
The [X] entities have 1 total tags: minecraft:gunpowder
Run:
/tag @e remove minecraft:gunpowder
or
/execute if entity @n[type=item,tag=minecraft:gunpowder] run say hi
Observed result:
The server returns
Expected whitespace to end one argument, but found trailing data
... minecraft:gunpowder<–[HERE]
or
Expected end of options
...=minecraft:gunpowder] run say hi<--[HERE]
Expected result:
The server returns
Removed tag 'minecraft:gunpwoder' from [X] entities
Linked issues
Attachments
Comments 2
Steps to Reproduce (1.21.1):
1. Drop a gunpowder item onto the ground.
2. A different bug related to copy/pasting the following command is interfering with with step. To simply resolve this issue, DO NOT copy/paste the following command and instead type it manually: "/data modify entity @n[type=item] Tags append from entity @n[type=item] Item.id". The server should return with the message "Modified entity data of Gunpowder".
3. While near the same item, run the command "/tag @n[type=item] list". The server should return with the message "The [X] entities have 1 total tags: minecraft:gunpowder"
4. Run the command "tag @e remove minecraft:gunpowder"
Observed Results:
Returned with error stating "Expected whitespace to end one argument, but found trailing data
... minecraft:totem_of_undying<–[HERE]"
Expected Results:
Returns with message saying "Removed tag 'minecraft:gunpwoder' from [X] entities"
We do not have enough information to reproduce this issue.
Please include the following information to help us understand your problem:
Please also attach any needed commands, add-ons/behavior packs, data packs, resource packs, screenshots, videos, or worlds needed to help reproduce this issue.
Refer to the Bug Tracker Guidelines for more information about how to write helpful bug reports. Bug reports with insufficient information may be closed as Incomplete.
This issue is being temporarily resolved as Awaiting Response. Once the requested information has been delivered, the report will be reopened automatically.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki