mojira.dev
MCPE-172285

Some experience goes to experience bar when damaged Mending armor is fully repaired while holding a damaged Mending tool

Summary:
When repairing damaged Mending armor and tools at the same time with experience, some of the experience goes to the experience bar after the armor is fully repaired. If the experience is from a furnace, most of the experience goes to the experience bar.

Steps to Reproduce:

  1. Run the following commands:

    /give @s chainmail_helmet 1 1
    /give @s chainmail_chestplate 1 1
    /give @s chainmail_leggings 1 1
    /give @s chainmail_boots 1 1
    /give @s diamond_pickaxe 1 1000
    /give @s experience_bottle 64
  2. Enchant the armor and pickaxe with Mending

  3. Equip the armor and switch to Survival mode

  4. Throw the experience bottles a few blocks away from the player

  5. Pick up the experience orbs while holding the pickaxe

  6. Look at the experience bar

Observed Results:
Some of the experience goes to the experience bar.

Expected Results:
The experience shouldn't go to the experience bar until the armor and pickaxe are fully repaired.

Videos:

[media][media]

Attachments

Comments 1

I think what going on is, an experience orb has more experience than needed to repair the mending armour piece it gets assigned to, and the remainder is split with the experience bar instead of other mending items,
and this is most obvious with the furnace xp because it is giving you much bigger experience orbs so it ends up splitting the majority of it to the experience bar

Expected Results:
extra experience prioritizes splitting with other mending items first when applicable

[Mod] OcelotOnesie

(Unassigned)

1070852

Confirmed

Windows

1.20.20.20 Preview, 1.20.10.24 Preview, 1.20.1 Hotfix

Retrieved