Hang on guys you mean full win here and today we are going to be doing a video following the last one which was custom armor and we are going to be doing a custom tools today alright so let’s get started first in item in it well actually before we do Anything with our change armor just the right spelling which won’t yet then we’re going to create a new section or tools we’re going to do public static final item and this one is going to be less sword underscore ruby it’s equal to new to sword and in here we’re Going to do tool under school they’re going to do Ruby and for sword to underscore Ruby and I think that’s it maybe there’s probably more what’s wrong yeah Larry I’m created that class yeah and we’re going to do the same for all of the tools and pickaxe on the sport Ruby people do new to Ruby and walk back at it thanks to Ruby and guys by the way I am going to be getting a new type and you might in fact by the time you’ve seen this I probably do actually have a new might because I am recording way in Advance right now so yeah that’s probably the reason so shovel X one more time get the last one and how to how to x2 shovel and shovel axe oh and that should be it so now we’re going to turn your package inside out objects or items a new package dot tools And in here we’re going to creating five classes so we’re going to do two sword and in interfaces we’re going to add I have model in superclass we’re going to browse for item sword and the next would add all this for us add the constructor I think we can extend out of it oh well it’s fine and just do that and then new string name in there yeah it would load oh oh it’s not responding well there you go do we need and by probably doing something wrong sound localized name – name scepter Registry name – name set creative tab – tutorial mod dots Oh what happened here my Eclipse being by slow today if you haven’t noticed tutorial more dots tutorial on what tab then down here when you to item in it dot item stopped add this I don’t know what’s happening here I don’t see a problem let’s do what am i doing I don’t know and I’m trying to fun yeah I’m trying to do it for my other mod because I’m so used to doing my other mod that I just naturally type out the stuff so we want this matter is zero So we don’t have any matter and ID is inventory because it’s an inventory item I’m still very unaware of why this it still has an error is fine don’t worry it’ll fix itself when we reload the clips it’s an eclipse error and what you want to do is you Basically want to copy this not paste it your name this tool pickaxe you want to paste it again to shovel you want to paste it again to hoe and you don’t want to do the axe because the axe is slightly different this is going to extend item pickaxe instead and for Shovel it’s going to an item a shovel and import make sure you import all of these by the way I’m just doing ctrl shift o so in Porton automatically and it’s item spade isn’t it for item the item spade not shovel wait yeah items paid to spade instead of shovel dance lord Yet the Saudis fixed itself now – and in here we’re just going to do a quick control shift oh yeah there you go we’ve now got a create our tool axe so let’s create class in op jet stop items tools extends item to implement I has model import these and we need to Add the yeah we need to add the register models method so there we go import tutorial mod I already had it in the thing so I didn’t have added myself because I couldn’t be bothered okay we need to add public acts string name to material material And then inside here we need to do super for the material and one more thing effective under Scott on will make this in a minute set unload close name to name set registry name to name set creative tab do tutorial mod dot store in my tab i to Minute dot items add this and we need to create another method here so public float get str vs. block and then in here we need item stack stack and I block state oh oh oh my block state state import those material material is equal to state dot get material return material is not Equal to material dot would wait I’ve got to find a key and I can never find that key and material is not equal to material dot marks and material is not equal to material dot fine and I know not and don’t mind question mark if I forget what the question mark means Super does get destroy speed stack and state hold on this dot efficiency and that’s it so now we need to create this effective on variable so let’s go up here let’s go private staff tick start it final set off of block effective on equal to o sets dots new half set new Hash set in here we need to do blocks blank locks start bookshelf there’s a few things you have to do in here block stop log block stop block to block start chest block start pumpkin locks don’t let pumpkin block start melon block blocks dot ladder locks dogs Wooden button weight wood wooden button one last thing blocks dot wooden pressure plate and then a semicolon at the end and make sure you import Java dot util dot set and not minecraft a block and that should be yet if you have any wood things from your material note from your Mod you want to add them into here so for example we would do block in it dot candy cane for example that’s just an example Ashley and Amanda is a few we are missing here so we need the fences but these are all individual things Oh no we have wood don’t we so we don’t need that and stairs yep fine sign now we shouldn’t need those Eva they’ve already be in here just save all of that and there you go that should be all of these done now we need to create Our two Ruby so this is pretty easy to do as it’s basically the same as our armor one it’s slightly different though so we have a public nine capitals though we have a public static final no not status final tool material to underscore Ruby it’s equal to M L per dot add tool Material to underscore Ruby I’m gonna have our harvest level as four which is better than diamond diamond it is free for would be much better we’re gonna have our durability as 1090 no let’s have it with 1500 let’s have our efficiency I’m just gonna say 5.0 F I Don’t know how good that is we’re gonna have our damage as 3.5 F and we’ll have our in charge ability as 19 battle dome and import tool material like that and that should be it this arrow should go away there you go all right now for our assets so first We’re going to go into our Lange file we’re going to go and create a new thing Under Armour and do tools and item dot to the Ruby I’m just war sword dot name equal to a ruby sword item dots Ruby and sport pickaxe dot name equal to V Pickaxe item dot Ruby underscore shovel dot name is equal to Ruby shovel item got Ruby underscore X dot name to the axe item dots Ruby under school ho mean equal to Ruby ho and there’s our sword pick up a shovel axe ho not the kind of ho you’re Probably thinking of right so we now need to actually create our what do you call that you know so we’re going to copy our dark apple going to paste and then to Ruby underscore sword we’ll do that one first just go ruby sword Ruby underscore sword and instead of generated it’s going to Be hand held and save and I think that should be fine wait yep that should be fine copy that paste Ruby under cool and under cork a cat pic at Ruby underscore shovel would be school acts movie shovel pickaxe home axe and we’re just going to change sword to axe the axe Shovel so now all you need to do is grab the textures that you’re going to want so that should be pretty simple you’ll probably need to actually go and create your textures luckily I already have mine I’ve made mine before I’m just grabbing them now yep and drag them into Not models textures items copy files close that up if we can if we now go into items I have I just need to rename them all I now go and run the game I just want to double check that I did do it that way around yes I did just before I check just in case I didn’t I think that’s it Look so guys I’m in the game I’m going to go into him and yes that will head so here are my tools I never even added the armor to this board how disgusting of me I mean let me just do that real quick that won’t take two seconds Wow I have the sword to know unless they work so first but first let’s get rid of this stupid Ruby stuff right now it’s grab ourselves some wood some stone shut some sand what else do we need Here they are oh my god there’s still loads left anyway guys if you didn’t enjoy this video please do be sure to smash her face in that like button subscribe we really enjoyed please do be sure to share it and yeah I’ll see you guys in The next vid d come on hurry up and die what you guys in the next video Video Information
This video, titled ‘Minecraft Modding 1.12.2 Tutorial – Episode 15 – Custom Tools’, was uploaded by TurtyWurty on 2019-02-13 16:15:56. It has garnered views and [vid_likes] likes. The duration of the video is or seconds.
Hey guys, TurtyWurty here, this is the last video with my old microphone and with me calling myself UME F0R TH3 W1N! After that …