• check_circle Recipes
  • 11,084 views, 8 today
  • 2,682 downloads, 1 today
  • 51
  • 42
  • 16
WandererReece avatar WandererReece
Level 53 : Grandmaster Miner
106
Arcane Smithing Minecraft Data Pack  Arcane Smithing Minecraft Data Pack

Thought you saw everything a Smithing Table can do? Wait till you add books!

The idea for this pack is simple. Make the Smithing Table transfer enchantments from equipment to books and back again. However, the books created are cyan, not yellow. This means the books are playing by different rules. These rules make it possible to do things like put Protection and Feather Falling on an Elytra.

See video for details.

How to use Smithing Table

To Create Enchanted Book:
Place equipment in slot 1. Place book in slot 2. Take enchanted book.

To Apply Enchantment:
Place cyan enchanted book in slot 1. Place equipment in slot 2. Take enchanted equipment,


Book Types

Yellow Books:
These are what existed BST, Before Smithing Table. These books appear to not work in the Smithing Table, but they continue to function in an Anvil.

Cyan Books:
These are created by the Smithing Table. They will not work in an Anvil. They are used to store and apply enchantments at the Smithing Table. They record enchantments, durability, anvil work, and names. Due to how the Smithing Table functions, these books can be used to apply enchantments to items that would normally not accept them.


Warnings

- Books also record Anvil work. Don't be surprised if the anvil wants to charge you 30 xp for something later.
- Books also record durability. They can repair or damage equipment. In some cases, they can create negative durability. However, such equipment can still be repaired. Also negative equipment is NOT invulnerable, and it will be one-shotted.
- Enchantment restrictions don't matter. The Smiting Table can and will put something like Protection on something like a sword. Cheaty combos are also possible.
CompatibilityMinecraft 1.16
Tags

2 Update Logs

Update #2 : 07/11/2020 11:06:33 pmJul 11th, 2020

Pack tidied up a lot. All enchanted book recipes are now a single recipe.
LOAD MORE LOGS

Create an account or sign in to comment.

1
10/27/2020 8:20 am
Level 1 : New Miner
Weak_Pistoo
Weak_Pistoo avatar
Only thing that i have a problem with is the previous item gets destroyed, which I think you could make a command to toggle that if you wanted it to be part of the datapack (for balance reasons)
1
11/02/2020 7:21 am
Level 53 : Grandmaster Miner
WandererReece
WandererReece avatar
Actually, that's not a bug. Like all other crafting things, the Smithing Table consumes all the ingredients.

It is possible to create a function to "refund" the player, but that would be outside the scope of a simple recipe pack.
1
07/19/2020 12:44 pm
Level 1 : New Miner
darkn00b1971
darkn00b1971 avatar
Is the cyan book also intended to transfer durability as well? My brand new diamond pick suddenly became half durability after using the book I made in the table...
2
07/20/2020 9:53 pm
Level 53 : Grandmaster Miner
WandererReece
WandererReece avatar
Yes, the table transfers practically everything; Names, Durabilities, Enchantments, Colors, Anvil Work, Patterns, etc. If it's stored as NBT data, then it's probably transferred.
1
07/12/2020 10:36 am
Level 22 : Expert Miner
ironforcefeild
ironforcefeild avatar
really cool, but a little op. it would be cool if you make cyan/ yellow books need to be charged by throwing a lapiz block on them. you could do this by storing the info of the book then just data merge a few things.
1
06/15/2020 10:08 pmhistory
Level 1 : New Miner
popedoca1
popedoca1 avatar
what the version of snapshot?
1
06/16/2020 4:39 pm
Level 53 : Grandmaster Miner
WandererReece
WandererReece avatar
I forget when this was made possible, but the vid shows pre-release 2.
1
06/15/2020 9:05 pm
Level 1 : New Miner
User3086197G
User3086197G avatar
Whenever I put a book through the smithing table, it gets rid of the enchants on the item that i want to place the enchantments on. What do i do?
1
06/13/2020 5:13 pm
Level 1 : New Miner
AriElM24
AriElM24 avatar
Nice work, but i thing it needs a xp cost like the anvil, however it's very good.
1
06/09/2020 2:59 pmhistory
Level 61 : High Grandmaster Cyborg
Bertiecrafter
Bertiecrafter avatar
Ah now I understand your forum thread I came across just today.


keyboard_arrow_upBig Explanation

The difference is that the books the smithing table creates have their enchantments directly applied to the item (Enchantments tag). This means that Sharpness Sword + Book = Sharpness Book.... Which actually does more damage than a normal book.
A knockback book will actually push players back and a fire book will light players on fire.

Then when you combine the the enchanted book with a sword, it moves those enchantments onto the sword.

Now the vanilla books (the yellow ones) use the StoredEnchantments tag, those enchantments are transferred to the Enchantments tag of the weapon, but until then they will not affect the book properties during attacks. Obviously, the reason you cannot use blue books in an anvil, is because they don't have StoredEnchantments. Vice versa, yellow books don't work in the smithing table because the resulting weapon won't be affected by the StoredEnchantments tag that it now has.

The solution is simple: Remove the ability to combine enchanted books with items in the smithing table. Then transfer Enchantments on books to their StoredEnchantments array. I'm doing this from the top of my head, so you'll have to check some item ids and syntax but it should roughly look like this:

1. First make sure to register a tick function (see my tutorials)

2. Every tick, run:
execute as @e[​type=item,nbt={Item:{id:"minecraft:enchanted_book",Count:1b}}] if data entity @s Enchantments[​0] run function <your-namespace>:path/to/function/transfer_enchants
3. In transfer_enchants function:
data modify entity @s StoredEnchantments set from entity @s Enchantments
data remove entity @s Enchantments

2
06/09/2020 5:23 pmhistory
Level 53 : Grandmaster Miner
WandererReece
WandererReece avatar
Don't worry, I'm still learning this thing too. I feel like I'm going into uncharted territory. I wonder if this is how Kirk feels, lol.

Also, I need to make a Smithing Table cult. "Reality can be anything we want it to be."
1
06/09/2020 2:46 pmhistory
Level 53 : Grandmaster Miner
WandererReece
WandererReece avatar
So, I did some enchantment compatibility test, and the results were fascinating. So far, all armor enchantments appear to work on any armor, and some effects will stack.

Feather Falling is a great example: At a height of 23.5, falling is guaranteed to kill a player, but Feather Falling IV will cause the player to lose only half its health. However, Feather Falling IV on 4 pieces of armor will cause the player to loose only 2 hearts!

Weapons were not so impressive. So far, it looks like all sword and tool enchantments will work on any melee weapon or tool, but that's about it. Shields, bows, tridents,a xbows mostly use just their intended enchantments. However, I did get Smite to work on a thrown Trident, and looting works on bows.

Also, I'm adding more stuff to the pack. Last time, I was focusing on the main stuff, and I didn't fully understand the power of the Smithing Table

Have Fun!
2
06/09/2020 3:39 am
Level 54 : Grandmaster Pixel Painter
Taku17
Taku17 avatar
yooo that's so smart :O
1
06/09/2020 2:29 pmhistory
Level 53 : Grandmaster Miner
WandererReece
WandererReece avatar
Ironically, this is probably the easiest thing to make, lol.
2
06/08/2020 10:47 amhistory
Level 47 : Master Guard
One_Nose
One_Nose avatar
Nice data pack! I assume it won't retain previous enchantments, but I guess it's not possible currently :( Nice work!
1
06/08/2020 2:17 pm
Level 53 : Grandmaster Miner
WandererReece
WandererReece avatar
Yes, the enchantments from the enchanted books will overwrite any enchantments already on the equipment. This is because the Smithing Table is technically creating a new item using the data in the book.
Planet Minecraft

Website

© 2010 - 2021
www.planetminecraft.com

Welcome