Hello I’m dead seeker 512 and in this tutorial even though I’ve done this five times because every time than issues had then i’ll be showing you how to make all five of the tools yes not just one all five of them the pic x the axe the sword The shovel and the hoe and this time actually I think I’m alphabetizing thing just to be different from the other time so public so we are going to be adding the tubs items so item and make sure it is item it’s not going to be something Weird and then Tut and X public static Adam taught let’s huge yeah oh and then public static item wow this could be funny shovel sword and okay so if you do alphabetizing kind of put a story to it so you use an axe to kill the hoe then use the shovel to bury The hoe and then cops came up with you the swords I don’t know why they were have source but they came up to you with swords and so you went to prison and so after you went to prison you use the pickaxe to dig yourself out yes that is Exactly what happened wow I’m too imaginative today okay and now let’s just add the variables that were going to be containing I can’t talk while typing the ids for all these objects um it is Oh correct ok so now let’s add it in the configs singing then one two three four five the Also if you notice i change it to the item ids and block IDs just so it’s more readable and also put spaces in these and yeah so five then this needs to be x 0 shovel and then sore then it is big x and i guess i will change it from item To tool you okay and then we will proceed to change all of these two are various tools all right now that’s done oh I will go ahead and make the enum for the what it’s called it’s tool materials so it will be public static you know tool Material and then in all caps tutorial then equals enum helper dot add tool material and then the string or the name of it i will keep in caps and then the harvest level is the same s below where we had zeros would one as dome to as Well 0 is wood and whoever’s looking through it’s also gold oh and 3 is diamond so i will make this for just so it’s a little bit higher 1500 is diamond so I’ll make this 2000 the efficiency is how long it takes to break a block Diamonde is oh wow I just forgot it was 8 20 f or I guess it’s / that way it’s a little bit shorter ok so this no diamond is 8 so I will make this 10 that was a little bit shorter the damage is the Hearts if you want to do in hearts if you do six it’ll take off three hearts so if you do one it’ll take off half a heart so I will do six and then then chant ability 15 is 122 is gold think 10 is diamond and eight is iron and so I Will make this 22 just like gold and put a semicolon there and that’s how we make the num enum for the tool you know if you don’t know what an email is it’s kind of like a variable that you can make also if you don’t know what it is Then you should probably look at some Java tutorials it doesn’t really take that long to start learning and once you started learning its you find that it’s not that difficult par say I mean in general compared to like some of the lower level ones so private void add Nope set tool class and underneath here I will it will be minecraft no forge dot set to a class then the item then the tool it is so X and then the harvest level you want to do your enum dot get ours level then and to proceed to do this for all of Your things that way if you change it in one you want to do this that way if you change it in one place it changes it in all the places okay so actually I’m just going to copy and paste so next would be shovel and then it would be sword and Then it would be X remember the corresponding and let’s say to do that then go back up to your load method underneath here set tool class parenthesis semi-colon done then down and the register language about this both for a second registering Ridge and give all of them name so X 0 Shovel sword pickaxe x.o shovel sword pickaxe and then now that they all have names you can go ahead and add the recipe what you would do I’ll do it for the pic x dot just so I can clarify some things add recipe the new itemstack and then Tut you didn’t See that and 1 comma Y comma space sorry a space a space comma space a space comma single quotes I and then we’re like defining that I variable thing that we just did and we are setting that equal to tut item or at least I’m setting at this and then s or single Quotes s and then we are going to define that as item that stick yeah and semicolon there and almost done now we got instantiate all of the tools so i will do it in the load item I’ve already went ahead and made all of the textures as well I’m to now I’m in This okay so if you go to your Forge place oh man no no comments mcp source minecraft mods taught mod textures you see that there’s still only the blocks and items they’ve gone to the items you can see all these blocks now as you see like this Takacs over here and see how It’s all red all of these are all red I just did that like that you can highlight the part that’s got this CN color and then you can do like colored to alpha or colors and then color 12th I using and then the color you’re looking forward in order to make it to Where it has the same likeness and and yeah is a 3 3 e.b see be again that’s 3 3 e.b see be okay and that will make it completely clear I had to figure that out it was a pain it looked Brown otherwise like a brown transparency Color anyway tut acts then o.o shovel sword and pick X and then with all these you want to add a comma here and I’ll come on what can’t you really and then add our enum of course it’s going to give us a bunch of errors but this is fine because we Will fix that here in a second yeah whatever no I was just messing around ok so we of course have to rename these accordingly and shovel and now we gotta I’m just going to add it to the end of this that way it keeps them all really nice and together so X Ho with an O and not an eating and that shovel sword pick X and now let’s go through and make all these classes and so for this ax class it has to extend item X and then import that and add the constructor and then another thing you Want to grab or you can type it out your again but if you’ve already got the code why we type it is this so i will just copy and paste it over here it’s well if you didn’t see it just a second ago it’s that the twere grabs the icon icon and You don’t have to worry about actually saying oh it’s got to be 3d now it already does it because it’s in that particular thing so finish then this extends item how the Attic instructor get rid of that if you so choose then the next one is item Shovel finish and i will give you like 10 seconds to think which one this is extending one two three four five six seven eight nine ten okay so what you probably did was extends item shovel and then you try to import it but whenever you import it nothing happened well That’s because it’s not supposed to be shoveled it it’s supposed to be spayed and then when you import that it fixes that then you have to add the constructor and it’s just like everything else yeah it’s just making it to where that’s more obvious and then create the class finish then everything Else is fine then adding the constructor get ridding this and pasting that and now we got the pickaxe left and then extends I don’t pick X and then we have to add the constructor and then ctrl v should have to format it okay now what we have to do differently In this class is absolutely nothing yep we don’t have to do anything different save across the law all those fixes that did I add the set yep and am I forgetting anything got the one recipe has it names and that should we eat for this tutorial I will set up a world Oh In Minecraft and be back once that set up if i come back in Minecraft is not up then that means that there is an issue and so I will just yeah be back in a second as promised there was an issue I forgot to change these so yeah And that was the only issue i saw so i will now run minecraft and hopefully that issue is no longer well that an issue alright and yeah so first guess it didn’t really need to have that anyways I’m going to go to the crafting bench And I will proceed to craft that so I have that done and now yeah I have the tutorial pickaxe that already had now i will just go order from station I will do this and see how quickly it breaks those yeah ok now if i switch to the Pickaxe and because we set that block 24 only this pic x can break it and so it quickly breaks through all these no surprise and again I said 24 so I can break this even and it’s there now also with the ho yep and shovel let me go over here so don’t accidentally Fall in the hole and yep as you can see here it’s a really long way down but enough of that on for the truth test as soon as I get another one of those and then the diamond pickaxe okay so i will proceed to place that down again And I will 0 try to break it now I could just talk here senselessly and I got the careful button up might move my computer cuz if I hit the corded mic stop anyway uh yeah I currently sit here and talk senselessly but as you can see here it’s Kind of obvious by how long this is taking it’s not going to break the block at all well it broke the block but like it’s not going to yeah give anything so now if we use this pic x BAM it’s broken just see it’s obvious that all this it Works now it takes one hit to the cow crap and then two hits to kill the cow with this however was the sword it only takes one as soon as i get over there one hit and it’s dead alright so let’s see it of this tutorial i hope you liked It because i enjoyed making it if you want if it helped you at all please give it a like if it didn’t well then use the other button oh man it’s there for a reason if you want to see more by me please subscribe thank you and goodbye Orgonite or whatever time of day it is see you in the next tutorial which the next tutorial will be armor and after that tutorial i’ll be doing a live stream of putting all of what you’ve already learned in my previous tutorials and that’s it Video Information
This video, titled ‘Minecraft 1.5.1 Forge Modding Tutorial #9 | Creating Tools[OLD]’, was uploaded by DeathSeeker512 on 2013-04-18 11:20:57. It has garnered 963 views and 14 likes. The duration of the video is 00:24:53 or 1493 seconds.
In this tutorial I show you how to create all 5 of the tools: axe, hoe, shovel, sword, and the pickaxe. And I swear that I said bye before I stopped it…
My website: http://deathseeker512.weebly.com