-
Bug
-
Resolution: Fixed
-
20w46a
-
None
-
Confirmed
-
Data Packs
-
Important
The bug
When subtracting from the count of an item with /item ... modify and it reaches 0, it isn't completely removed. This happens both on entities and containers.
How to reproduce
- Add the data pack MC-205627.zip to the world and /reload
- Place any item in the first hotbar slot
/item entity @s hotbar.0 modify test:remove_count
/item entity @s hotbar.0 modify test:add_count
- Notice that the original item is back. If you had relogged between step 3 and 4 this would have failed.