Data Packs Game Mechanic

Enchantment Extraction

  • 4.4k views 0 today
  • save_alt 725 downloads
Compatibility
Minecraft 1.20
Changes include
  • Advancements
  • Functions
  • Recipes
  • 20
  • 20
  • 6
TacoWenzdayz
Lvl 36Artisan uwu
12
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.



Why does my enchanted book not work?
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

1 Update Logs

Fixed Zip File : by TacoWenzdayz 01/25/2024 6:12:11 amJanuary 25, 2024 @ 11:12 am UTC

Now zipped correctly, no need to extract it

More like this

  Have something to say?

TheOneThatFound
02/03/2024 12:32 pm
Level 1 : New Miner
extracted book cannot be used in anvil to combine with tools/other books. so pretty much useless TwT
1
Rainy Realm Creations
01/22/2024 11:20 pm
Level 46 : Master Crafter
Amazing!
Just to let you know; you didn't zip it correctly. The contents of the folder for the datapack in the zip need to be directly in the zip, not the folder
1
TacoWenzdayz
01/25/2024 6:09 am
Level 36 : Artisan uwu
thank you, fixed
2
saletran
01/12/2024 12:25 pm
Level 23 : Expert Hunter
cant put book into table, 1.20.4
1
TacoWenzdayz
01/25/2024 6:09 am
Level 36 : Artisan uwu
history
likely fixed, try redownloading the pack
2
DinoDesmond
01/05/2024 3:38 pm
Level 57 : Grandmaster Dinosaur Theorist
Beautiful 🥲
1

Welcome