Minecraft Data Packs / Quality of Life

Transfer Enchantments (Transfer Enchantments Between Tools port to 1.20)

  • check_circle Functions
  • check_circle Recipes
  • 2,065 views, 11 today
  • 222 downloads, 0 today
  • 9
  • 7
  • 6
TheDesertRoad's Avatar TheDesertRoad
Level 20 : Expert Collective
3
THIS IS A SIMPLE PORT WITH SOME ADDITIONS, IT'S VERY BUGGY! THE ORIGINAL PACK IS NOT MINE! ANY BUG LET ME KNOW!

Put copper into the first slot, followed by the tools of the same type that you want to transfer it to. One of the tools will loose all of its previous enchantments and gain the enchantments of the first. This works with all types of iron, diamond, wood, stone, chainmail and netherite tools and armor, as well as the turtle helmet.
CreditTheGayerest (Original pack creator)
CompatibilityMinecraft 1.19
toMinecraft 1.20
Tags

Create an account or sign in to comment.

IceCubeOperator
12/11/2023 6:52 pm
Level 1 : New Miner
IceCubeOperator's Avatar
There are several typos in the code of this datapack (all inside recipes folder). the first bracket is missing in diamond_shovel.json and multiple variants of "leggings" are misspelled. Also a typo in turtle_helmet.json.
Found these errors in my console.

Errors
com.google.gson.JsonSyntaxException: Unknown item 'minecraft:turle_helmet'
at net.minecraft.world.item.crafting.ShapedRecipe.lambda$itemFromJson$2(ShapedRecipe.java:375) ~[?:?]
at java.util.Optional.orElseThrow(Unknown Source) ~[?:?]
at net.minecraft.world.item.crafting.ShapedRecipe.itemFromJson(ShapedRecipe.java:374) ~[?:?]
at net.minecraft.world.item.crafting.ShapedRecipe.itemStackFromJson(ShapedRecipe.java:357) ~[?:?]
at net.minecraft.world.item.crafting.SmithingTransformRecipe$Serializer.fromJson(SmithingTransformRecipe.java:118) ~[?:?]
at net.minecraft.world.item.crafting.SmithingTransformRecipe$Serializer.a(SmithingTransformRecipe.java:109) ~[?:?]
at net.minecraft.world.item.crafting.RecipeManager.fromJson(RecipeManager.java:186) ~[?:?]
at net.minecraft.world.item.crafting.RecipeManager.apply(RecipeManager.java:67) ~[?:?]
at net.minecraft.world.item.crafting.RecipeManager.a(RecipeManager.java:39) ~[?:?]
at net.minecraft.server.packs.resources.SimplePreparableReloadListener.lambda$reload$1(SimplePreparableReloadListener.java:10) ~[?:?]
at java.util.concurrent.CompletableFuture$UniAccept.tryFire(Unknown Source) ~[?:?]
at java.util.concurrent.CompletableFuture$Completion.run(Unknown Source) ~[?:?]
at net.minecraft.server.packs.resources.SimpleReloadInstance.lambda$new$3(SimpleReloadInstance.java:66) ~[?:?]
at net.minecraft.Util.blockUntilDone(Util.java:827) ~[?:?]
at net.minecraft.Util.blockUntilDone(Util.java:816) ~[?:?]
at net.minecraft.server.Main.main(Main.java:246) ~[paper-1.20.jar:git-Paper-17]
at org.bukkit.craftbukkit.Main.main(Main.java:316) ~[paper-1.20.jar:git-Paper-17]
at io.papermc.paperclip.Paperclip.lambda$main$0(Paperclip.java:42) ~[app:?]
at java.lang.Thread.run(Unknown Source) ~[?:?]
[23:28:08 ERROR]: Parsing error loading recipe transfer_enchants:golden/golden_leggings
com.google.gson.JsonSyntaxException: Unknown item 'minecraft:golden_leggins'
at net.minecraft.world.item.crafting.ShapedRecipe.lambda$itemFromJson$2(ShapedRecipe.java:375) ~[?:?]
at java.util.Optional.orElseThrow(Unknown Source) ~[?:?]
at net.minecraft.world.item.crafting.ShapedRecipe.itemFromJson(ShapedRecipe.java:374) ~[?:?]
at net.minecraft.world.item.crafting.Ingredient.valueFromJson(Ingredient.java:199) ~[?:?]
at net.minecraft.world.item.crafting.Ingredient.fromJson(Ingredient.java:176) ~[?:?]
at net.minecraft.world.item.crafting.Ingredient.fromJson(Ingredient.java:170) ~[?:?]
at net.minecraft.world.item.crafting.SmithingTransformRecipe$Serializer.fromJson(SmithingTransformRecipe.java:116) ~[?:?]
at net.minecraft.world.item.crafting.SmithingTransformRecipe$Serializer.a(SmithingTransformRecipe.java:109) ~[?:?]
at net.minecraft.world.item.crafting.RecipeManager.fromJson(RecipeManager.java:186) ~[?:?]
at net.minecraft.world.item.crafting.RecipeManager.apply(RecipeManager.java:67) ~[?:?]
at net.minecraft.world.item.crafting.RecipeManager.a(RecipeManager.java:39) ~[?:?]
at net.minecraft.server.packs.resources.SimplePreparableReloadListener.lambda$reload$1(SimplePreparableReloadListener.java:10) ~[?:?]
at java.util.concurrent.CompletableFuture$UniAccept.tryFire(Unknown Source) ~[?:?]
at java.util.concurrent.CompletableFuture$Completion.run(Unknown Source) ~[?:?]
at net.minecraft.server.packs.resources.SimpleReloadInstance.lambda$new$3(SimpleReloadInstance.java:66) ~[?:?]
at net.minecraft.Util.blockUntilDone(Util.java:827) ~[?:?]
at net.minecraft.Util.blockUntilDone(Util.java:816) ~[?:?]
at net.minecraft.server.Main.main(Main.java:246) ~[paper-1.20.jar:git-Paper-17]
at org.bukkit.craftbukkit.Main.main(Main.java:316) ~[paper-1.20.jar:git-Paper-17]
at io.papermc.paperclip.Paperclip.lambda$main$0(Paperclip.java:42) ~[app:?]
at java.lang.Thread.run(Unknown Source) ~[?:?]
[23:28:08 ERROR]: Parsing error loading recipe transfer_enchants:diamond/diamond_shovel
com.google.gson.JsonSyntaxException: Expected top element to be a JsonObject, was "type"
at net.minecraft.util.GsonHelper.convertToJsonObject(GsonHelper.java:341) ~[?:?]
at net.minecraft.world.item.crafting.RecipeManager.apply(RecipeManager.java:67) ~[?:?]
at net.minecraft.world.item.crafting.RecipeManager.a(RecipeManager.java:39) ~[?:?]
at net.minecraft.server.packs.resources.SimplePreparableReloadListener.lambda$reload$1(SimplePreparableReloadListener.java:10) ~[?:?]
at java.util.concurrent.CompletableFuture$UniAccept.tryFire(Unknown Source) ~[?:?]
at java.util.concurrent.CompletableFuture$Completion.run(Unknown Source) ~[?:?]
at net.minecraft.server.packs.resources.SimpleReloadInstance.lambda$new$3(SimpleReloadInstance.java:66) ~[?:?]
at net.minecraft.Util.blockUntilDone(Util.java:827) ~[?:?]
at net.minecraft.Util.blockUntilDone(Util.java:816) ~[?:?]
at net.minecraft.server.Main.main(Main.java:246) ~[paper-1.20.jar:git-Paper-17]
at org.bukkit.craftbukkit.Main.main(Main.java:316) ~[paper-1.20.jar:git-Paper-17]
at io.papermc.paperclip.Paperclip.lambda$main$0(Paperclip.java:42) ~[app:?]
at java.lang.Thread.run(Unknown Source) ~[?:?]
[23:28:08 ERROR]: Parsing error loading recipe transfer_enchants:diamond/diamond_leggings
com.google.gson.JsonSyntaxException: Unknown item 'minecraft:diamond_leggins'
at net.minecraft.world.item.crafting.ShapedRecipe.lambda$itemFromJson$2(ShapedRecipe.java:375) ~[?:?]
at java.util.Optional.orElseThrow(Unknown Source) ~[?:?]
at net.minecraft.world.item.crafting.ShapedRecipe.itemFromJson(ShapedRecipe.java:374) ~[?:?]
at net.minecraft.world.item.crafting.Ingredient.valueFromJson(Ingredient.java:199) ~[?:?]
at net.minecraft.world.item.crafting.Ingredient.fromJson(Ingredient.java:176) ~[?:?]
at net.minecraft.world.item.crafting.Ingredient.fromJson(Ingredient.java:170) ~[?:?]
at net.minecraft.world.item.crafting.SmithingTransformRecipe$Serializer.fromJson(SmithingTransformRecipe.java:116) ~[?:?]
at net.minecraft.world.item.crafting.SmithingTransformRecipe$Serializer.a(SmithingTransformRecipe.java:109) ~[?:?]
at net.minecraft.world.item.crafting.RecipeManager.fromJson(RecipeManager.java:186) ~[?:?]
at net.minecraft.world.item.crafting.RecipeManager.apply(RecipeManager.java:67) ~[?:?]
at net.minecraft.world.item.crafting.RecipeManager.a(RecipeManager.java:39) ~[?:?]
at net.minecraft.server.packs.resources.SimplePreparableReloadListener.lambda$reload$1(SimplePreparableReloadListener.java:10) ~[?:?]
at java.util.concurrent.CompletableFuture$UniAccept.tryFire(Unknown Source) ~[?:?]
at java.util.concurrent.CompletableFuture$Completion.run(Unknown Source) ~[?:?]
at net.minecraft.server.packs.resources.SimpleReloadInstance.lambda$new$3(SimpleReloadInstance.java:66) ~[?:?]
at net.minecraft.Util.blockUntilDone(Util.java:827) ~[?:?]
at net.minecraft.Util.blockUntilDone(Util.java:816) ~[?:?]
at net.minecraft.server.Main.main(Main.java:246) ~[paper-1.20.jar:git-Paper-17]
at org.bukkit.craftbukkit.Main.main(Main.java:316) ~[paper-1.20.jar:git-Paper-17]
at io.papermc.paperclip.Paperclip.lambda$main$0(Paperclip.java:42) ~[app:?]
at java.lang.Thread.run(Unknown Source) ~[?:?]
[23:28:08 ERROR]: Parsing error loading recipe transfer_enchants:chainmail/chainmail_leggings
com.google.gson.JsonSyntaxException: Unknown item 'minecraft:chainmail_leggins'
at net.minecraft.world.item.crafting.ShapedRecipe.lambda$itemFromJson$2(ShapedRecipe.java:375) ~[?:?]
at java.util.Optional.orElseThrow(Unknown Source) ~[?:?]
at net.minecraft.world.item.crafting.ShapedRecipe.itemFromJson(ShapedRecipe.java:374) ~[?:?]
at net.minecraft.world.item.crafting.Ingredient.valueFromJson(Ingredient.java:199) ~[?:?]
at net.minecraft.world.item.crafting.Ingredient.fromJson(Ingredient.java:176) ~[?:?]
at net.minecraft.world.item.crafting.Ingredient.fromJson(Ingredient.java:170) ~[?:?]
at net.minecraft.world.item.crafting.SmithingTransformRecipe$Serializer.fromJson(SmithingTransformRecipe.java:116) ~[?:?]
at net.minecraft.world.item.crafting.SmithingTransformRecipe$Serializer.a(SmithingTransformRecipe.java:109) ~[?:?]
at net.minecraft.world.item.crafting.RecipeManager.fromJson(RecipeManager.java:186) ~[?:?]
at net.minecraft.world.item.crafting.RecipeManager.apply(RecipeManager.java:67) ~[?:?]
at net.minecraft.world.item.crafting.RecipeManager.a(RecipeManager.java:39) ~[?:?]
at net.minecraft.server.packs.resources.SimplePreparableReloadListener.lambda$reload$1(SimplePreparableReloadListener.java:10) ~[?:?]
at java.util.concurrent.CompletableFuture$UniAccept.tryFire(Unknown Source) ~[?:?]
at java.util.concurrent.CompletableFuture$Completion.run(Unknown Source) ~[?:?]
at net.minecraft.server.packs.resources.SimpleReloadInstance.lambda$new$3(SimpleReloadInstance.java:66) ~[?:?]
at net.minecraft.Util.blockUntilDone(Util.java:827) ~[?:?]
at net.minecraft.Util.blockUntilDone(Util.java:816) ~[?:?]
at net.minecraft.server.Main.main(Main.java:246) ~[paper-1.20.jar:git-Paper-17]
at org.bukkit.craftbukkit.Main.main(Main.java:316) ~[paper-1.20.jar:git-Paper-17]
at io.papermc.paperclip.Paperclip.lambda$main$0(Paperclip.java:42) ~[app:?]
at java.lang.Thread.run(Unknown Source) ~[?:?]
1
TheDesertRoad
12/17/2023 11:07 pm
Level 20 : Expert Collective
TheDesertRoad's Avatar
Oh thanks! I will try to solve it, but remember, this is just a simple port of the OG DataPack.
1
SatakudeLosMontes
11/13/2023 9:36 am
Level 1 : New Miner
SatakudeLosMontes's Avatar
Cant download this version, the links sends me to the old version
1
TheDesertRoad
11/13/2023 5:10 pm
Level 20 : Expert Collective
TheDesertRoad's Avatar
Are you sure?
1
SatakudeLosMontes
11/14/2023 7:44 am
Level 1 : New Miner
SatakudeLosMontes's Avatar
Ok now theres 2 choices, Download Data Pack and Original pack, before it only had the Original Pack one
1
TheDesertRoad
11/14/2023 2:05 pm
Level 20 : Expert Collective
TheDesertRoad's Avatar
No, it's the PMC page of the original datapack
1
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome