Jump to content

Recommended Posts

Posted

Hello, I'm creating a new technical mod, like IC2/TE.

I have some coding completed (Items, Blocks, some Machines).

In Eclipse SDK the mod works fine, no problems there. But when I try recompile and re-obfuscate the source with MCP and I look to the reobf folder in mcp, there is folder minecraft with my mod files compiled, but only half of the mod is there ...

There are not tools, machines, and some TileEntities compiled. Only main files(Core,RecipeSheet) and two folders with Block and Item classes. When I try to start this mod(comprimed .zip) it crash everytimes. First was an error with my custom CreativeTab and next error is saying something about rock (Material.rock I think).

Thanks for every response. Sry for bad English.     Mar21

Check out my m2cAPI: http://pastebin.com/SJmjgdgK [WIP! If something doesnt work or you have a better resolution, write me a PM]

If you want to use my API please give me a Karma/Thank you

Sorry for some bad words ´cause I am not a walkin´ library!

Posted

No problem.

Recompiling log:

 

  Reveal hidden contents

Some of warning and the error I think is because I dont have completed one class... I´m trying to fix it.

 

Reobfuscating log:

 

  Reveal hidden contents

 

And finaly the error log from minecraft when I start the mod:

 

  Reveal hidden contents

 

Check out my m2cAPI: http://pastebin.com/SJmjgdgK [WIP! If something doesnt work or you have a better resolution, write me a PM]

If you want to use my API please give me a Karma/Thank you

Sorry for some bad words ´cause I am not a walkin´ library!

Posted
  On 6/17/2013 at 7:57 PM, dontrell94 said:

im going to say its when he states what material it is just off the top of my head

Well, yeah. It's crashing because half the classes are missing. Because that was one of those that didn't compile.

BEWARE OF GOD

---

Co-author of Pentachoron Labs' SBFP Tech.

Posted

You're returning the type int for icon from a register block code for starters.

 

  Quote
  return type int is not compatible with Icon

src\minecraft\net\minecraft\src\ModLoader.java:633: warning: [deprecation] regis

terBlock(Block) in GameRegistry has been deprecated

        GameRegistry.registerBlock(block);

I took over Hunting Traps Mod and work on helping the forge community as much as I can. View my work here: http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/wip-mods/1443756-1-7-2-1-6-4-1-5-2-1-4-7-hunting-traps-mod-v-0-4-0

Posted
  On 6/18/2013 at 1:09 AM, dontrell94 said:

You're returning the type int for icon from a register block code for starters.

 

  Quote
  return type int is not compatible with Icon

src\minecraft\net\minecraft\src\ModLoader.java:633: warning: [deprecation] regis

terBlock(Block) in GameRegistry has been deprecated

        GameRegistry.registerBlock(block);

That's a vanilla warning...

BEWARE OF GOD

---

Co-author of Pentachoron Labs' SBFP Tech.

Posted

Please use

[spoiler][/spoiler]

tags when posting GIANT error logs. It helps those of us who read the non-error log part of the post immensely.

 

 

I think you should try updating your forge before you do anything, as it seems MC is using deprecated methods...

 

And if it works in eclipse, it should work fine after you run recompile.bat and then reobfuscate.bat.

 

 

So, what would happen if I did push that shiny red button over there? ... Really? ... Can I try it? ... Damn.

Posted
  On 6/18/2013 at 1:55 AM, dontrell94 said:

strange....I don't remember ever getting it.... ???

There's about five or six warnings in vanilla/forge. They never have any effect. Although I don't think any of those are the aforementioned warnings, so, like my esteemed colleague says, update!

BEWARE OF GOD

---

Co-author of Pentachoron Labs' SBFP Tech.

Posted

OK, Thanks...

Sorry for no spoilers. I don't found the icon  ;)

I am going to try repair the code and I write there if something goes wrong.

 

/added

Thanks, very much. It worked perfectly. Closing this issue...

Check out my m2cAPI: http://pastebin.com/SJmjgdgK [WIP! If something doesnt work or you have a better resolution, write me a PM]

If you want to use my API please give me a Karma/Thank you

Sorry for some bad words ´cause I am not a walkin´ library!

Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

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