Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-269174

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 24w10a
    • None
    • Unconfirmed
    • (Unassigned)

      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:

       

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

            Unassigned Unassigned
            Technici4n Technici4n
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: