The bug
When using the stonecutter to craft multiple items, the statistics screen gets updated incorrectly in two ways: Too much when using just left click, not at all then using shift-left click (this is a particular case of MC-65198).
How to reploduce
Create a new objective to track the number of stone bricks crafted:
/scoreboard objectives add MC-202164 minecraft.crafted:minecraft.stone_bricks
Display the resulting score (still empty)
/scoreboard objectives setdisplay sidebar MC-202164
Start increasing the score by crafting 1 stone bricks from 1 stone in a stonecutter
✔ You see your score is displayed and increases by 1Now try to craft from the stonecutter 1 stone brick at a time while holding the stone brick in your cursor.
❌ Your score will start raising rapidly.
See video
[media]demonstrating this issue.
Additional reproduction steps:
1. Look at the statistics screen before using the stonecutter
2. Craft something in the stonecutter - it has to be more than one when using left click, the more crafted the more it is obvious (it's not relevant when using shift-left click)
3. Leave and re-ender the world (Due to MC-202166)
4. Look at the statistics screen
=> Statistics were either increased too much or not at all.
Related issues
testing discovered
Attachments
Comments


Confirmed 1.16.4 pre 2

[media]
Put items crafted on stonecutter with left click in left click chest and put shift-click ones in the shift-click chest
I can confirm for 20w46a.
This issue is very problematic on servers which organize objective based game competitions as it can be easily exploited to reach victory without any effective way of policing this behavior.
I am unable to reproduce this in 1.17.1. I've attached a video demonstrating this.
[media]I'm guessing that this was fixed sometime in the past.
Can confirm to be fixed as per the given repro steps.