Jump to content

Recommended Posts

Posted

I'm a complete noob when it comes to MC modding but I'd consider myself good enough coder in general.

Today, just for fun, I tried to port HungerOverhaul to 1.6.4 and got a (small?) problem. The mod has full source available but depends on Pam's harvest craft and that one doesn't have either source or API. I've tried all sorts of things I could come up with to no result.

Initially I just added as an external lib (to get HC to compile) + added to mcp/jars/mods->


2013-10-25 19:36:22 [sEVERE] [ForgeModLoader] Caught exception from pamharvestcraft

java.lang.NoSuchFieldError: field_76254_j

    at assets.pamharvestcraft.BlockPamCrop.<init>(BlockPamCrop.java:44)

    at assets.pamharvestcraft.PamHarvestCraft.preInit(PamHarvestCraft.java:831)

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

    at java.lang.reflect.Method.invoke(Unknown Source)

....

I've tested HC with the same forge version as I'm using for developing and it loads up just fine. I guess it's erroring as it assumes obfuscated MC?

Next I tried to decompile it with both but it gets decompiled jd-gui and fernflower included in MCP but both caused HC to have a ton of problems as it was using obfuscated MC names. I tried to run BON and deobfuscate to srg but that didn't seem to help at all.

So, anyone has any idea how I might get it working?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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.

×
×
  • Create New...