mojira.dev
MC-269174

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.

Here are my stats after taking the result directly once, and dropping the result once:

[media]

 

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()

Related issues

Attachments

Comments

migrated
[media]
migrated

Duplicate of MC-65198.

Technici4n

(Unassigned)

Unconfirmed

(Unassigned)

24w10a

Retrieved