Hello hello hello everybody and welcome back to another minecraft modding tutorial for version 1.19 in this store we’re going to be covering tools uh tools are pretty simple so you know as i always say uh so let’s just let’s just get started with them shall we so Let’s first do the sword and then we’ll go through the others so we just want a registry object and instead of using an item we’re going to use the sword item and this will be example underscore sequel items don’t register i think you guys get the gist but we’ll go through nevertheless Uh example sword supplier a new sword item and if i remember correctly we’ll just put null there for all the second um and i think it’s something like this so we’ll just do that for a second then a new item.properties um dot tab tutorial mod dot tab okay fantastic So i actually got to remember what each of these are so this one okay that’s what i thought and this one okay so this integer here is the attack damage of the sword or what is its bonus attack damage from the base material which i’ll it’s hard to explain without showing you Um but i’m just gonna put like five in there it’s not really matter and then this one here this is a float for the attack speed um i’m just gonna put 3.5 i don’t really know what value that means i don’t know how that corresponds and we’ll leave this as no but now Then we’re going to do we’ll do the pickaxe next so call it static final registry object and we’ll do pickaxe item example let’s go pickaxe is equal items dot register pickaxe underscore what the hell no nope example i’m just gonna pick out there we go and a supplier of a new pickaxe item It’s actually okay there you go so i think this is the same thing so no we’ll go 2 and 3.5 f and then a new item.properties dot tab dot tab while i’m at it something i might do which will save us some time is create a method that just does this I know it seems kind of silly but i think it will be beneficial it’s just going to save us a little bit of time so let’s create a private static uh item.properties i’ll just call it props to keep it short turn new i’ve item.properties tab store remote dot tab and now I can just put in here props and i’m gonna do that for all of these well i’ve used it props props props there we go and once again that’ll be fine okay now let’s move on to we’ll do the shovel next so pirate static final registry object of supplier of a new Shovel item which is i’m not sure what it takes in show me intellij please uh two floats this time not sure what those are we’ll have look in a second no we don’t do that props okay okay and then we’ll go with the axe next so public static final registry object acts item Sample underscore x sql supplier of a new x item oh the help did do that i kind of hate how intellij doesn’t tell me for a few seconds okay two floats again We’ll leave those for for the moment we will come back to those don’t you worry and then finally am i missing something other than the home no that is all the things so then the hoe registry object and in here we just want to put your mum and then example underscore Your mum is equal items dot register example underscore your mum and then a supplier of a new your mum item you’re just going to take no zero zero props okay fantastic so we have the sword the pickaxe the shovel the axe and your mum right let’s go through these integers i Believe they’re all the exact same thing but i’m just gonna check so let’s come into here which goes super so it’s the um right yeah that’s fine but this one is the first flow this one second floor okay that’s what i thought so it’s the same thing on all of them so We can just do um five and three point five i think we can do that for all of them um it’s a safe thing to do maybe reduce the damage on these other ones so for example the hoe might be one the axe might be seven the shovel might be free and the Pickaxe might also be i don’t know i don’t know maybe like four i don’t know i’m just making up values here okay fantastic so now we do have this null argument which it doesn’t like um so let’s try and fix those so let’s create another subclass down here public static class Now i’m going to call this tears okay not not like crying okay we’re not crying today don’t worry not yet anyways we’ll get to that later um and all we want in here is a public static final tier i’m just going to call this example is equal to a new forge tier Thankfully forge has this for us so this first takes in the level so basically that’s the level of the tier so for example wood is zero stone is one iron is two diamond is three and every is four i think i got that right um yeah and Yeah because gold is the same as stone which is one so yeah that’s that’s right yep okay so this tier i mean it doesn’t really matter to be honest like to be completely honest it it doesn’t matter at least not for this tutorial you can Put it you know whatever you want it to be i’m just going to say it’s the same as iron i think that’s the easiest then we have just the durability um i i don’t even know how much iron has i’m gonna put 800 um that’s probably less than i don’t Know and then we have the speed at once again i don’t know exactly how this float reflects the actual speed i’m just going to put 1.5 then we have an attack damage bonus which i’m going to say is three and then we have the enchantment value so basically that’s how enchantable it Is once again you can look through the vanilla code to find out these values i believe um actually not sure where vanilla has their values i think it’s just i think they have a tears class as well if i go project and libraries so they have tears there and then these are the Vanilla tiers which you can look through if you want to look at those values of course i’m gonna say 350 for the enchantability and then what is it let’s have a look all right then it’s the tag key actually not sure what that is not gonna lie is that overridden from tier no Yes yes it is i have never seen that in my life okay um for now oh i do know what that is okay right we will leave that for a second and then it wants i believe a supplier of an ingredient yes indeed so for that we can just do a supplier Of ingredient dot of and what this supply of ingredient is is that’s the repair material so the material that’s used to repair it you can just give it if you don’t want it to be repairable um there is ingredient or empty which you can give it i’m going to give it Our example item so item init dot example item or else no i don’t want or else i just want to get okay anyways so yeah for the tag um basically what this is is if you remember in the previous tutorial if we come into our data minecraft tags blocks We had these here so needs iron tool needs stone tool it’s basically those right so that’s that’s what it is we currently don’t have one of these um but now i’m going to leave it as null and hope that’s fine i think it should be fine But we will have to see it’s only one way to find out i’m just going to indent these down a little bit so that we can see them a little bit better when we need to okay and now all we have to do instead of this null here say tears dot example Here’s just example please dot example tears dot example and here’s just example beautiful now the final thing we need to go ahead and do is the lang and the jsons and obviously the textures if you haven’t already done those let’s go resources let’s go assets let’s go lang let’s do the lang So item.tutorialmod dot example underscore sword example sort of item dutch tutorial more dot example i’m just got pickaxe put on oh i messed that one up what the hell don’t even know what i did there well i’m gonna go through and do these and i’ll back you for you once i’ve done those Okay there’s the landing done so now we can just do the item models so let’s just copy example item for this these are going to be slightly different so you have to have a look so basically instead of generated we want handheld not handheld and held there you go so Basically what that does is it means it’s held differently because swords and tools and stuff aren’t held the same as normal items it’s kind of hard to explain um you’ll see when we get in game basically what that does example sword and i’m just going to go Through and copy these for each of the items and there we go we finally finished with your mum so once you’ve done that you can go ahead and add your textures as you can see i’ve already added all of those and um that’s actually it let’s go ahead and Run i have a feeling that tag is going to cause us issues um we’ll see so i’ll see you guys in the game here we are so let’s go into our creative tab we have our sword we have our stuffs fantastic so let’s go and test out your mum Um i know your mum’s not that good but we can try she seems to work okay i mean she’s pretty fast fast worker what can i say what can i say um okay let’s go into survival maybe a bad idea during the day isn’t it god the slime is jarring Stop that let’s just turn the volume up that’d be better okay um let’s get let’s um give ourselves infinite regeneration because uh regeneration i’ll go to f5 okay and as you can see yeah these seem to work actually don’t know if those are considered logs or not i guess they probably are right Oh god get away get away get out of here get out of here it’s too many men um and if i break these yes that works it’s pretty slow um i honestly said it to a lot slower value than i realized you i don’t know those are i’m pretty new to 1.19 As in i haven’t played it at all um damn this is actually pretty damn slow isn’t it but yeah i mean it seems to work well i mean of course it works but um let’s test out the sword as well where’s that stupid bony man i’m gonna be over here somewhere where You at maybe i shouldn’t have completely muted the audio again let’s just cut the slime die idiot fantastic yeah it works so uh in a future story we will cover that tag thing um it’s not really appropriate for this tutorial though so we will do that later don’t don’t you worry people So yeah i hope you guys did find this tutorial useful if you did please do be sure to smash your face into that like button and subscribe if you really enjoyed please do be sure to share it as well and uh yeah i’ll see you guys in the next video good Ma the bye weird again Video Information
This video, titled ‘1.19 Minecraft Forge Modding Tutorial – Tools’, was uploaded by TurtyWurty on 2022-07-05 16:30:01. It has garnered 4980 views and 101 likes. The duration of the video is 00:18:16 or 1096 seconds.
Hello everyone, in this video we will be making our own set of tools including Swords, Pickaxes, Shovels, Axes and Your Mum!
In the next video we will be creating our first armor set! 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.19TutorialMod Trello: WIP