mojira.dev
MC-275164

Enchantments are inherited to new tool on hotbar swap

I was breaking wool on a survival world with unenchanted shears and accidentally swapped super fast between my Eff 5 netherite axe and the shears and it insta-mined the wool.

 

I tested it out in a creative world with no datapacks, no mods, completely vanilla 1.21 AND 1.21.1 and the behavior is still there. It's not just shears that it works with, I was able to insta-mine calcite, almost could with stone and tuff, all with an UNENCHANTED WOODEN PICKAXE. Same goes for dirt and grass with a wood shovel, etc.

 

Guide to Recreate:

  • have both an efficiency 5 enchanted tool and an unenchanted tool that is effective on the block you are going to mine in your hotbar.

  • as you start mining, swap between the tools by hitting the number keys on the keyboard super fast.

  • Profit for some reason?????

 

My guess is that in swapping between tools, the breaking script is running BEFORE the script that re-updates what enchantments your tool has, thus 'copying' them to the new tool. Seems to only happen with efficiency or any speed enchantment, but not with things like silk touch, fire aspect, etc.

Linked issues

Comments 1

Thank you for your report!
We're tracking this issue in MC-272517, so this ticket is being resolved and linked as a duplicate.

If you would like to add a vote and any extra information to the main ticket it would be appreciated.

If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

AriYusyli

(Unassigned)

Unconfirmed

(Unassigned)

1.21.1

Retrieved