Hello and welcome to your third minecraft mounting tutorial in this tutorial we will be creating a new tool set so let’s get started I’m just going to copy and paste emerald item when you name it emerald pick X and make a new item pick X once we want it to inherit All the properties of a pickaxe when you move the item ID up by one and make it a gnome tool material dot emerald emerald to what this enum cool material is as um what it does or I’ll just explain to it you later so if I not just put that and I’m gonna pick axe and let’s do this stuff there we go oh that’s good now we need to open up or enum tool material file as you can see is a bunch of stuff in here what this is is it tells minecraft the properties of tulsi we created emerald To which we’re about to create as you can see diamond is actually emerald in the code on what this is as it has the stuff like the speed it breaks things and the amount of uses it has the damage versus mobs and stuff like that so for Now we need to create emerald to so we put emerald to and then emerald to this stuff is as as you can see down here the format is the string into I and J and K and float or float f and Intel as you can see j is equal to the harvest level The harvest level is like you need a harvest level of 3 to mine obsidian and things like that max uses self-explanatory then F which would be the 8 f that’s the efficiency on the proper material what that means is like if its mining in or or stone it will go That much faster then the damage versus entity is how much it does versus Bob’s so let’s change this let’s change emerald to two then I’m really not sure what wait actually I’m pretty sure this is the ID of the enum and this is going to be the harvest Level so we’ll put this as two then this is the max uses so we will make it so it’s 750 and make it 7f and then the last thing it will be the same as iron so too there we go we created a new object in our enum tool material so I’ll Just cover this one more time are emerald to enum tool material object it will have the idea of 50 the harvest level will be two to one less than diamond so it cannot harvest obsidian it will have 750 max uses so that means after 750 uses the tour will break it Will mine at seven speed that’s one less and emerald one more than iron and it will do to damage versus mobs so let’s go back to our mod emerald file and as you can see it’s good so now what we have to do is create shovels and stick Things like that so we make emerald shovel and you can repeat with that oh actually in the game’s code shovel is called a spade so you need to put items spade and make sure to raise the ids every time so I’m going to do it off camera because It’s just boring to watch me sit here and do this so I’ll see you guys when I get back okay I am back and as you can see i created new items bump the idea by one and then i add textures and names for all of them so as you can see that Is all that you have to do to make a new tool set editing enum cool material isn’t very good though it’s not the best way to do it because enum tool material is a base class meaning that comes with minecraft you’re really not supposed to edit those because it makes them Incompatible with other mods most of the time so later we will make it so that we don’t have to edit enum tool material we can make our own enum tool so but that won’t be the next tutorial next tutorial we will be covering how to make a Crafting recipe so see you guys then and now i’m going to go make textures and test it in game okay so i am here in game and as you can see it worked i’m here all my tools the pickaxe and you see the works fine der Velde works fine Everything works work something nice see if it works on trees yes it does there’s no work yes it does and the sword it probably works i’m not going to bother testing it so the tools that works fine and there you go that is how to create another tool set you Video Information
This video, titled ‘Minecraft Modding Tutorial 3- Creating a new tool set(modloader)’, was uploaded by Zac Wood on 2011-07-29 18:25:35. It has garnered 712 views and 4 likes. The duration of the video is 00:07:11 or 431 seconds.