Foreign ladies and gentle ladies and welcome back to another Forge modding tutorial for Minecraft 1.20 and in this tutorial we’re going to be covering recipes so let’s just get started shall we so first thing we’re going to do is come into the first link in the description and that will once again be Misode.github.io forward slash recipe and as you can see this site proves super helpful for pretty much anything data orientated we want to do inside of modding and yeah it’s going to be super simple this tutorial so first we just pick the recipe type as you can see There’s a bunch of different types so we’re just going to start with crafting shaped you can specify a different group here if you want or create your own then we can give it a pattern so we can say a row one now I’m just going to do The our example helmet first so I’m going to say something like I’ll go e e and I’ll add another row and I’ll go e e and that will give us our helmet and then we can create the key for that so we can go key e and e will be first Equal to Minecraft stone but we actually want it to be tutorial mode sample underscore item and you see that’s an object or you can also give it a list as well or alternatively you can provide a tag that should be used for that key for example you might want to give it like Planks which means it’ll be able to use any different planks for that one but we don’t want that so I’m going to remove that let me just say a result so what result should this give well this should give tutorial mod example helmet and a count of one you can alternatively specify you Don’t have to specify a count of one by default it will just give a count of one anyways and then you can just go ahead copy paste copy that come into IntelliJ come into our resources folder come into Data inside of tutorial mod create a new directory For recipes and inside of here I can create a new file and I’m just going to call this example underscore helmet dot Json paste it in and boom we now have a recipe for our helmet for simple recipes like this I would generally just kind of create Them myself rather than using the UI so you know for example the example chest plate we can easily just change to example chest plate and we can easily say that it should be like this and create a new row eee and boom that’s an example chest plate then You can do the same for you know your leggings and etc etc I’m going to go ahead and I’m going to do that for all of the Armor All of the tools and I’ll be back with you once I have done those okay so I’ve done all of those next say We wanted to turn our block into nine of our item well we would say example item here as the result we’ll say nine of them now this time we’re going to want a shapeless recipe and we’re going to say the ingredient Oreo mode and on example underscore Block and boom that would be all you need for a shapeless recipe of crafting our example block into our example item so you might come into recipes and you might call this example unscore block to example underscore item dot Json that’s obviously quite a long name but you can call these recipes whatever You want it doesn’t have to be whatever the recipe outputs it’s just generally that’s kind of what you would do and then maybe we want to do the opposite so we want to turn our example item into our example block so we’ll come back to shaped and we would create a new pattern And we might go and say that e should be Oriole mod colon example and it’s got item and we’re converting that into example underscore block and we want encounter one so we just don’t specify account and boom if we come back into here we can create a new file example Underscore item unscore 2 and swipe example underscore plot and paste it in there and boom now maybe we want to make a smelting recipe for our ores so we would go to smelting and would create we would first say our ingredient is going to be tutorial mod Colon example underscore or now what you can actually do here is create a tag for your OS so let’s go ahead and do that so that we don’t have to create a recipe for each of our oars so we’ll go tutorial mod tags blocks you’ll see we already have but we want Tags forward slash items instead of blocks and in here we’ll create a new file and we’ll just call this example underscore or dot Json we’ll first say whether we want to replace which we’re just going to say false and then we’re going to say the values and we’re going To specify tutorial mod uh colon example underscore or we want tutorial mode hold on deep slate and for example underscore or and we want tutorial mode color never example or and also tutorial mode hold on end underscore example underscore or hopefully I typed those all correct But now if we come into the recipe we can say that our ingredient should be an item tag and it should be tutorial mode hold on example underscore or and that will now be the tag that is used and that will point to this specific tag that we just created inside Of items here so we’ll come back in here we’ll say that the result should be tutorial mode hold on example underscore item and then we can say a specific experience that should be used so maybe like 0.5 I don’t know exactly like what vanilla uses I Know a maybe a cooking time of 200. now if I just copy paste this in here we can actually set a preset that might be used so if we go iron ore for example I’m sure that exists you’ll see there’s actually two different recipes you have your blasting and you have the smelting So we’ll look at smelting you’ll see it uses actually 0.7 and 200 was correct the interesting thing here is that we actually can now copy this in for the first of all let’s copy this in so we’ll just create uh recipes we’ll say new file we’ll call this example underscore or underscore Two and it’s great example and it’s got item and of course smelting so obviously recipe names you can see are getting quite long that’s just kind of how it is but we can create the same one for blasting effective link so we’ll just say blasting and I assume that blasting Increases the experience and decreases the cooking time so let’s have a look let’s go blasting let’s go uh iron ingot from blasting iron ore and yeah it halves the cooking time we’ll say 100 instead of 200 so we just copy it we come back into IntelliJ and we go a new File example underscore or and we actually could instead do example or blasting.json right like that and actually do the same with this one that would shorten the name quite a lot if we did that so let’s just do that that’s a good idea example or smelting and boom Now you have your smelting recipes so let’s come back into here again let’s see what else can you do so you can do campfires you can do um smithing stuff with trims and whatever you can do stone cutting Etc I’m not going to go through all of these Of course and in the future we’ll create our own custom recipe types as well for our block entities for our machines and furnaces and whatever but for now these are all of the recipes you can do so we can now go ahead we can close that And we can go ahead and run the game and hopefully it should all work so if I place down crafting table furnace Blast Furnace since those are the ones we’re gonna want and first we’ll start with the basic recipes so we’ll first start with creating our item to block fairly Simple that works fine and block back to item also works fine foreign [Applause] [Applause] [Applause] [Applause] [Applause] foreign [Applause] And yeah that’s pretty much well that is it so obviously I hope you found it useful recipes are fairly simple but I just wanted to get them out of the way and done before everyone kept on asking about them uh if you liked obviously leave a like And subscribe so you can See when I next post if you had any problems obviously feel free to join my Discord server which is linked in the description down below yeah I’ll see you in the next tutorial good bye Video Information
This video, titled ‘1.20 Minecraft Forge Modding Tutorial – Recipes’, was uploaded by TurtyWurty on 2023-06-27 18:10:00. It has garnered 742 views and 25 likes. The duration of the video is 00:10:32 or 632 seconds.
In this video, I show you how to add custom crafting and smelting recipes to your mod
In the next tutorial, I will show you how to create your own entity, spawn egg, loot table and get it generating in the world. Remember, if you have any problems, please join the discord that is linked below!
Links: Patreon: https://www.patreon.com/turtywurty Discord: https://discord.gg/BAYB3A38wn Github: https://github.com/DaRealTurtyWurty/1.20-Tutorial-Mod
Resources: Recipe Creator: https://misode.github.io/recipe/
Chapters: 0:00 – Intro 0:20 – Shaped and Shapeless Recipes 4:55 – Smelting Recipes 5:25 – Tags for Recipes 6:05 – Finishing Smelting Recipe 7:50 – Blasting Recipes 9:00 – Testing 10:00 – Outro