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

Summoning a large EXP orb damages mending items to negative durability or 0 durability

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.20.4, 24w11a, 24w12a, 24w13a, 24w14a, 1.20.5 Pre-Release 1, 1.20.5 Pre-Release 2, 1.20.5 Pre-Release 3, 1.20.5 Pre-Release 4, 1.20.5 Release Candidate 1, 1.20.5 Release Candidate 2, 1.20.5 Release Candidate 3, 1.20.5, 1.20.6 Release Candidate 1, 1.20.6
    • 1.20.4/24w11a
      Windows 10
    • Confirmed
    • Enchantments, Items

      I was playing a world, and was experimenting with summoning large EXP orbs.

      Note
      It seems that in Snapshot 23w51a, a sub-bug was fixed in which the durability bar would not go outside the screen to the left
      In Snapshot 24w10a, this bug no longer makes the durability ~ -63000, instead, it makes the durability 0
      

      Expected:
      Tools would mend

      What Happened:
      Tools went into the extreme negatives of the durability or 0 durability

      Reproduce:
      Video:
      https://www.dropbox.com/scl/fi/u85c0455v409euxfbuy6t/bug.mov?rlkey=jhgpaju9yj3ppvz9ns238negd&dl=0
       
      Run these commands and steps:
      1.

      1.20.4
      /item replace entity @s weapon.mainhand with diamond_pickaxe{Damage:1.Enchantments:[{id:mending,lvl:1}]}
      
      1.20.5/1.21 snapshots
      /item replace entity @s weapon.mainhand with diamond_pickaxe[damage=1,enchantments={levels:{mending:1}}] 
      

      2.

      This only works (breaks) if the item is in your off-hand or the SelectedItem slot.

      /summon experience_orb ~ ~ ~ {Value:32768} // Must be bigger or equal to 32768
      

            Unassigned Unassigned
            Crypticverse Crypticverse
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              CHK: