/clear has option to clear selected item.

[Command] [::]

Hey everyone, BlueCommander.

As the title suggests, I think this would be an incredible useful tool. Along with the fact that /clear has an option to remove a certain amount, this could simulate the consuming of items.

I know people will say there are methods of doing this, but here are my counter arguments:

-Use normal /clear : Although you could detect what block they are holding and remove one of that - not only that would take a command for every item but also it has the problem that /clear at the moment clears the first item it finds of that type, so if you had the item before the selected item I won’t take it from your selection.

-Use replaceitem : This seems like a good idea at first as it has the select item option, however the more you think about it, it is very impractical. Not only you would need a command for each item in the game but instead 64 commands for each item in the game to set it to the correct count.

Also player data can’t be edited using /data

So as you can see it is very difficult to do which is why I think this would be a great thing to add :)

~BlueCommander

Posted Dec 16, 2018, 11:57 PM UTC

44
Loading comments…