Thanos kiss and cowpen steer you are there but i am here let’s add some custom potion recipes to minecraft fortune fabric courses with advanced topics such as entities custom structures and three armor models linked in the description below oh right before it’s back and tell everyone in this tutorial we’re gonna be adding Custom potion recipes to minecraft now this will require once again some mixin so this is very interesting you’re actually going to need some mixing for this but you will see that it actually is very much easier than you might expect still so in our mixing package We’re going to make a new java class and specifically a new interface which is going to be called the brewing recipe registry mixen now this is going to mix the following class so we’re going to say mixin at mix near the brewing recipe registry dot class There you go and we’re just gonna add the static void and this is gonna be called the invoke register ocean oh making sure that we actually write this correctly register ocean recipe and this is going to have a three parameters the potion which is the Input this is the thing that we put at the bottom the item this is going to be the item that we well i mean put at the top and then we have the potion which is the output which is of course the thing that well we’re going to output Basically and then import this right here here we’re just going to throw a new assertion arrow now the reason why we’re doing this is because this should in theory never be called and i mean yeah pretty much if everything works correctly this should never be called we Also need to add the add invoker register ocean recipe there you go and that should pretty much be everything we need here now of course very important that we also add this to our mix and json right here so let’s actually copy the name here onto our Mixing json and this will be added to the normal mix and there you go and after we’ve done this we can now go into our potion to our mod potions and we’re gonna basically add this to the mod potions as well so after they are registered we basically just are gonna Add a private static void called register ocean recipes right here and here we’re just gonna say brewing recipe registrymixen dot invoke register recipe and then we’re going to say potions dot awkward more items dot let’s say let’s do the mithril ingot here in this case just for as an example and Then out comes the mod potions dot freeze potion there you go now we’re just calling this right here so we’re gonna say register potion recipes and that’s it that is it that is pretty much all we need to do here all of our potions and once again and then the Recipe here is created for all three types of potions lingering the throwing the splash potion and the normal potion as well yeah that’s actually how easy it can be but for completion’s sake let’s see if it works all right friendship’s back in minecraft so let’s just put this Down let’s add this and let’s put the mithril ingot here and you can see it’s already starting which is of course always a very good sign so some sort of recipe has been added now let’s hope that we’re not getting the uncraftable potion but we will actually get the Proper potion here you can see awkward potions of course are at the bottom here so let’s see and we get our freeze potions there they are so everything working exactly like you would expect them to and i mean that’s pretty much how easy it is to add custom Potion recipes to minecraft like always of course all of the code is available to you in the description below get a deposit or an individual gist as well but that would already be it for this tutorial right here i hope you found this useful and you’ll learn something New if you did i would very much appreciate a like and don’t forget to subscribe for more tutorials just like this one i also want to thank all of my lovely patreon supporters for supporting me and this channel it is very much appreciated and i’ll see you in the next tutorial so yeah Video Information
This video, titled ‘Minecraft 1.18.2 Fabric Modding | CUSTOM BREWING RECIPES’, was uploaded by Modding by Kaupenjoe on 2022-04-11 13:59:54. It has garnered 1694 views and 52 likes. The duration of the video is 00:04:01 or 241 seconds.
In this Minecraft Modding Tutorial, we add custom brewing recipes to Minecraft 1.18.2 using Fabric.
== MINECRAFT COURSES == ▶️ Learn Forge Modding with Minecraft 1.18: https://url.kaupenjoe.net/CourseForge118 * ▶️ Learn Fabric Modding with Minecraft 1.18: https://url.kaupenjoe.net/CourseFabric118 *
== ASSETS & DOWNLOAD LINKS == GitHub Repo: https://github.com/Tutorials-By-Kaupenjoe/Fabric-Tutorial-1.18.1/tree/41-brewingRecipe Gist: https://url.kaupenjoe.net/yt262/gist
== TIMESTAMPS == 0:00 Intro 0:40 Creating the BrewingRecipeRegistryMixin Class 2:03 Using the Custom Class to register new Potion Recipes 2:59 Demonstration 3:41 Outro
== TAKE A LOOK AT MY COURSES WITH COUPON CODES == ▶️ NEW Forge Modding with Minecraft 1.20.X: https://url.kaupenjoe.net/CourseForge120X ▶️ Learn Forge Modding with Minecraft 1.18: https://url.kaupenjoe.net/CourseForge118 * ▶️ Learn Fabric Modding with Minecraft 1.18: https://url.kaupenjoe.net/CourseFabric118 * ▶️ Complete and Roblox Lua Game Development: https://url.kaupenjoe.net/RobloxCoupon *
== 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.
== ADDITIONAL CREDITS == Outro Musik by Kevin MacLeod: “That’s a Wrap” Kevin MacLeod (incompetech.com) Licensed under Creative Commons: By Attribution 3.0 http://creativecommons.org/licenses/by/3.0
== AMAZON AFFILIATE LINKS == Amazon Referral [US]: https://url.kaupenjoe.net/amazonref/us * Amazon Referral [UK]: https://url.kaupenjoe.net/amazonref/uk * Amazon Referral [DE]: https://url.kaupenjoe.net/amazonref/de *
== 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