Posted July 1, 201213 yr 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 Developing CocktailsMod
July 1, 201213 yr 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. 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]
July 1, 201213 yr Always useful! You might even think about putting them on the wiki (link above forum)? It has dedicated tutorial sections.
July 4, 201213 yr Author added block, block with meta, tool, recipes tutorials Developing CocktailsMod
July 4, 201213 yr 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? 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.
July 4, 201213 yr Author i add it when i understand the whole tree class from minecraft, because i dont want to add things i dont understand. Developing CocktailsMod
July 4, 201213 yr Okay, thank you for responding 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.
July 6, 201213 yr Um, you should add these to the wiki. They're really good. So, what would happen if I did push that shiny red button over there? ... Really? ... Can I try it? ... Damn.
July 8, 201213 yr Author i will add it when i am done with the most, because i rewrite them for the wiki Developing CocktailsMod
July 10, 201213 yr 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
July 19, 201213 yr 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)
July 19, 201213 yr 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!!!!
July 20, 201213 yr 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.
July 25, 201213 yr Author 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 Developing CocktailsMod
July 26, 201213 yr That would be nice. Then my plan for harvesting the power of lighting would work. (It's a kite launcher) So, what would happen if I did push that shiny red button over there? ... Really? ... Can I try it? ... Damn.
July 28, 201213 yr You should update your tutorials for Minecraft 1.3... when Forge comes out with it. http://calclavia.com/uploads/banner.png[/img]
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.