Topic category: User side tutorials
This is my second tutorial! In this one, I'll teach you how to make a custom item. Like with making a custom block, create a texture for your item. If you don't know where to start, first decide what it should be. In this case, I'm going to make a sword. So I'll take the image of a Minecraft sword, and modify it. You can do this in the texture editor, or in a separate program. If you made it in a seperate program, upload it into MCreator, and then create the mod. For the purposes of this tutorial, you should plan on making a tool (pick, ax, sword, shovel)
To create the mod, you need to click on "New Mod" (this will be located on the main page of
MCreator). A subwindow will pop up. Type in the name of the mod file, select item and click next. This should bring you to a new window.
Once you are at the new window, Type in the name of the item in the "Name In GUI" slot. In the "Creative Menu Tab, select the menu you want it to be in. Set the stack size to 1. Set enchanitbility to anything between 5-10. Set "Max Item Use Duration" to 50. For "Type of Tool", set it to either 1, 1.5, or 2 (based on what kind of item it is). Set "Damage To Mob" to 1, unless it is a sword. Then, set it to 5. After that, click next.
For simplicity, skip this new page. Click next without doing anything else.
Now, you find the crafting/smelting window. In the top part, you see the crafting table GUI. Click on different areas in the GUI and select what should go there if you were to actually craft the item. The same thing with smelting, but at the bottom. Click next.
Now you find a new window, again, skip this by clicking next. This will take you to the main page of MCreator. Wait until the mod has finished compiling, then you can test it out.