About datapack / mod
Universal Enchantment Splitter (UES) allows you to Extract enchantments from enchanted books and items. Extracted enchantment will be moved to a new enchanted book enabling you to use it on a different tool.
Splitting the enchanted book
To extract one enchantment from an enchanted book place it in a 1st slot of a single chest. Remember to leave 2nd and 3rd slots empty. Next, stand on the chest and run a command /trigger split_enchantments. The function will extract the first - in alphabetical order - enchantment and move it to a new book on the 2nd slot. On the 3rd slot, you will find your original book without the extracted enchantment.
Removing enchantment from an item
To remove all enchantments from any item, place it in the 1st slot of a single chest and leave 2nd and 3rd slots empty. Next, stand on the chest and run /trigger remove_enchantments command. This function will remove all the enchantments from your item, as well as reset the repair cost in the anvil.
On the 2nd slot you will find your item without any enchantments and on the 3rd slot you will find an enchanted book with all enchantments from the item.
Friendly with enchantment levels higher than vanilla
Do you have a mod or datapack that introduces tools and books with enchantments higher than vanilla ones? No worries, this datapack supports all levels up to 255 even for enchantments that normally don't have any levels, like multishot.
Future datapack / mod support
I plan on updating this datapack / mod once new full releases of Minecraft comes out.
Compatibility with other mods
If you want some extra compatibility for enchantments from other mods, let me know on Discord, and I will release additional add-ons that are compatible with your desired mods!
Special thanks
Shoutout to Brandon Z Moore who created the original project, I forked in the early development. Thanks for inspiring me to optimize your project and make it compatible with all enchantment levels.
Check out my other projects on my profile!
How to Install Universal Enchantment Splitter (Datapack)
Universal Enchantment Splitter by Syhmac is verified for Datapack, Fabric, Forge, Neoforge, Quilt across Minecraft versions 1.21, 1.21.1, 1.21.10, 1.21.11, 1.21.2, 1.21.3, 1.21.4, 1.21.5 (latest release: 1.1.1+mod, file size: 145 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.21, 1.21.1, 1.21.10, 1.21.11, 1.21.2, 1.21.3, 1.21.4, 1.21.5) and platform (Datapack, Fabric, Forge, Neoforge, Quilt).
- Make sure you have the compatible loader or environment installed for Datapack, Fabric, Forge, Neoforge, Quilt.
- Move the downloaded Universal Enchantment Splitter file into your Minecraft
.minecraft/saves/<world>/datapacksfolder and launch the game.
All Versions
+ Add Version- Changed project icon
- Changed project icon
- Added support for Lunge enchantment that has been added in Minecraft 1.21.11
- Added support for Lunge enchantment that has been added in Minecraft 1.21.11
- Bumped the datapack format
- Bumped the datapack format
- Bumped the datapack format
- Updated the readme file included with the datapack
- Bumped the datapack format
- Updated the readme file included with the datapack
- Bumped the datapack format
- Modified several functions to work on 1.21.5 and 1.21.6
- Fixed B-003 that caused books with Bane of Arthropods as the first enchantment unable to split.
- Bumped the pack format to make it compatible with Minecraft 1.21.4
- Bumped the datapack format to version 57
Initially requested by: Ka Unea None'x