Summoning a large EXP orb damages mending items to the extreme negatives
CrypticVerse opened this issue ยท 2 comments
I was playing a world today, and was experimenting with summoning large EXP orbs. The only mod I had was Fabric API 0.96.11+1.20.4 and MC 1.20.4
Expected:
Elytra/tools would mend
What Happened:
Elytra/tools went into the extreme negatives of the durability
Reproduce
- Give yourself an elytra or tools
- Enchant elytra/tool with Unbreaking 3 and Mending
- Summon a large EXP orb a few times using /summon
- Make sure the elytra/tool in in your hand and has < Max Durability
- See that the elytra or tool has a extreme negative durability
Video:
click here, too big for GH
I did test this in vanilla, worked as expected.
If I'm correct, these commands should be able to reproduce this issue:
item replace entity @s weapon.mainhand with diamond_pickaxe{Damage:1,Enchantments:[{id:mending,lvl:1}]} # 1.20.4
item replace entity @s weapon.mainhand with diamond_pickaxe[damage=1,enchantments={levels:{mending:1}}] # 1.20.5
summon minecraft:experience_orb ~ ~ ~ {Value:100000}
In both Minecraft 1.20.4 and Minecraft snapshot 24w11a, I was able to get a near-broken pickaxe by running the above commands regardless of whether I was using vanilla or Fabric API.