Jump to content

Recommended Posts

Posted

I'm able to run my code in Eclipse with no problem, I've even made other mods with the same dev setup - so I know there's no problem there.  When I compile+obfuscate the mod and try to run the normal way I get the error shown below.

 

I've used both the recommended and latest version of Forge for 1.6.2.  Same thing.

 

Anyone have any ideas?  Thanks

 

I do have permission to use HarvestCraft code btw.

 

Line causing problem:

PamHarvestCraft.ediblerootItem = new ItemPamSeedFood(HarvestConfigurationHandler.ediblerootID, 1, 0.1F, 23).setUnlocalizedName("PamHarvestCraft:ediblerootItem");

 

Minecraft Crash Report

 

  Reveal hidden contents

 

 

Forge Log

http://pastebin.com/SP22UZQC

Posted

java.lang.NoSuchMethodError: assets.pamharvestcraft.ItemPamSeedFood.d(Ljava/lang/String;)Lnet/minecraft/item/Item;

at iguanaman.hungeroverhaul.IguanaFoodValues.Rebalance(IguanaFoodValues.java:766)

Looks like you're calling a SideOnly() function from the wrong side.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Posted

I thought so but only method on the line is setUNlocalisedName, which isn't client side only. 

 

Why would it say the method being called is 'd'?  MCP obfuscation issue?

Posted
  On 8/30/2013 at 9:52 AM, diesieben07 said:

Try using reobfuscate_srg instead of resobfuscate. Item.d is func_111206_d (not yet deobfuscated, that might screw the normal reobfuscator up, because FML deobfuscates at runtime. Whatever. :D)

Thank you so much :)

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.