Minecraft Data Packs / Game Mechanic

Enchantment Extraction

  • check_circle Advancements
  • check_circle Functions
  • check_circle Recipes
  • 2,692 views, 9 today
  • 534 downloads, 2 today
  • 16
  • 17
  • 6
TacoWenzdayz's Avatar TacoWenzdayz
Level 34 : Artisan uwu
9
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
CompatibilityMinecraft 1.20
Tags

1 Update Logs

Fixed Zip File : by TacoWenzdayz 01/25/2024 6:12:11 amJan 25th

Now zipped correctly, no need to extract it

Create an account or sign in to comment.

1
02/03/2024 12:32 pm
Level 1 : New Miner
User5003223G
User5003223G's Avatar
extracted book cannot be used in anvil to combine with tools/other books. so pretty much useless TwT
1
01/22/2024 11:20 pm
Level 37 : Artisan Crafter
Rainy Realm Creations
Rainy Realm Creations's Avatar
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
2
01/25/2024 6:09 am
Level 34 : Artisan uwu
TacoWenzdayz
TacoWenzdayz's Avatar
thank you, fixed
1
01/12/2024 12:25 pm
Level 21 : Expert Hunter
saletran
saletran's Avatar
cant put book into table, 1.20.4
2
01/25/2024 6:09 amhistory
Level 34 : Artisan uwu
TacoWenzdayz
TacoWenzdayz's Avatar
likely fixed, try redownloading the pack
1
01/05/2024 3:38 pm
Level 54 : Grandmaster Dinosaur
DinoDesmond
DinoDesmond's Avatar
Beautiful 🥲
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome