The problem concerns the behavior of the /clear on items in cursor in creative mode.
Behaviors wanted:
- the item in cursor can not be clear when it comes from the creative inventory.
- the item in cursor can be clear when it comes from a container or is picked up.
Unwanted behavior assumed:
- the item in cursor can not be clear when it comes from the survival inventory.
An example where this inconsistency appears:
When a creative player takes an item from his survival inventory, do an action and clear the item.
Currently, the item is not clear because it is held by cursor.
yeah, I am working on a ui utilizing the inventory system of minecraft, and I thought that I had gotten it all wrong.
This was not the case however, as once I had turned to survival mode, the issue didn't exist.
essentially: if you are in creative mode, clearing will not remove the item from the cursor, even if its the item that you want to clear
if you are in survival mode, it will remove the item from the cursor as it should
I have no idea why this inconsistency exists, but I would like to see that the creative mode side has parity to the survival mode side as clearing items from cursors is a unique mechanic of the /clear command that helps a lot with inventory system