mojira.dev
MC-275310

Cannot enchant armor in enchanting table

In the latest snapshot (24w33a) that was released recently there was a bug in the enchanting table. When you try to enchant a part of your armor in the enchanting table it doesn't work, which shouldn't happen because in the latest version (1.21.1) you can enchant a part of your armor without problems in the enchanting table. Regarding the tools, they work correctly.

Linked issues

Attachments

Comments 3

Can confirm that it affects both vanilla items and custom items with the 'enchantable' component (in the goat horn picture's case, I even added enchantable tags to the goat horn in a data pack).

[media][media]

It seems like armor is missing the enchantable component entirely, as removing the component from the item does not reduce the component count. Adding the component manually through commands, e.g.

/give @s diamond_helmet[minecraft:enchantable={value:1}]

seems to allow the armor to be enchanted through the enchanting table again.

TextbookFoiI402

etanaratsastaja

Community Consensus

Platform

Very Important

Enchantments

24w33a

24w34a

Retrieved