Helfull Posted July 1, 2012 Posted July 1, 2012 hey everyone, Tutorials Twitter: @helfullsTutoria i am going to show and explainyou how to create mods with MinecraftForge. You need to get MCP and MinecraftForge. Installinstructions u can find here: MCP MinecraftForge Once you got Forge you are able to create mods with it since Forge has his own ModLoader. Your base file is the mod_XXX.java file normal it should look like this: package net.minecraft.src; import net.minecraft.src.forge.MinecraftForge; public class mod_XXX extends BaseMod { @Override public String getVersion() { return "YOUR MOD VERSION"; } @Override public void load() { } } All sourcecodes can be found here: https://github.com/Helfull/MinecraftForge-Modding-Tutorial/ Difficulty Easy Medium Hard Advanced List of Contents Creating porperties file Creating a Block Creating a Block with metedata Creating a Item - includes ITextureProvider Creating Recipes Creating a Tool Creating item which takes damage when used in recipe //Coming coon Creatinga Tree //Coming soon topic at minecraftforum.net (always up to date) greetz helfull Quote Developing CocktailsMod
Zero Posted July 1, 2012 Posted July 1, 2012 Ooo. I might learn a little something beyond ModLoader with these. It couldn't hurt to give these a whirl as I waiting for my next semester. I'll be sure to keep these pages bookmarked along with my other tutorials. Quote Check out my Texture Packs Thread here on the Forge Forum. Currently in the process of adding some mod support for JohnSmith Texture Pack. https://www.sugarsync.com/piv/D8135159_67366891_21351[/img] https://www.sugarsync.com/piv/D8135159_67366891_772852[/img]
OvermindDL1 Posted July 1, 2012 Posted July 1, 2012 Always useful! You might even think about putting them on the wiki (link above forum)? It has dedicated tutorial sections. Quote
Helfull Posted July 4, 2012 Author Posted July 4, 2012 added block, block with meta, tool, recipes tutorials Quote Developing CocktailsMod
hotrods20 Posted July 4, 2012 Posted July 4, 2012 I feel like I know how to make trees but I feel I need to read a tutorial on it. When will that one be added? Quote http://www.slothygaming.com/img/ota.png[/img] If your grammar is shit and you blatantly don't know what you're doing, I will not help you.
Helfull Posted July 4, 2012 Author Posted July 4, 2012 i add it when i understand the whole tree class from minecraft, because i dont want to add things i dont understand. Quote Developing CocktailsMod
hotrods20 Posted July 4, 2012 Posted July 4, 2012 Okay, thank you for responding Quote http://www.slothygaming.com/img/ota.png[/img] If your grammar is shit and you blatantly don't know what you're doing, I will not help you.
atrain99 Posted July 6, 2012 Posted July 6, 2012 Um, you should add these to the wiki. They're really good. Quote So, what would happen if I did push that shiny red button over there? ... Really? ... Can I try it? ... Damn.
Helfull Posted July 8, 2012 Author Posted July 8, 2012 i will add it when i am done with the most, because i rewrite them for the wiki Quote Developing CocktailsMod
Jerrbear616 Posted July 10, 2012 Posted July 10, 2012 If it would be okay for me to make a request, I have been dealing with gui's and such, and have been having a hard time grasping how TileEntities work, containers, and all that jazz. Would it be possible to come out with a tutorial on that? I have the basics of dealing with them down, however it would be nice to have a clear tutorial on how they work and such. Shout out to hotrods20 Quote
Wik3d Warrior Posted July 19, 2012 Posted July 19, 2012 Hey, i tried your block tutorial and i did everything correctly but this pops up: java.lang.IllegalArgumentException: Illegal object for naming null at cpw.mods.fml.client.FMLClientHandler.getObjectName(FMLClientHandler.java:817) at cpw.mods.fml.common.FMLCommonHandler.addNameForObject(FMLCommonHandler.java:469) at net.minecraft.src.ModLoader.addName(ModLoader.java:142) at net.minecraft.src.ModLoader.addName(ModLoader.java:130) at net.minecraft.src.tutorial.mod_mymod.addNames(mod_mymod.java:28) at net.minecraft.src.tutorial.mod_mymod.load(mod_mymod.java:19) at cpw.mods.fml.common.modloader.ModLoaderModContainer.init(ModLoaderModContainer.java:356) at cpw.mods.fml.common.Loader.modInit(Loader.java:273) at cpw.mods.fml.common.Loader.initializeMods(Loader.java:628) at cpw.mods.fml.client.FMLClientHandler.onLoadComplete(FMLClientHandler.java:223) at net.minecraft.client.Minecraft.startGame(Minecraft.java:429) at net.minecraft.client.Minecraft.run(Minecraft.java:738) at java.lang.Thread.run(Thread.java:680) Quote
Wik3d Warrior Posted July 19, 2012 Posted July 19, 2012 I did everything you di and made my own stuff and that didnt work, so i just copied everything you wrote into eclipse and then just edited names to my block names and it still didnt work. PLease Help, Im getting really frustrated because ive been all around the internet and this is the first legit one i saw but yea please help!!!! Quote
OvermindDL1 Posted July 20, 2012 Posted July 20, 2012 That error means that in your mod_mymod.java file, on line 28, you are trying to assign a name to something that is null. Make sure it is not null first. Quote
Helfull Posted July 25, 2012 Author Posted July 25, 2012 as OvermindDL1 already said, there is a NULL object where u try to name, it would be nice to see the code u used, it could be a rename misstake taht u misspelld it Quote Developing CocktailsMod
SystemMeltdown Posted July 26, 2012 Posted July 26, 2012 Do you think you could make a tutorial on how to make an custom bow? Quote
atrain99 Posted July 26, 2012 Posted July 26, 2012 That would be nice. Then my plan for harvesting the power of lighting would work. (It's a kite launcher) Quote So, what would happen if I did push that shiny red button over there? ... Really? ... Can I try it? ... Damn.
calclavia Posted July 28, 2012 Posted July 28, 2012 You should update your tutorials for Minecraft 1.3... when Forge comes out with it. Quote http://calclavia.com/uploads/banner.png[/img]
TheIsl4nder Posted July 31, 2012 Posted July 31, 2012 Thanks you ! Finally some serious and up to date tutorials for MC Forge. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.