Mojira Archive
MC-261942

Anvils allow you to enchant anything, but the /enchant command doesn't

You can't /enchant something that can't normally be enchanted in survival mode, like putting Knockback on an axe, which is kind of silly to not allow being that it is a weapon, but you can use an anvil to put Knockback on anything, including literally a grass block, without even using cheats.

Steps to reproduce

  1. Get a netherite axe and hold it
  2. run /enchant @s knockback 2

the command fails

3. Get a Knockback II enchanted book

Try to combine the book with the axe.

Notice The anvil allows it (and that the enchantment functions as it would with any other tool).

Unresolved

Brevort

2023-04-18, 02:51 AM

2025-02-06, 10:17 PM

12

7

Confirmed

Low

Platform

Commands

1.19.4 - 25w06a1.19.4, 23w18a, 1.20 Release Candidate 1, 1.20, 1.20.1, 1.20.4, 24w14a, 1.21, 25w06a

-