mojira.dev
MC-269175

Wrong "Times Crafted" statistics increment when pressing Q (drop) on crafting table result

If you try to craft sticks from planks.

  • Taking the result directly grants 4 of the "Times Crafted" statistic.

  • Dropping the result by pressing Q on it drops the full stack, but only grants 1 of the statistic.

I have attached a screenshot after having taken the result directly once, and dropped the result once. I would expect 8 sticks, not 5.

 

Analysis of the issue:

This is likely due to how ResultSlot#remove increments the removeCount by 1 when the item is dropped, however the size of the returned stack is indeed 4 here. A potential fix would be to increment removeCount by super.remove(amount).getCount()

Linked issues

Attachments

Comments

JervieA20

Please do not duplicate your own report (MC-269174)

Technici4n

(Unassigned)

Unconfirmed

(Unassigned)

24w10a

Retrieved