So I am not sure if this is a bug or a feature
So while messing around with enchantment books on 1.17.1 I noticed that I could put enchantments on stuff that normally I couldn't like Power on a sword so if this is a bug your welcome and if not sorry for the inconvenience
Linked issues
Attachments
Comments

Thank you for your report!
We're tracking this issue in MC-95555, so this ticket is being resolved and linked as a duplicate.
That ticket has already been resolved as working as intended, which means this is not considered a bug and won't be fixed. Please do not leave a comment on the linked ticket.
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
π Project Summary β βοΈ Feedback and Suggestions β π Game Wiki
-- I am a bot. This action was performed automatically! The ticket was resolved by one of our moderators, and I left this message to give more information to you.
DuplicatesΒ MC-95555Β Resolved "Works as Intended"