i always wanted to know how to get our custom item in the result side , but no other tutorial was helping . thank you so much for showing me how to do it. and the tutorial was super friendly.
This video was insanely helpful, there aren't a lot of tutorials like this right now and this one solved my problems of my file being called "recipes" instead of "recipe" and my item name not working because it had a space in it!! Great video
Dude this video was so helpful. Especially the part when you mentioned multiple words breaking the entire recipe and how to fix it. That really saved me thank you :)
Hello, datapack/coding newbie here! When I tried to paste the .zip template into VS Code, it said the format was not supported. I tried to move the contents of the .zip file into a folder and continue from there. Everything showed up on VS Code, yet in the actual game it doesn't change anything. What I'm currently trying to do is add an additional recipe / change the recipe for crafting TNT. I'm using aternos server hosting and pasting the datapacks into world > datapacks. But nothing I try seems to work -- help would be appreciated!
Hey Carrots! Sorry to hear you’re having trouble. If you’ve unzipped it, it should work in VSCode. Before uploading it to your server I’d recommend testing in a local world, it’s a lot easier and faster. Once you’re happy that it works you can put it on your server. If you want to change the recipe, the json file should be in minecraft/recipe If you want to add a new recipe, the json file should be in /recipe If you’re using my template, is “template”. Make sure you’ve spelled everything correctly as the tiniest mistake can cause it to fail. I hope this helps, if not feel free to reach out again!
hey, i have a problem. my script has an error by the key area, it says, "Expected a map-like, a map-like, or a list spyglassmc(1.21.1)." any way to fix this?
hi love your video slight question, what is the custom_data string part and is it necessary in the recipe? I don't really get the function so a detail on the funtion will be nice. sorry for the inconvenient ask.
Hey there! First of all thanks! I’m glad you loved it. With the custom_data component you can add data custom to your item. The banjo had custom data, so I added it here. The biggest reason I showed it is to serve as an example of what it should look like if your own items have custom data. It is not strictly necessary
First thank you for your answer! I do not see an option for any custom components as input. In the Key section Only the Tag Item is addressed. I want to modify the input not only the output. By the way awesome tutorial! Really appreciate it.
Oh I see what you mean now. Unfortunately you can’t use custom items as input for crafting recipes. Really unfortunate because you could do really cool stuff with that
The craft doesn't work for some reason, the item > id and recipes > recipe steps are completed, but it still doesn't work. I also tried removing the attack damage attributes that i put there from the script to see if it works that way, but it still didn't.
Can you try removing all components from the crafting recipe? If it still doesn’t show up it might not be in the right folder. If it does show up there’s something wrong with the components
I didn’t show how to get the banjo model in this video. I already had it and used it as an example. As for how I got it, I made it myself using Blockbench 😊
To add a model to your resourcepack, you’ll need to put the model file in “assets//models/item” and the texture in “assets//textures/item”. Of course make sure to link to the right texture in your model file
Hey. If I want to include custom data in the recipe itself, how would I do that? For example, I am creating a recipe where you need to use a custom painting that I have added into the game.
Hey there! In that case the output would have the components associated with custom paintings. I’ve never messed with custom paintings too much so i don’t know the details, but mcstacker is a fantastic tool for this sort of thing. Hope it helps!
For some reason I can't even get it to work even if I set it to craft a regular ingame item. Im just putting the data pack folder in modrinth and running it, could that be the reason?
Hi hi! I have a question: Can I make a custom smithing recipe where the template is a music disc with a custom model data? or can I not use specific NBT tags for the ingredients?
Hey there! Unfortunately you can only have custom items as output, not input. It’ll see any input as the base item. So no, I’m afraid you can’t do that
MCStacker is a great resource for putting custom items together. You can use it to generate a /give command (with a coloured item name) and then copy item name component into your recipe. I hope this helps!
With in the recipe, do you mean as input or output? You can’t really use custom items as input, it will register as its original item. As output, if you want it to have a custom model, you can use the item model component. Check out my latest tutorial for more info on that
So you’ve already got the resourcepack set up and are trying to add custom model data to your item? Am I getting that right? If so you can check out my tutorial where I explain item components from my tutorial playlist. If I didn’t get that right, I’m still looking into creating a tutorial for setting up a resourcepack 😃
No worries at all. I’d be happy to do it. Just to let you know, I’m working on a bunch of content at the moment so it might be a couple of weeks before I get to this tutorial. Hope you understand and hope to see you there!
No it’s not supposed to be a zip file. Recipes are kind of finicky, it’s easy to make mistakes. If the recipe doesn’t show up you might want to double check everything
Custom model data is for when you want to add a custom model or texture like the banjo. Custom data is can be pretty much anything. Minecraft itself doesn’t use it but for datapacks it’s a great way to differentiate items
Is it possible to add custom data to the items used in the recipe? I'm looking to use a custom item to craft other custom items but I don't think I have many great options
@@100percentmeep oh, its probably fine lol. I can just try and utilize as many items with no crafting recipe as possible and add them. I also have another quick question (hope I'm not bothering you) but is it possible to make custom brewing stand recipes?
I thought it was, but I just checked misode and they don’t list an option for it in their recipe generator so I think it’s not possible to make custom crafting recipes for potions in the brewing stand
Tutorial was great… I think… But somehow it doesn’t work (at least not for 1.21.4 (I also changed the packformst to 61, but the receipe does not show up in Minecraft 🥺)
Hey there! In 1.21.4 item models have changed. If your output item has the item_model component, you’ll have to update your resourcepack. If your output item has the custom_model_data component you’ll need to change it to a new format (and also update your resourcepack). I’m planning on making a tutorial on that soon. For now the 1.21.4 changelog should have the info you need. This is of course all assuming your item uses a custom model. If not we can look further for other issues. Let me know how it goes!
@ Uh…🤔 No actually I made just a datapack to craft invisible Item Frames and lightblocks. But it can wait.☺️ I‘m really looking forward to the new video then and hopefully it will help. ❤️
My upcoming video will mostly focus on item models. I assumed you had issues with that because that’s a breaking change in 1.21.4. I’m going to make another assumption though. I’m assuming you’re giving your invisible item frame a tag that when placed, instead of spawning a regular item frame, it spawns an invisible one? I don’t think your issue has to do with the update. Crafting recipes are unfortunately very finicky as you need to get everything just right or it won’t show up. Is it possible that you made a typo, syntax is wrong or file name has invalid characters? Can you confirm that it works in earlier versions? There’s unfortunately a lot to figure out here
I don’t know about the aternos datapack upload feature so I can’t really say anything to that. Datapacks run inside your Minecraft world in the datapacks folder. If you put your datapack in that folder and then upload your world to your server, it should work
Alright, let’s figure this out. Did you grab the resourcepack template from my Patreon (free, link in description)? If you download and open it, you should see a folder called “assets”, in there should be a folder called “template”. This is the namespace we’re using for our resourcepack and you can rename it to almost anything as long as it’s lowercase and doesn’t have spaces, but you can also leave it as “template”. In the tutorial, inside that folder, we created a folder named “recipe” this is where you drop the recipe.json you created in misode. Let me know if you’re still having trouble!
@@100percentmeep i have the template folder now and i see the assets and i see the template inside the assets but then what do i do im confused after that?
Open up the template folder and create a new folder called “recipe”. Once you’ve done that you can drag and drop your recipe.json into your newly created recipe folder
Reading this back I think I had them confused 😅. Yea, it’s supposed to be the datapack template where you should put the custom recipe. Which also has a folder named “data” instead of “assets”. Thanks for catching that!
hi! i've been searching up multiple toutorials for this topic but i still can't get it to work. i tried out several templates (minecraft recognizes the datapack just fine) but the recepies i created don't seem to work. i copied them from the website you showed in the video, tried out complex as well as simple recipes but nothing. the folder is named correctly, the code is written in JSON-Files, i chose the correct version (1.21) on the website, ingame and for the templates i tried but it does not work. and yes, i did enable and reload the datapack ingame, even restarted the game at one point. this is my second attempt of getting into minecraft datapacks but i couldn't get anything done on my last try several months ago. don't want that to repeat itself again
Hey Grimm, I’m sorry to hear you’re having so much trouble with your datapack. Reading through your comment I feel like you’ve really tried all the debugging tricks. If Minecraft recognises your datapack and you’ve double checked that everything is in the right place and your JSON is correct too, then I don’t really know what could be wrong. Just to make sure, your recipes folder is called “recipe” (singular) and not “recipes” (plural)? I’ve seen some people have issues with that. What you could try (if you haven’t already) is downloading my datapack template from my Patreon (free, link in description). I know my template works. Could you try creating a “recipe” folder in the “template” folder and dropping your JSON in there? Just to see if that makes a difference. If it doesn’t there’s a good chance there may be something wrong with your JSON. If not, we’re going to try something else
@@100percentmeep thank you for replying so fast! sadly, your template also didn't work for me but i have one last idea. i will try to download a complete datapack with custom recipes and compare it with my own. hopefully i can get at least something to work. anyways, i will definately come back for your toutorials, they are really easy to follow. i seem to have a problem that is either rare or extremely stupid xD
@@100percentmeep it actually did. i still don't know what the issue was but after importing a recipe that actually worked, all the others started working too. seems really wierd but i won't question it now. all that counts is, that i can now craft my knockback sticks xD
That’s really strange indeed! Oh well, I’m really glad it works now! I hope this didn’t scare you too much to keep you from making datapacks in the future 😅
I have this small problem and I don't know how to fix it. The first recipe worked great! But when adding another recipe to the folder it doesnt show up.... What could be the problem?
Could be a bunch of things. What I like to do to try is remove everything custom about the output (so that basically you’re not crafting a custom item) and see if that shows up, from there you can add the components again one by one and see if any of those are responsible for breaking it. Good luck!
@@100percentmeep So before I only had 1 recipe which worked. If I edit it by for example changing an iron ingot into a gold ingot it works. But if i copy the same recipe and change it it stops working and doesnt show up... Same with new recipes. Even tho they should work, they just don't appear.
Just to clarify, you have a copy of a recipe that works, you’ve changed the output item and it doesn’t work? If that’s the case I think it might have to do with Minecraft overriding one of the recipes. I don’t think you can have the same recipe for different items
@@100percentmeep Thats not really what I mean, I'm not sure how to explain it honestly. I have a recipe for a katana and it worked perfectly. I can modify its crafting and it updates and still works. But when I copy the katana recipe and change the copied one, the recipe doesnt show up (even when I delete do original one) Also any other recipe doesn't work even though I'm sure there aren't any mistakes in the code for them. I hope I explained it better this time lmao
Hi! Nice video, you explain everything so smoothly but I don't know what i did wrong on my end. I saved the json file from vscode and uploaded the json file. It seems to not work and I'm just guessing its because of the server hosting website i use. Could use some help on this. 😅😅
I recommend working locally when developing and testing data packs. That way you can be sure it’s not your hosting provider. Try to upload it after you’ve confirmed that it works. If after that it still doesn’t work on your server, I recommend checking your hosts support pages. Good luck!
@@100percentmeep Also, I'm a bit confused on what file to upload. Do we upload the json file consisting of the code for the recipe or the entire zip file into the datapacks folder?
For the JDK I would always recommend your hosts support page for that information. You will need to upload the entire data pack into the datapacks folder though. Also, and don’t quote me on this because I’m not entirely sure and I always get this confused but it’s worth testing, you may need to unzip it once uploaded. And again I recommend working locally before uploading your work to your server. Datapacks are part of a world. I’d recommend working on the world, and the datapacks, locally and, once ready, uploading the world as a whole if you have that option.
That’s weird. Since datapacks live inside the world folder, it shouldn’t matter whether you’re in singleplayer or on a server. Can you double check by uploading a copy of your singleplayer world to your server and testing again?
Good question! Minecraft itself has the solution. When opening Minecraft, in the singleplayer world selection screen, select your world (don’t go in it, just select it). At the bottom there should be a button “open world folder”. From there you can drop datapacks into the datapacks folder.
You can use custom_model_data to give it a custom texture. You need a resource pack for that though. There are a bunch of tutorials explaining that on TH-cam, though most of them are outdated. I’m planning to do a tutorial for it, but irl is keeping me busy so probably won’t be for a couple of weeks.
@@100percentmeep yeah the recipes are coming up. I'm now jsut wrestling with the components. For some reason can't figure out how to change the colour of the item_name component other than setting the rarity component
@xanderridley-smith3613 Going of the top of my head here, but I think it might be along the lines of “[{‘text’:’Name of your Item’,’color’:’green’}]”. I’m not really sure, not near a computer to test. Let me know if it works!
@@100percentmeep damn, you saved me again! my quotes were wrong. what's weird about that is i got my format straight from the patch notes, and it worked as a command. lesson learned! thank you.
@@100percentmeep the first curly bracket is red underlined and type, category, pattern, key and result are yellow underlined and the recipe doesn’t work in Minecraft. I also tested code from another website and this doesn’t work either.
So you also removed the glider component and it still doesn’t work? Have you checked that it’s in the right folder? Also they can’t have spaces or capital letters in their name
@100percentmeep I couldn't figure out what the difference was exactly. I think it was a directory issue. Might have just been my file architecture. Copied a template and got it to work just fine now. But if I can pinpoint a difference I'll show you
Are you on Minecraft 1.21.4 and giving it a custom model? If so they changed a lot about custom items and this method doesn’t work anymore. Check out my tutorial on adding custom item models in 1.21.4. There’s a link to the tutorials playlist in the description
@@100percentmeepThank you! I just rewatched your tutorial, and it worked perfectly this time. Your tutorials are always top-notch and incredibly helpful-you truly deserve more subscribers!
I’ve got “a beginners’ guide to datapacks” on my channel in the tutorial playlist somewhere. It shows how to set up a datapack. Essentially the commands from the custom goat horn tutorial go into a function in your datapack. Though if you want goat horns to make a custom sound (which I’m assuming you’re asking), there’s a better way to do it now. I don’t have a tutorial for it as it’s experimental, but goat horns are data driven now. You can have it play a different sound with the instrument item component. The old method also still works, it’s just not as good.
Idk if I’m just stupid but half the things he says I don’t understand or he doesn’t explain how to do it. Like what do you mean save??? There is no dedicated save button on my keyboard what button are you pushing??????? And it doesn’t show me the data pack folder where did you get those extra files from why is this tutorial so bad and why is it the only one there is???
Hey Hazord, I’m sorry to hear you’re having trouble with my tutorial. I try my best to make my tutorials as clear as possible. To save the file you can press ctrl+s (or cmd+s on Mac). As for the data pack folder, I’m using a program called VSCode to create and edit my data packs, VSCode shows files on the left side. I’ve used the data pack from a previous tutorial which I mentioned at the beginning of the video. Hope this helps! Feel free to reach out if you’re still unclear on some things
How long did you use your Computer? 1 Week? How did someone not already figured out that Ctrl + s is the "save" keybind for like 99.9% of Programs out there
i always wanted to know how to get our custom item in the result side , but no other tutorial was helping . thank you so much for showing me how to do it. and the tutorial was super friendly.
Thank you for your kind words! I’m glad I was able to help!
This video was insanely helpful, there aren't a lot of tutorials like this right now and this one solved my problems of my file being called "recipes" instead of "recipe" and my item name not working because it had a space in it!! Great video
Thanks! I really appreciate your comment!
I FINALLY got it why my minecraft datapacks didn't operate thank you so much and I respect you this is an revolution in 1.21 world :)
Thanks for your comment! I’m glad I was able to help!
Dude this video was so helpful. Especially the part when you mentioned multiple words breaking the entire recipe and how to fix it. That really saved me thank you :)
I’m glad I could help!
simple and helpful
also nice narrator
Thank you kindly! I really appreciate it!
I would love it if minecraft added a banjo or other instruments! It would be a great addition! Great job with this 😁
Yes that would be so cool! Thank you for your comment!
Loved The Video Thanks Best Tutorial Keep It Up ❤❤
Really glad you loved it! Thanks for your comment!
Hello, datapack/coding newbie here! When I tried to paste the .zip template into VS Code, it said the format was not supported. I tried to move the contents of the .zip file into a folder and continue from there. Everything showed up on VS Code, yet in the actual game it doesn't change anything. What I'm currently trying to do is add an additional recipe / change the recipe for crafting TNT. I'm using aternos server hosting and pasting the datapacks into world > datapacks. But nothing I try seems to work -- help would be appreciated!
Hey Carrots! Sorry to hear you’re having trouble. If you’ve unzipped it, it should work in VSCode. Before uploading it to your server I’d recommend testing in a local world, it’s a lot easier and faster. Once you’re happy that it works you can put it on your server.
If you want to change the recipe, the json file should be in minecraft/recipe
If you want to add a new recipe, the json file should be in /recipe
If you’re using my template, is “template”.
Make sure you’ve spelled everything correctly as the tiniest mistake can cause it to fail.
I hope this helps, if not feel free to reach out again!
this saved me. holy moly
I’m glad I could help!
nice tutorial
Thanks! I appreciate it!
hey, i have a problem.
my script has an error by the key area, it says, "Expected a map-like, a map-like, or a list spyglassmc(1.21.1)." any way to fix this?
nevermind, fixed it :).
hi love your video
slight question, what is the custom_data string part and is it necessary in the recipe? I don't really get the function so a detail on the funtion will be nice. sorry for the inconvenient ask.
Hey there! First of all thanks! I’m glad you loved it. With the custom_data component you can add data custom to your item. The banjo had custom data, so I added it here. The biggest reason I showed it is to serve as an example of what it should look like if your own items have custom data. It is not strictly necessary
@@100percentmeep thank you I look foward to your future videos just started catching up
how do i do multiple different recipes
when i tried to add a second one it didnt work but the first one still does
i figured it out yippe
whats the name of the application you used you called Fiscode? can you send a link?
It’s VSCode or Visual Studio Code. I get why you might’ve heard “Fiscode” though 😂
Its called Visual Studio Code(he said vscode)
@@Coffee_Teo oop
1.21 is just insane ngl
Oh it’s SO incredible what they’re letting us do! I love it! Can’t wait to find out what the Mojang team will bless us with next
@@100percentmeep Datapacks are getting closer to mods then they've ever been lol. Legit a huge update for datapack community
Hey, do you guys have any idea how to use custom items in the crafting recipe? For example, craft a multi-instrument out of that banjo.
The banjo here is just an example. You can output any custom items. Including a multi-instrument. You do have to make the custom item first though
First thank you for your answer!
I do not see an option for any custom components as input. In the Key section Only the Tag Item is addressed.
I want to modify the input not only the output.
By the way awesome tutorial! Really appreciate it.
Oh I see what you mean now. Unfortunately you can’t use custom items as input for crafting recipes. Really unfortunate because you could do really cool stuff with that
The craft doesn't work for some reason, the item > id and recipes > recipe steps are completed, but it still doesn't work. I also tried removing the attack damage attributes that i put there from the script to see if it works that way, but it still didn't.
Can you try removing all components from the crafting recipe? If it still doesn’t show up it might not be in the right folder. If it does show up there’s something wrong with the components
@@100percentmeep It works without the components, here is the craftingrecipe.json i have: (my first comment got deleted for some reason)
{
"type": "minecraft:crafting_shaped",
"pattern": [
" e ",
"mem",
" n "
],
"key": {
"e": {
"item": "minecraft:emerald_block"
},
"m": {
"item": "minecraft:emerald"
},
"n": {
"item": "minecraft:netherite_ingot"
}
},
"result": {
"id": "minecraft:diamond_sword",
"components": {
"minecraft:attribute_modifiers": {
"modifiers": [
{
"id": "generic.attack_damage",
"type": "minecraft:generic.attack_damage",
"amount": 5,
"operation": "add_value",
"slot": "any"
},
{
"id": "generic.attack_speed",
"type": "minecraft:generic.attack_speed",
"amount": -2.5,
"operation": "add_value",
"slot": "any"
}
],
"show_in_tooltip": false
},
"minecraft:lore": [
"12 Attack Damage, 1.6 Attack Speed"
],
"minecraft:item_name": "[{'text':'Emerald Sword'}]",
"minecraft:custom_model_data": 1,
"count": 1
}
}
}
@@100percentmeep It does work without components, here is my craftingrecipe.json file with the components included:
{
"type": "minecraft:crafting_shaped",
"pattern": [
" e ",
"mem",
" n "
],
"key": {
"e": {
"item": "minecraft:emerald_block"
},
"m": {
"item": "minecraft:emerald"
},
"n": {
"item": "minecraft:netherite_ingot"
}
},
"result": {
"id": "minecraft:diamond_sword",
"components": {
"minecraft:attribute_modifiers": {
"modifiers": [
{
"id": "generic.attack_damage",
"type": "minecraft:generic.attack_damage",
"amount": 5,
"operation": "add_value",
"slot": "any"
},
{
"id": "generic.attack_speed",
"type": "minecraft:generic.attack_speed",
"amount": -2.5,
"operation": "add_value",
"slot": "any"
}
],
"show_in_tooltip": false
},
"minecraft:lore": [
"12 Attack Damage, 1.6 Attack Speed"
],
"minecraft:item_name": "[{'text':'Emerald Sword'}]",
"minecraft:custom_model_data": 1,
"count": 1
}
}
}
@@100percentmeep Nevermind, the Lore was the problem, I removed it and now it works. Thanks for the video!
@Voidy111 glad you figured it out! Edit: looking at your JSON I’m pretty sure the lore needs to be in the same format as the item name
How did you get that banjo texture? I’m not sure if you show how to get that item texture to the banjo
I didn’t show how to get the banjo model in this video. I already had it and used it as an example. As for how I got it, I made it myself using Blockbench 😊
Could you tell me how you did add that texture so i know how? That would be kind! :)
To add a model to your resourcepack, you’ll need to put the model file in “assets//models/item” and the texture in “assets//textures/item”.
Of course make sure to link to the right texture in your model file
Thanks bro i will try!
Hey. If I want to include custom data in the recipe itself, how would I do that? For example, I am creating a recipe where you need to use a custom painting that I have added into the game.
Hey there! In that case the output would have the components associated with custom paintings. I’ve never messed with custom paintings too much so i don’t know the details, but mcstacker is a fantastic tool for this sort of thing. Hope it helps!
MY HERO!!!!!!!!!!!!!!!!!!!
For some reason I can't even get it to work even if I set it to craft a regular ingame item. Im just putting the data pack folder in modrinth and running it, could that be the reason?
Yes, datapacks should go in the datapacks folder of your world’s save
@@100percentmeep After some more testing... that worked! Also is there a reason my item's name is showing up italicized?
Yay! Glad it works! Did you use the custom name component? That makes text italics by default. The item name component doesn’t
is it possible to make the custom recipe for a Custom item with enchants?
Yes! Using the enchantments component you can add enchantments to your custom item
Hi hi! I have a question: Can I make a custom smithing recipe where the template is a music disc with a custom model data? or can I not use specific NBT tags for the ingredients?
Hey there! Unfortunately you can only have custom items as output, not input. It’ll see any input as the base item. So no, I’m afraid you can’t do that
@100percentmeep well I'll have to find another way to do something then. Still an amazing tutorial though 🙏
do you know how to make the item name green and bold and stuff??
MCStacker is a great resource for putting custom items together. You can use it to generate a /give command (with a coloured item name) and then copy item name component into your recipe. I hope this helps!
@@100percentmeep what part of it do i copy and to where?
@WillStuff1111 you copy the part after “item_name=“ to the item name field in misode
how do you make a recipe with a custom modeled item in the recipe
With in the recipe, do you mean as input or output? You can’t really use custom items as input, it will register as its original item. As output, if you want it to have a custom model, you can use the item model component. Check out my latest tutorial for more info on that
Hi, can u makea video explaning how to create a Custom Model Data?
Hello! Do you mean how to set up a resourcepack to have items with custom model data? I can look into making a tutorial for that, yea.
@@100percentmeep yeah, I already create a datapack for previous versions of the game but I’m very confuse in this new version of the game
So you’ve already got the resourcepack set up and are trying to add custom model data to your item? Am I getting that right? If so you can check out my tutorial where I explain item components from my tutorial playlist.
If I didn’t get that right, I’m still looking into creating a tutorial for setting up a resourcepack 😃
I would be grate if you can do it, sorry for the inconvenience
No worries at all. I’d be happy to do it. Just to let you know, I’m working on a bunch of content at the moment so it might be a couple of weeks before I get to this tutorial. Hope you understand and hope to see you there!
hello, can i have the name of the app u use in part "setting up", good video btw =D
Hey! I use VSCode to create datapacks. Thanks for your question, I’m glad you like my video 😃
@@100percentmeep thank
I have a question is it supposed to be a .zip or a folder when you put it in the “datapack” folder?
When I put it in it doesn’t work for some reason?
No it’s not supposed to be a zip file. Recipes are kind of finicky, it’s easy to make mistakes. If the recipe doesn’t show up you might want to double check everything
@@100percentmeep BTW what is the difference between custom model data and custom data?
Custom model data is for when you want to add a custom model or texture like the banjo. Custom data is can be pretty much anything. Minecraft itself doesn’t use it but for datapacks it’s a great way to differentiate items
Is it possible to add custom data to the items used in the recipe? I'm looking to use a custom item to craft other custom items but I don't think I have many great options
Unfortunately you can’t use custom items as input for crafting recipes, only as output. I hope Mojang adds that at some point, that would be so epic!
@@100percentmeep oh, its probably fine lol. I can just try and utilize as many items with no crafting recipe as possible and add them. I also have another quick question (hope I'm not bothering you) but is it possible to make custom brewing stand recipes?
I thought it was, but I just checked misode and they don’t list an option for it in their recipe generator so I think it’s not possible to make custom crafting recipes for potions in the brewing stand
@@100percentmeep Oh well, Ig im going to have to think of some weird way to of custom potion making lol. Thanks for the help!
Tutorial was great… I think…
But somehow it doesn’t work (at least not for 1.21.4 (I also changed the packformst to 61, but the receipe does not show up in Minecraft 🥺)
Hey there! In 1.21.4 item models have changed. If your output item has the item_model component, you’ll have to update your resourcepack. If your output item has the custom_model_data component you’ll need to change it to a new format (and also update your resourcepack). I’m planning on making a tutorial on that soon. For now the 1.21.4 changelog should have the info you need.
This is of course all assuming your item uses a custom model. If not we can look further for other issues. Let me know how it goes!
@
Uh…🤔 No actually I made just a datapack to craft invisible Item Frames and lightblocks.
But it can wait.☺️
I‘m really looking forward to the new video then and hopefully it will help. ❤️
My upcoming video will mostly focus on item models. I assumed you had issues with that because that’s a breaking change in 1.21.4.
I’m going to make another assumption though. I’m assuming you’re giving your invisible item frame a tag that when placed, instead of spawning a regular item frame, it spawns an invisible one?
I don’t think your issue has to do with the update. Crafting recipes are unfortunately very finicky as you need to get everything just right or it won’t show up. Is it possible that you made a typo, syntax is wrong or file name has invalid characters? Can you confirm that it works in earlier versions? There’s unfortunately a lot to figure out here
@ I will see, thank you very much.❤️
do you knowhow this will work for aternos? I tried uploading it on datapacks and it won't work
I don’t know about the aternos datapack upload feature so I can’t really say anything to that. Datapacks run inside your Minecraft world in the datapacks folder. If you put your datapack in that folder and then upload your world to your server, it should work
@@100percentmeep yeah.. that's what I did.. after downloading I immediatley uploaded it
And it still doesn’t work?
@@100percentmeep nope, even tried restarting the server twice, I even did /datapacks to see if it's working
Can you confirm your datapack is working in singleplayer?
bro im so confused when you start doing the (setting up your data pack) part. i need help from the start od that part please!
Alright, let’s figure this out. Did you grab the resourcepack template from my Patreon (free, link in description)? If you download and open it, you should see a folder called “assets”, in there should be a folder called “template”. This is the namespace we’re using for our resourcepack and you can rename it to almost anything as long as it’s lowercase and doesn’t have spaces, but you can also leave it as “template”. In the tutorial, inside that folder, we created a folder named “recipe” this is where you drop the recipe.json you created in misode. Let me know if you’re still having trouble!
@@100percentmeep i have the template folder now and i see the assets and i see the template inside the assets but then what do i do im confused after that?
Open up the template folder and create a new folder called “recipe”. Once you’ve done that you can drag and drop your recipe.json into your newly created recipe folder
@@100percentmeep resourcepack template or datapack template???
Reading this back I think I had them confused 😅. Yea, it’s supposed to be the datapack template where you should put the custom recipe. Which also has a folder named “data” instead of “assets”. Thanks for catching that!
hi! i've been searching up multiple toutorials for this topic but i still can't get it to work. i tried out several templates (minecraft recognizes the datapack just fine) but the recepies i created don't seem to work. i copied them from the website you showed in the video, tried out complex as well as simple recipes but nothing. the folder is named correctly, the code is written in JSON-Files, i chose the correct version (1.21) on the website, ingame and for the templates i tried but it does not work. and yes, i did enable and reload the datapack ingame, even restarted the game at one point. this is my second attempt of getting into minecraft datapacks but i couldn't get anything done on my last try several months ago. don't want that to repeat itself again
Hey Grimm, I’m sorry to hear you’re having so much trouble with your datapack. Reading through your comment I feel like you’ve really tried all the debugging tricks. If Minecraft recognises your datapack and you’ve double checked that everything is in the right place and your JSON is correct too, then I don’t really know what could be wrong. Just to make sure, your recipes folder is called “recipe” (singular) and not “recipes” (plural)? I’ve seen some people have issues with that.
What you could try (if you haven’t already) is downloading my datapack template from my Patreon (free, link in description). I know my template works. Could you try creating a “recipe” folder in the “template” folder and dropping your JSON in there? Just to see if that makes a difference. If it doesn’t there’s a good chance there may be something wrong with your JSON. If not, we’re going to try something else
@@100percentmeep thank you for replying so fast! sadly, your template also didn't work for me but i have one last idea. i will try to download a complete datapack with custom recipes and compare it with my own. hopefully i can get at least something to work. anyways, i will definately come back for your toutorials, they are really easy to follow. i seem to have a problem that is either rare or extremely stupid xD
@@Grimm_12 that’s a really clever idea! Something I should honestly do more often! 😂 I hope it works out!
@@100percentmeep it actually did. i still don't know what the issue was but after importing a recipe that actually worked, all the others started working too. seems really wierd but i won't question it now. all that counts is, that i can now craft my knockback sticks xD
That’s really strange indeed! Oh well, I’m really glad it works now! I hope this didn’t scare you too much to keep you from making datapacks in the future 😅
I have this small problem and I don't know how to fix it. The first recipe worked great! But when adding another recipe to the folder it doesnt show up.... What could be the problem?
Could be a bunch of things. What I like to do to try is remove everything custom about the output (so that basically you’re not crafting a custom item) and see if that shows up, from there you can add the components again one by one and see if any of those are responsible for breaking it. Good luck!
@@100percentmeep So before I only had 1 recipe which worked. If I edit it by for example changing an iron ingot into a gold ingot it works. But if i copy the same recipe and change it it stops working and doesnt show up... Same with new recipes. Even tho they should work, they just don't appear.
Just to clarify, you have a copy of a recipe that works, you’ve changed the output item and it doesn’t work? If that’s the case I think it might have to do with Minecraft overriding one of the recipes. I don’t think you can have the same recipe for different items
@@100percentmeep Thats not really what I mean, I'm not sure how to explain it honestly. I have a recipe for a katana and it worked perfectly. I can modify its crafting and it updates and still works. But when I copy the katana recipe and change the copied one, the recipe doesnt show up (even when I delete do original one) Also any other recipe doesn't work even though I'm sure there aren't any mistakes in the code for them. I hope I explained it better this time lmao
EDIT: after some checking it looks like the data pack only accepts json files named iron_katana.json and when i change the name it stops working
you are best
Aww thank you!
Hi! Nice video, you explain everything so smoothly but I don't know what i did wrong on my end. I saved the json file from vscode and uploaded the json file. It seems to not work and I'm just guessing its because of the server hosting website i use. Could use some help on this. 😅😅
I recommend working locally when developing and testing data packs. That way you can be sure it’s not your hosting provider. Try to upload it after you’ve confirmed that it works. If after that it still doesn’t work on your server, I recommend checking your hosts support pages. Good luck!
@@100percentmeep Do I need to use a JDK to upload it to the server once tested?
@@100percentmeep Also, I'm a bit confused on what file to upload. Do we upload the json file consisting of the code for the recipe or the entire zip file into the datapacks folder?
For the JDK I would always recommend your hosts support page for that information. You will need to upload the entire data pack into the datapacks folder though. Also, and don’t quote me on this because I’m not entirely sure and I always get this confused but it’s worth testing, you may need to unzip it once uploaded.
And again I recommend working locally before uploading your work to your server. Datapacks are part of a world. I’d recommend working on the world, and the datapacks, locally and, once ready, uploading the world as a whole if you have that option.
@@100percentmeep Alright, thanks a lot!
It works in singleplayer but not on a Server. Can anybody help please?
That’s weird. Since datapacks live inside the world folder, it shouldn’t matter whether you’re in singleplayer or on a server. Can you double check by uploading a copy of your singleplayer world to your server and testing again?
does this work on servers??and it is showing me to take premium for custom crafting recepise
i use a prism louncher how do i put it in?
Good question! Minecraft itself has the solution. When opening Minecraft, in the singleplayer world selection screen, select your world (don’t go in it, just select it). At the bottom there should be a button “open world folder”. From there you can drop datapacks into the datapacks folder.
@@100percentmeep Thank you so much for your help and quick response
But how do I set so it is pulling the right texture?
You can use custom_model_data to give it a custom texture. You need a resource pack for that though. There are a bunch of tutorials explaining that on TH-cam, though most of them are outdated. I’m planning to do a tutorial for it, but irl is keeping me busy so probably won’t be for a couple of weeks.
@@100percentmeep Allright, ty for info
i cannot believe i got psyched out by the damn recipes -> recipe rename thing. I've been trying to fix my datapack for a couple hours :/
Kind of annoying they changed it, but it makes things more consistent I guess. Did you get it working now?
@@100percentmeep yeah the recipes are coming up. I'm now jsut wrestling with the components. For some reason can't figure out how to change the colour of the item_name component other than setting the rarity component
@xanderridley-smith3613 Going of the top of my head here, but I think it might be along the lines of “[{‘text’:’Name of your Item’,’color’:’green’}]”. I’m not really sure, not near a computer to test. Let me know if it works!
@@100percentmeep damn, you saved me again! my quotes were wrong. what's weird about that is i got my format straight from the patch notes, and it worked as a command. lesson learned! thank you.
@xanderridley-smith3613 No worries! Glad I could help!
VSCode says that there are errors in the json file from misode. Can some one help me?
Not really without knowing what the errors are, I'm afraid. I've never had issues with files from Misode, have you edited it in any way?
@ I didn’t change anything in the file.
@@TheElri12 What errors are you getting?
@@100percentmeep the first curly bracket is red underlined and type, category, pattern, key and result are yellow underlined and the recipe doesn’t work in Minecraft. I also tested code from another website and this doesn’t work either.
Have you put the recipe in the recipe folder?
it doesnt work for me only component i have is glider
i removed all components and still doesnt work
So you also removed the glider component and it still doesn’t work? Have you checked that it’s in the right folder? Also they can’t have spaces or capital letters in their name
is this already broken in 1.21+? I can not get it to work
No, this should work in all versions of 1.21, even 1.21.4 which is set to release next week
@100percentmeep there seams to have been a tiny change in 1.21.3 but I got it to work
Glad you got it to work! Would you mind sharing what the change is? I’d love to know!
@100percentmeep I couldn't figure out what the difference was exactly. I think it was a directory issue. Might have just been my file architecture. Copied a template and got it to work just fine now. But if I can pinpoint a difference I'll show you
how do i make it have a custom texture am i missing something
You can add a custom texture to your custom model json
@@100percentmeep what
@@100percentmeep and is there a way to make this custom item be a recipe in another crafting
Yes! I have another tutorial for that in my channel. Feel free to check it out!
@@100percentmeep thanks, ill make sure to take a look!
can someone please help me it doesnt work and i dont know how to fix it
Are you on Minecraft 1.21.4 and giving it a custom model? If so they changed a lot about custom items and this method doesn’t work anymore. Check out my tutorial on adding custom item models in 1.21.4. There’s a link to the tutorials playlist in the description
@@100percentmeepThank you! I just rewatched your tutorial, and it worked perfectly this time. Your tutorials are always top-notch and incredibly helpful-you truly deserve more subscribers!
Aww thanks! I really appreciate the compliment! I’m glad you got it to work!
@@100percentmeep No problem, but I have one more question: how do I make a datapack with the commands from the banjo tutorial
I’ve got “a beginners’ guide to datapacks” on my channel in the tutorial playlist somewhere. It shows how to set up a datapack. Essentially the commands from the custom goat horn tutorial go into a function in your datapack. Though if you want goat horns to make a custom sound (which I’m assuming you’re asking), there’s a better way to do it now. I don’t have a tutorial for it as it’s experimental, but goat horns are data driven now. You can have it play a different sound with the instrument item component. The old method also still works, it’s just not as good.
i have a problem when i put the recipe in the recipe folder there are a lot of errors
Hey Primovr! That sounds annoying. What sort of errors are you getting? And where are you getting those?
@@100percentmeep Sorry I am responding so late, its the pattern that's giving me errors.
Oh that’s interesting, have you made it using Misode?
@@100percentmeep yes
Have you used valid characters? Letters will work
Idk if I’m just stupid but half the things he says I don’t understand or he doesn’t explain how to do it. Like what do you mean save??? There is no dedicated save button on my keyboard what button are you pushing??????? And it doesn’t show me the data pack folder where did you get those extra files from why is this tutorial so bad and why is it the only one there is???
Hey Hazord, I’m sorry to hear you’re having trouble with my tutorial. I try my best to make my tutorials as clear as possible. To save the file you can press ctrl+s (or cmd+s on Mac). As for the data pack folder, I’m using a program called VSCode to create and edit my data packs, VSCode shows files on the left side. I’ve used the data pack from a previous tutorial which I mentioned at the beginning of the video. Hope this helps! Feel free to reach out if you’re still unclear on some things
How long did you use your Computer? 1 Week? How did someone not already figured out that Ctrl + s is the "save" keybind for like 99.9% of Programs out there
I think your not understanding because this isn't a beginner data pack tutorial, the files your seeing are the basic constructs of a data pack.