Jump to content

Recommended Posts

Posted

First off, your code is not Forge, it's ModLoader.

 

I don't wanna sound stupid or anything but i don't understand how my code is modloader? I got MCP setup with Forge and installed it with the 'Install.bat' I though that it was FML, when i start the 'startclient.bat' and 'startserver.bat' it says its running FML, just confused me a little :P i understand it says 'Modloader.' but i though it gets it from FML since i import it from here

 

What Darknesschaos said, plus:

 

ModLoader.addName(Knife,"Knife");
Knife.iconIndex = ModLoader.addOverride(...);
ModLoader.addRecipe(...)

 

Doing that with Forge looks like this:

 

LanguageRegistry.addName(Knife,"Knife");
GameRegistry.registerItem(Knife,"Knife");
Knife.iconIndex = //stuff I've forgotten since I moved away from 1.4.x
GameRegistry.addShapedRecipe(...)

 

ahha thank you Draco for the help :)

Posted

As a good rule of thumb that I've learned over the past 10 days of modding or so,

 

If it says "ModLoader" anywhere in a tutorial/guides example class files,

run.

I just realized that it would be awesome if there was a way to "like" someones post because you thought it was funny or something. Because that made me laugh.

Posted

As a good rule of thumb that I've learned over the past 10 days of modding or so,

 

If it says "ModLoader" anywhere in a tutorial/guides example class files,

run.

I just realized that it would be awesome if there was a way to "like" someones post because you thought it was funny or something. Because that made me laugh.

Posted

As a good rule of thumb that I've learned over the past 10 days of modding or so,

 

If it says "ModLoader" anywhere in a tutorial/guides example class files,

run.

I just realized that it would be awesome if there was a way to "like" someones post because you thought it was funny or something. Because that made me laugh.

 

Que?

Capture.png

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Posted

As a good rule of thumb that I've learned over the past 10 days of modding or so,

 

If it says "ModLoader" anywhere in a tutorial/guides example class files,

run.

I just realized that it would be awesome if there was a way to "like" someones post because you thought it was funny or something. Because that made me laugh.

 

Que?

Capture.png

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

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.