Jump to content

Recommended Posts

Posted

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

  :oAdvanced

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 :)

Posted

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.

width=105 height=12https://www.sugarsync.com/piv/D8135159_67366891_21351[/img]

 

width=209 height=19https://www.sugarsync.com/piv/D8135159_67366891_772852[/img]

Posted

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.

Posted

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 :P

  • 2 weeks later...
Posted

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)

Posted

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!!!!

Posted

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 :)

Posted

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.

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.