Let’s bring out the crafting table and let’s craft some custom recipes Minecraft modding courses with close to 100 topics ranging from Custom tools and armor to custom block entities all the way to custom mobs Linked In the description below oh right my friends are back in general once more and in This tutorial we’re going to be adding custom recipes to our mod over here and that’s going to be very interesting indeed if you have ever messed around with data packs then you might actually know a little bit about custom recipes in this case and they actually require a New folder in the resources and that’s going to be the following so right click new directory called Data instead of there we’ll make a new directory called tutorial mod or whatever your mod ID is and instead of there will make another directory called recipes making sure That we write this correctly has to be resources data tutorial mode recipes and then there are plenty of recipes to make but let’s start with an easy one and that is going to be a shapeless recipe where we put the sapphire block into the crafting grid into any of the different Slots and we will get out 9 Sapphire so in the recipes folder we’re going to create a new file that’s going to be a Json file again and that is going to be the sapphire underscore from underscore Sapphire underscore block data Json you notice that the name of this Json file Does not need to match any of the results and or ingredients that we put into it basically you can give the recipe Json files whatever name you desire as for the contents I will just quickly type them out and then we will take a look at them so first of all we Have a type it’s going to be Minecraft colon crafting underscore shapeless here in this case as this is a shapeless recipe we then have to define a category we’re just going to use the miscellaneous category here and then we have some ingredients now the ingredients here is a list seen by these Brackets over here and they contain Json objects this one seen by the curly brackets and this is going to be an item and the item here is tutorial mod colon Sapphire underscore block basically meaning that we have to put in a sapphire block anywhere into the crafting grid and then what are we Getting to get out well we get out a result over here and the result here is going to be another item that is tutorial model colon Sapphire and how many are we going to get out of this well exactly a count of nine there we go Now the Json files here are of course available to you in the GitHub repository Linked In the description below so you can basically double check and make sure that you’ve done everything correctly and basically compare with your own or they’re also fine for copying over that’s totally Okay just make sure to change what you need to change right in the item both the ingredients and the result yeah and with this one added we would literally be able to Simply put a sapphire block into the crafting grid beat three by three or two by two and we would get out 9 sapphires so that’s really cool but let’s get the reverse of this so basically making another recipe and that’s going to be the sapphire block from Sapphire not Json and what is this going to be that’s going to be a shaped recipe basically we’re going to give it A certain shape that we have to abide by and only then are we going to be allowed to craft this once again I’m going to type this out and then we will see so this time we’re going to have the type of Minecraft crafting underscore shaped should be fairly self-explanatory Inventory we’re going to do another category we’re just going to do this under miscellaneous as well that’s fine and then we have to define a pattern now the pattern is very interesting because it’s once again a list but this time it is a list of three strings and this Pattern right here represents the crafting grid so if I were to fill this up over here like this and this would be a three by three area as it includes C so if I were to remove this and and keep it as a space then what this would mean Is that we would have to fill the crafting grid all the way up except for the middle part over here so this would be akin to the furnace recipe for example but in our case I want to fill this completely up with the hashtag but we now have to Define what the hashtag Actually represents we do this with a key over here and this is going to be the hashtag key right here and this is going to be an item and then it’s of course tutorial mode colon Sapphire because we remember if we put 9 sapphire in here then we should get a sapphire Block and that’s the last thing that is the result over here and that is of course another item here in this case and that is going to be the tutorial model colon Sapphire underscore look awesome for the pattern you can of course Define multiple keys right so I Could for example do an S over here and then I could add another key call this s make sure the casing here is correct I believe that the casing here is important so we do have to do this and then for example I could say well that actually represents a Minecraft a stick Here in this case for example that would also work highly recommended to play around with this a little bit you will also see the vanilla recipes in just a moment vanilla recipes that’s a great segue because of course we now have a shape recipe with a pattern defined Right here and a shapeless recipe where we just put the ingredients inside of the crafting grid however you might ask Kyle but how about cooking in a campfire and how about smelting and how about blasting in a blast furnace or smithing or any other way that you might be able To craft how can I do this please tell me don’t worry I’m going to help you help yourself and the way that we’ll do this is we will expand the external libraries down here and we’re going to go down all the way to net Minecraft client extra 120.1 or whatever your Version might be and we want to take a look in the data folder Minecraft recipes and then behold this Glory as you can see every single vanilla recipe available for you to take a look at it doesn’t matter what it is I want to know stone cutting let’s take a look at it You put in cobbled deep slate you can get out chiseled deep slate and there’s a count of one and it is a Minecraft type stone cutting bam you just select this copy it over change the items and the results that’s it that’s all you need to do literally for every type of Recipe you have everything available right here that you basically are going to need what we will copy over is the copper Ingot from blasting raw copper anyone from smelting raw copper you’ll click on one and hold Ctrl and then click on the other both of the elements Are now selected and you can press Ctrl C to copy them we’ll just go back up to the recipes over here and then just paste them in now in this case we of course need to change the names so we click on this press shift F6 and then This is going to be the sapphire from blasting raw Sapphire here in this case awesome the other one similar is going to be Sapphire from smelting raw Sapphire awesome of course we need to change the interior of this as well the content right now this is going to be The group well that would should probably be sapphire in this case and the ingredient that we have to put into the blasting furnace is of course not raw copper but tutorial mode colon raw underscore Sapphire and what are we going to get out well tutorial mode Poland Sapphire awesome similar thing Happens in the smelting recipe you can see the difference here is literally just the type in this case and of course the cooking time as blasting is hugely faster so this is going to be a sapphire group again and once again we want to put in tutorial mod colon raw underscore Sapphire and what we want to get out of this is tutorial mode colon Sapphire absolutely awesome and that is literally all you need to do in the future we will see a way that makes this about a hundred times faster and about 28 times easier I would say it is an amazing Thing we’re going to look at data gen but like I said this is going to be in a future tutorial for the time being I want you to understand the Json file before you just put out a little bunch of code and then they get generated automatically so typing them out and or Copying them over changing the individual things that are inside of them make a lot of sense and I highly recommend you basically do it like that and a quick reminder again the external libraries literally have every single vanilla recipe so yeah you basically you can just look everything up one thing You will find in the recipes might be that it uses a tag instead of an item this is quite important we have not talked about tags just yet and we will in a future tutorial however for the time being if you copy one of those over Simply change from tag to item and then change it to your item and then it’s going to work no worries at all right and with that we have all of the recipes that we need so jump into the game and let’s craft something alright finds us Back in Minecraft and let’s just take a look put some coal in here put some raw Sapphire and there we go it starts smelting does it also start blasting and of course it starts blasting and if we’re going to make a sapphire block over here we’re gonna get it and if we Want to return this absolutely no worries nine sapphires gotten back including the sapphires that were blasted and also smelt it absolutely freaking fantastic a tiny quick addendum over here of course the category here determines what category this is going to be displayed in for the recipe book So just keep that in mind and then the group is just where it’s going to get grouped together into but that is it for this tutorial right here next time in this video we’ll be adding loot tables and our blocks are finally going to drop something I hope to see you there so Yeah Video Information
This video, titled ‘Forge Modding Tutorial – Minecraft 1.20: Custom Recipes | #4’, was uploaded by Modding by Kaupenjoe on 2023-07-12 14:59:51. It has garnered 2065 views and 78 likes. The duration of the video is 00:08:30 or 510 seconds.
In this Minecraft Modding Tutorial for Forge, we are adding a Recipes to Minecraft 1.20 :O
== MODDING COURSES == FORGE ▶️ https://url.kaupenjoe.net/CourseForge120X FABRIC ▶️ https://url.kaupenjoe.net/CourseFabric120X
== COMPATIBILITY == ▶️ Compatible with 1.20 & 1.20.1
== ASSETS & DOWNLOAD LINKS == GitHub Repo: https://github.com/Tutorials-By-Kaupenjoe/Forge-Tutorial-1.20.X/tree/4-recipes
== SUPPORT ME ON PATREON == ▶️ https://www.patreon.com/Kaupenjoe
== 25% OFF FOR GAMING SERVERS == ▶️ https://www.bisecthosting.com/Kaupenjoe
== TAKE A LOOK AT MY COURSES WITH COUPON CODES == ▶️ NEW Forge Modding with Minecraft 1.20.X: https://url.kaupenjoe.net/CourseForge120X ▶️ NEW Fabric Modding with Minecraft 1.20.X: https://url.kaupenjoe.net/CourseFabric120X ▶️ Complete and Roblox Lua Game Development: https://url.kaupenjoe.net/RobloxCoupon * ▶️ Learn Forge Modding with Minecraft 1.18: https://url.kaupenjoe.net/CourseForge118 * ▶️ Learn Fabric Modding with Minecraft 1.18: https://url.kaupenjoe.net/CourseFabric118 *
== SUPPORT ME ON PATREON == ▶️ https://www.patreon.com/Kaupenjoe
== SOCIALS == Discord: https://discord.com/invite/yqxykanpWf Personal Twitter: https://twitter.com/Kaupenjoe
Instagram: https://url.kaupenjoe.net/tutorials/instagram Facebook: https://url.kaupenjoe.net/tutorials/facebook Twitter: https://url.kaupenjoe.net/tutorials/twitter TikTok: https://url.kaupenjoe.net/tutorials/tiktok Written Tutorials: https://url.kaupenjoe.net/tutorials/blog
== LICENSE == Source Code is distributed under the MIT License. Additional Licenses for other assets can be seen below or in the accompanying CREDITS.txt on download.
== AFFILIATE DISCLAIMER == * Some of the links and other products that appear in the video description are from companies which I will earn an affiliate commission or referral bonus from or are my own products. This means that if you click on one of the product links, I’ll receive a small commission or additional kickback without any additional cost for you. This helps support the channel and allows me to continue to make videos. Thank you for the support!
== HASHTAGS == #Minecraft #MinecraftModding #MinecraftTutorial #Kaupenjoe