Hello and welcome to your second minecraft modeling tutorial in this video I’ll be showing you how to make a new item so let’s get started after you create your emerald or block let’s create an emerald item so put public static final item emerald item and that’s the name that it can be anything Equals new item emerald and now the item ID so we will put 500 then after that the only thing that you need to put is dot set item name and then let’s put emerald item and there you go you created your new item so now we need to Add the name and the texture we do not need to register it so now let’s just copy and paste this ad name I’m old item and just add that to just say emerald same thing for here emerald item and then chop block index and text it Needs to be dot icon index and then so this you put / GUI / item dot PNG and then we’ll put emerald item as the picture then you’re done with that next we need to create a new class called item emerald since we said that it needs To create a new item emerald so now that we’re here in our atom emerald file we need to extend item and for constructor we put public item emerald int I next we put super and then inside primers put I that’s all next we put max stack size Equals and then whatever we want the mac stack size to be so we’ll put 64 64 64 is the highest you can go so that should be it for our item file so that’s it for this tutorial i know is a short one but creating an item is real simple next Time we will look how to make a tool set so tune in next time ok so i’m back here in game i recompiled and just threw up a quick little sprite so as you can see this hour emerald item you can’t do anything with it right now but we’ll get To that later so i just want to show you that it does work if you did everything right it and yeah so see you guys in the next tutorial you Video Information
This video, titled ‘Minecraft Modding Tutorial 2- Creating a new item(modloader)’, was uploaded by Zac Wood on 2011-07-29 17:23:23. It has garnered views and [vid_likes] likes. The duration of the video is or seconds.