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, 24w18a, 24w19b, 24w20a, 24w21a, 24w21b, 1.21 Pre-Release 1, 1.21 Pre-Release 2, 1.21 Pre-Release 3, 1.21 Release Candidate 1, 1.21
    • 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 and older (old NBT tag system)
      /item replace entity @s weapon.mainhand with diamond_pickaxe{Damage:1.Enchantments:[{id:mending,lvl:1}]}
      
      1.20.5 and up (new component system)
      /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
      

        1. 2024-03-19_18.17.14.png
          784 kB
          Crypticverse
        2. 2024-03-19_18.17.17.png
          572 kB
          Crypticverse
        3. 2024-03-20_14.34.38.png
          912 kB
          Crypticverse

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

              Created:
              Updated:
              CHK: