mojira.dev
MC-222020

Mending doesn't work on a tool unless it's held

At least with a pickaxe, you don't get repairs from mending unless you're holding the item itself

Steps to reproduce:

  1. Get a pickaxe with mending, may happen with other tools too, but pickaxe works for sure

  2. Do something that gains xp without holding the item with mending in your hand, for example, Killing a mob with a sword, the durability won't appear to go up at all, and durability tooltips confirm this (f3+h)

  3. Hold the item with mending in your hand, and then gain xp, it should work as intended

Attachments

Comments 4

This is an intended mechanic of how Mending works. Not a bug.

I don't think it is, unless it was changed in an earlier 1.17 snapshot

Has always worked that way. Not new.

oh it is, my bad, coulda sworn it worked that way, probably because of how it functions with armor, feel free to close

Silver

(Unassigned)

Unconfirmed

(Unassigned)

enchanting, item, mending

21w13a

Retrieved