Compatibility
Minecraft: Java Edition
Platforms
75% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Creators
Details
Have you ever found an Efficiency 5 Golden Axe in a ruined portal chest and cried over the fact that such a useful enchantment is stuck on such a useless item? Today, I have decided to fix that.
This small datapack allows players to extract the enchantments from an enchanted item and place them onto a book via a smithing table. Combine the item with a book and an amethyst shard, and the enchanted book will appear in the output. This is multiplayer-compatible, survival-friendly, and works with any item that can be enchanted.
Note: Due to Minecraft limitations, the enchanted books outputted by the smithing table would usually be broken, and not be able to transfer enchantments via an anvil. This datapack fixes that by scanning a player's inventory for a short while after they craft the book and replacing the broken book with the fixed one. If it can't find the book after 300 game ticks, it will stop scanning the player to preserve server performance. Practically, this has no effect on gameplay, but it does mean that extracted books not placed in the inventory within 15 seconds of crafting will be broken. Broken books can be identified by a light blue name in the inventory instead of a yellow one. An operator can fix all broken books in each player's inventory with the command /function enchex:fix_broken_books