[BREAKING LIVE CONTENT] /clear @p item only clears data value 0
Partner Rank: 2
Verification builds: 1.12.0
Regression builds: 1.11.0
Summary: The /clear command defaults to data value 0 when not specified instead of clearing all data values as it used to. In addition, it treats data value -1 as if it was 0 rather than anything as in other commands. Finally, if you have two different data values of the same item (with one as dv 0) and run a clear, sometimes the dv 1 item will be cleared.
Impact: This breaks the two-keycard door in The Enderman Heists, making it impossible to complete.
Repro Steps:
- Open any world
- /give @s sapling 1 1
- /clear @s sapling
- /clear @s sapling -1
- /clear @s sapling 1
Expected Results: The sapling is cleared after the first /clear, and if you skip it and run the second /clear it is also cleared.
Observed Results: Only the last clear command clears the sapling.
Screenshots/Videos attached: No