mojira.dev
MC-91939

Mending enchantment is not working with summoned XPOrbs

I enchanted my tools and armor with mending with the /enchant command and when I tried to repair my armor and tools using the mending enchantment it took my xp and didn't repair my tools and my armor.
[UPDATE]It works with bottle of enchanting but don't works with Command-summoned xp orbs
Sorry for my bad english.

Comments 8

Cannot reproduce, it works fine for me. Please provide the exact steps you took to experience this bug.

1.I typed "/xp 300L"
2.I've enchanted my diamond armor and my tools with books
3.I typed "/enchant Skiuileuf minecraft:mending"
4.I summoned a lot of XPOrbs using a reppetitive command block
5.My armor's durability didn't increase (the same thing applies for my tools)

Did none of them get increased durability? Were they all repaired already? Can you record a video showing the issue?

Their durability didn't increase.I can't record because I have a problem with my audio driver and obs is not working

Please provide the exact command(s) you used to summon the XPOrbs.

/summon XPOrb ~ ~10 ~
The command is placed in a repeating command block,which needs redstone

You need to give it a value tag:

/entitydata @e[r=5] {Value:100s}

(or summon it with the value tag in the first place).

Thanks now it works

Skiuileuf

(Unassigned)

Unconfirmed

Minecraft 15w44b

Retrieved