[MC-11648] the command of clear cannot clear the items with the data or absolute number Created: 13/Mar/13  Updated: 18/Mar/13  Resolved: 18/Mar/13

Status: Resolved
Project: Minecraft: Java Edition
Component/s: None
Affects Version/s: Snapshot 13w10b
Fix Version/s: None

Type: Bug
Reporter: ng tsun yam Assignee: Unassigned
Resolution: Works As Intended Votes: 0
Labels: None

Confirmation Status: Unconfirmed

 Description   

I cannot clear the items from my body with the [data] or the absolute number.
for example: /clear @p 344 4
and the result is 'could not clear the inventory of @p, no items to remove'



 Comments   
Comment by Kumasasa [ 18/Mar/13 ]
/clear @p 126 3

works as expected - clears all Jungle Wood Slabs from the inventory.

Comment by ng tsun yam [ 13/Mar/13 ]

i agree with your point~

Comment by FireHunterX [ 13/Mar/13 ]

I couldn't get it to clear a set number of items from my inventory, but I could get it to clear one specific item entirely, both in the chat window and command blocks.

Comment by ng tsun yam [ 13/Mar/13 ]

and this command also cannot work in command blocks~

Generated at Sun Jan 12 12:28:20 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.