I was making a datapack which edits vanilla Minecraft with some custom tweaks just for myself. I hate having slow pickaxes so I wanted for it to give you an enchanted one right when you craft it. So far I have this:
The Meaning of Life, the Universe, and Everything.
Join Date:
2/11/2017
Posts:
662
Member Details
Unfortunately, custom nbt data is not supported in custom crafting recipes. The best you could do would be to automatically enchant all wooden pickaxes like so:
execute as @a[nbt={SelectedItem:{id:"minecraft:wooden_pickaxe"}}] run enchant @s efficiency 2
This command should run every tick.
Rollback Post to RevisionRollBack
Remember those versions that minecraft pranked us with? Specifically:
Minecraft 2.0
Minecraft 1.VR-Pre1
Snapshot 15w14a
Minecraft 3D
Those are still downloadable! Watch this video for 2.0:
To download the other ones you need to make a folder in the versions folder for minecraft and put the client and JSON file for the versions in there. They all need to be named the same aside from file extensions. Once you do that, you will be able to choose that version when making a new profile with the minecraft launcher.
I was making a datapack which edits vanilla Minecraft with some custom tweaks just for myself. I hate having slow pickaxes so I wanted for it to give you an enchanted one right when you craft it. So far I have this:
I was wondering if it was possible to add en enchantment like efficiency 1, 2, or 3 onto it.
Also, if it is possible to have other nbt tags like attack speed or attack damage on it that would be much appreciated!
Unfortunately, custom nbt data is not supported in custom crafting recipes. The best you could do would be to automatically enchant all wooden pickaxes like so:
This command should run every tick.
Remember those versions that minecraft pranked us with? Specifically:
Those are still downloadable! Watch this video for 2.0:
https://www.youtube.com/watch?v=PQdu9LKAdIU
To download the other ones you need to make a folder in the versions folder for minecraft and put the client and JSON file for the versions in there. They all need to be named the same aside from file extensions. Once you do that, you will be able to choose that version when making a new profile with the minecraft launcher.
15w14a is on this link:
http://minecraft.gamepedia.com/15w14a
1.RV-Pre1 is here:
http://minecraft.gamepedia.com/1.RV-Pre1
Minecraft 3D is here:
https://minecraft.gamepedia.com/Java_Edition_3D_Shareware_v1.34