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

Experience orb stacks that were used in the mending process lose their experience amount, even if the stack is still larger than one

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: 20w46a, 20w49a, 21w08b
    • Fix Version/s: 21w13a
    • Labels:
      None
    • Confirmation Status:
      Confirmed
    • Category:
      Entities
    • Mojang Priority:
      Important

      Description

      XP orb entities that collided with the player and were applied to mending, set their xp `Value` to 0, even if the stack `Count` indicates there is more than one orb present in this stack.
      Simple solution would be to ignore the rest of xp if its not used in mending and decrease their 'Count' by one, or a more complex would be to 'unstack' that one extra orb with the remaining xp.
      See attached analysis and video demo
      https://youtu.be/BrVWQKV6uEA

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              slicedlime [Mojang] slicedlime
              Reporter:
              gnembon Gnembon
              Votes:
              16 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                CHK: