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
Linked issues
relates to 1
Attachments
Comments 11
hmm interesting...
does this effect the cheat command /experience?
of course I gave my self exp 365 levels of it or so before I had any gear at the beginning of a new v1.20.4 world.
This doesn't affect /xp or /experience, because those commands don't actually summon an experience orb, they just set the value in the player file to something different based on what you put in. The mending tool only repairs when a orb is picked up, not adjusting the value.
Can Confirm in 24w12a