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

    • Icon: Bug Bug
    • Resolution: Fixed
    • 21w13a
    • 20w46a, 20w49a, 21w08b
    • None
    • Confirmed
    • Entities
    • Important

      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

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

              Created:
              Updated:
              Resolved:
              CHK: