Minecraft Data Packs / Simple

Craftable Enchanting books

  • check_circle Advancements
  • check_circle Functions
  • check_circle Recipes
  • 14,326 views, 20 today
  • 1,744 downloads, 5 today
Krickey avatar Krickey
Level 28 : Expert Engineer
3
Ever wanted to create enchanting books instead of fishing or collecting villagers? Then this datapack is for you. This datapack will allow you to create specific enchanting books using resources.

How to install:

1) Download the datapack
2) Drop the file in the datapack folder of your minecraft world.
3) Start your game and enjoy

How to use:

Just drop the ingredients on the ground together :). The game tick will detect and drop a book based on the ingredients dropped.

Recipe list:

All the recipes can be found on: krike.github.io/enchanting-book-datapack/
CreditThe method of crafting was inspired by magic dust datapack. Partial credit goes to author of that datapack.
CompatibilityMinecraft 1.13
toMinecraft 1.16
Tags

4 Update Logs

Update #4 : 12/29/2020 1:32:38 pmDec 29th, 2020

  • fix typo for Loyalty books
  • Decrease required items for curse of binding, curse of vanishing & Unbreaking
LOAD MORE LOGS

Create an account or sign in to comment.

1
01/19/2021 10:39 am
Level 1 : New Miner
kuba44
kuba44 avatar
hey so i installed this datapack on my server and i started lagging, so i did the /timings command and it showed something like this: Minecraft::Command Function - enchanting_books:gameloopcount(5907) total(59.80% 256.422s, 86.70% of tick).So i wanted to ask, is this an issue that only i'm experiencing or is this datapack not server compatible?
1
01/19/2021 1:11 pm
Level 1 : New Miner
kuba44
kuba44 avatar
so i deleted the datapack and the tps came back to normal, it's a great datapack, but i wouln't recommend it for servers
1
01/28/2021 6:01 am
Level 28 : Expert Engineer
Krickey
Krickey avatar
it depend on server performance, what are the specs of your server? it does listen each game tick for items on the ground so that might be the problem.

but I'm looking into another method to make the books available
1
03/03/2021 11:54 am
Level 6 : Apprentice Explorer
Crow Hawkins
Crow Hawkins avatar
I think the method you provided is fine, but even though I removed everything but the max level enchanted books from the pack and put a # in front of the lines that I don’t use, I still get a 10 ms uptick. We want to probably possibly make a specific location for the dropping of the items, maybe over or near an enchanting table by one block. It is constantly looking for a drop the items that would match your parameters, at least we might put a delay in there so that it’s not constantly looking.
1
12/27/2020 7:14 pm
Level 6 : Apprentice Explorer
Crow Hawkins
Crow Hawkins avatar
Found an error:
All the Loyalty books seem to be spelled as LOYALITY, there is no "i" in "loyalty". The only thing that needs to change is in the individual book files where you actually give the book. It should read:

execute as @e[type=item,tag=craft_event_loyality_1] at @s run data merge entity @s {Motion:[0.0,0.3,0.0],Tags:[],Item:{id:"minecraft:enchanted_book",Count:1b,tag:{StoredEnchantments:[{id:"minecraft:loyalty",lvl:1}]}}}

Even if the other lines are spelled incorrectly, it won't matter, this line is the most important.

I've already fixed my copy and it has worked for all 3 books.
1
12/29/2020 1:31 pm
Level 28 : Expert Engineer
Krickey
Krickey avatar
Thanks for catching this. I was updating the datapack and added that as a fix as well. :)
1
10/31/2020 3:35 am
Level 1 : New Miner
ThaBeardedWelder
ThaBeardedWelder avatar
I made this account just to say I greatly appreciate this Pack! Amazing! Diamond from me!
1
11/02/2020 3:57 am
Level 28 : Expert Engineer
Krickey
Krickey avatar
Thank you :) much appreciated
1
10/18/2020 11:14 am
Level 6 : Apprentice Explorer
Crow Hawkins
Crow Hawkins avatar
This is a great pack! I think the costs are a little low, but they can be edited to ask for blocks instead if anyone agrees with me.

Performance question: I've noticed that my ticks go up when this pack is on even though I'm not crafting anything. Has anyone else noticed this and is there a way to drop it back down?

Java 1.16.1, Optifine
I can make a video for the designer if he would like.
1
10/19/2020 3:25 am
Level 28 : Expert Engineer
Krickey
Krickey avatar
Glad you like it :)

I tried to base my own experience when picking the items required. I also tried to take into account single player mode where people might not be able to quickly gather certain resources. But I'm always open to suggestions.

I have not experienced any performance problems using the datapack but I will look into it. on the other hand... the datapack is listening for items to be dropped, if this is the cause I'm afraid you will have to accept it for now because it is the only way to create them (for now)
1
10/19/2020 11:44 pm
Level 6 : Apprentice Explorer
Crow Hawkins
Crow Hawkins avatar
Maybe explore an alternative where you craft an XP bottle and put all the items into a shaped recipe through the crafting table.

Crafting Idea Layout
https://drive.google.com/file/d/1RiI8CUzBr9PJWZsY3_b_4RvS-Wj7IM97/view?usp=sharing
1
10/20/2020 7:13 am
Level 28 : Expert Engineer
Krickey
Krickey avatar
so I tried it out again and as expected it does not work.


only the enchanted_book ID can be used but it does nothing and there is no way to specify the tag to change it to a specific book. As far as I could read, it is not supported yet




The only way to get a specific book is through a command, which is what the datapack does now.
1
10/20/2020 5:55 amhistory
Level 28 : Expert Engineer
Krickey
Krickey avatar
The reason I did not use the crafting table is because you cannot pull a specific enchanting book out of it.

Example:

{
"type": "minecraft:crafting_shaped",
"pattern": [
"#E"
],
"key": {
"#": {
"item": "minecraft:experience_bottle"
},
"E": {
"item": "minecraft:enchanted_golden_apple"
}
},
"result": {
"item": "minecraft:enchanted_book",
"count": 1
}
}

in the result of a normal crafting recipe I can only tell it what the id is of the item that I want as a result. True there are specific enchanting ID's like minecraft:fortune but even then I'm not sure it would work and I have no way of telling it if it should craft a level I or II or III book.

However I'm going to experiment a bit and see if I might come up with a solution or not
1
10/17/2020 8:19 am
Level 28 : Expert Engineer
Krickey
Krickey avatar
New version (0.1.2) is available with the new 1.16 books.

Tested on 1.16.3
1
09/25/2020 8:25 pm
Level 1 : New Miner
FelipeAzambuja
FelipeAzambuja avatar
the book dont craft at 1.16.2
1
10/17/2020 8:18 am
Level 28 : Expert Engineer
Krickey
Krickey avatar
I released a new version. You will no longer need to unzip the datapack and it should fix your problem :)
1
10/07/2020 3:01 am
Level 28 : Expert Engineer
Krickey
Krickey avatar
I'm currently playing on a minecraft server running 1.16.2 with the datapack. Everything seem to work fine. Is there a specific book that does not work?

Do make sure to extract the zip file in the datapack folder (see steps in the description). I have not figured out why the zip file itself does not work.
1
08/26/2020 2:21 pm
Level 28 : Expert Engineer
Krickey
Krickey avatar
Tested in 1.16 single player survival. New books will be added soon.

Improved the recipes display in the docs -> krike.github.io/enchanting-book-datapack/
1
03/17/2020 6:38 am
Level 28 : Expert Engineer
Krickey
Krickey avatar
Tested in 1.15.2 (Spigot server) and all books are generated correctly
1
10/01/2019 5:19 amhistory
Level 1 : New Miner
habs
habs avatar
Hi, This does not seem to work on 1.14.4 for me either. I have optifine and idk if that has anything to do with it. I am also using it with another datapack but that just allows me to mine spawners with silk touch. I reloaded in game and the datapack does not come up Please help. :)
1
03/04/2020 4:47 am
Level 6 : Apprentice Crafter
NyloPurple
NyloPurple avatar
optifine changes litterally NOTHING in gameplay or data of worlds. saying "i have optifine does that change it?" is just annoying. just a little bit o' knowledge
1
10/07/2019 8:12 am
Level 28 : Expert Engineer
Krickey
Krickey avatar
I haven't tested it in 1.14, I will do this asap and get back to you.
1
09/26/2019 8:24 pm
Level 1 : New Miner
BigBertie
BigBertie avatar
Does this work on 1.14.4
1
10/07/2019 8:12 am
Level 28 : Expert Engineer
Krickey
Krickey avatar
I haven't tested it in 1.14, I will do this asap and get back to you.
1
08/12/2019 1:45 pm
Level 1 : New Explorer
AMazeInRunar
AMazeInRunar avatar
Hey, isn't the unbreaking enchantment al little hard to make?
if you want Unbreaking III on all your stuff you would need 10*48= 480 obsidian and that would take ages to mine... But the rest work for me and I like the Datapack
1
11/09/2019 8:19 pm
Level 1 : New Miner
mikelovespopcorn
mikelovespopcorn avatar
I mean if you get eff. 5 first for me it only took a couple minutes to mine 48 obby
1
10/07/2019 8:11 am
Level 28 : Expert Engineer
Krickey
Krickey avatar
sorry for my late response, forgot to check back :D I will look into the required resources for the Unbreaking to see if it is a bit expensive.

Thank you for using the pack :D
1
02/12/2019 8:31 pm
Level 1 : New Miner
sealos
sealos avatar
Now the Fortune and Sweeping edge's recipes both use emeralds. I tried to get Sweeping edge III but I ended up receiving Fortune III :P
1
02/21/2019 2:22 am
Level 28 : Expert Engineer
Krickey
Krickey avatar
Ok I updated the recipe :D, you can download the new version
1
02/13/2019 3:09 am
Level 28 : Expert Engineer
Krickey
Krickey avatar
oh I see, must have forgotten to update the recipe for Sweeping edge. I will update as soon as possible
1
02/11/2019 10:39 am
Level 1 : New Miner
sealos
sealos avatar
It doesn´t seem to work for me, does it work for 1.13.2?
1
02/11/2019 1:32 pm
Level 28 : Expert Engineer
Krickey
Krickey avatar
Yeah it does work in 1.13.2. It's the version I'm playing in and I just created a book earlier. But could you tell me which book fails? als type /datapack list and check if the datapack was loaded
1
02/12/2019 12:13 pm
Level 1 : New Miner
sealos
sealos avatar
Yep, the datapack wasn't loaded :p now it works fine, thanks for the help! :)
1
02/13/2019 3:08 am
Level 28 : Expert Engineer
Krickey
Krickey avatar
Glad to hear. :D enjoy and feel free to report any problems
1
01/20/2019 12:14 pm
Level 28 : Expert Engineer
Krickey
Krickey avatar
I completely forgot to mention in the documentation. I added a custom recipe to create enchanted bottles from 4 green dye, 4 slime balls and a bottle. I will update that asap
Planet Minecraft

Website

© 2010 - 2021
www.planetminecraft.com

Welcome