Jump to content

  • Curse Sites
Become a Premium Member! Help
Latest News Article

Error with forge mcp mod


  • Please log in to reply
3 replies to this topic

#1

Rektar
    Rektar

    Coal Miner

  • Members
  • 121 posts

Posted 09 January 2013 - 10:01 PM

I'm making a mod called swordpicks using mcp, and forge, but it's crashing.



Crash Report:
Spoiler:

Code:
Spoiler:
Can someone help?
Spoiler:

Register or log in to remove.

#2

RedFoxy3

Posted 09 January 2013 - 10:27 PM

Why are you extending BaseMod?

Why are you using ModLoader functions?

Why do you have
private Item newItemPickaxe(int i, EnumToolMaterial toolDiamonds2) {
return null;
}

Why do you have ModLoader's getVersion and load()?


http://www.minecraft...i/Basic_Modding This should get you on the right track, and also, it's crashing at line 12.
This should be on the frontpage of every forum http://www.youtube.c...h?v=JmvCpR45LKA

#3

Rektar
    Rektar

    Coal Miner

  • Members
  • 121 posts

Posted 09 January 2013 - 10:47 PM

View PostRedFoxy3, on 09 January 2013 - 10:27 PM, said:

Why are you extending BaseMod?

Why are you using ModLoader functions?

Why do you have
private Item newItemPickaxe(int i, EnumToolMaterial toolDiamonds2) {
return null;
}

Why do you have ModLoader's getVersion and load()?


http://www.minecraft...i/Basic_Modding This should get you on the right track, and also, it's crashing at line 12.
I'm making a pickaxe...
Spoiler:

#4

wuffelleffuw
  • Minecraft: WuffelleffuW

Posted 09 January 2013 - 10:56 PM

I'm afraid there are quite a few things wrong with your code. Are you sure you're using Forge? Because this looks a lot like a ModLoader-mod. Maybe take another look into the tutorials section (http://www.minecraft...m/55-tutorials/) and look through a few more tutorials?