Jump to content

Recommended Posts

Posted

Ok, so I've read a ton of posts on this subject and the majority of ppl weren't using gradle to build their jars. I am using gradlew build from cmd line. The weird thing is that I have built jars before based on tutorials and they worked. I'm thinking it may be something to do with access transformers, but I'm not sure. I have confirmed that the minecraft/forge versions match up. Directory structure is correct. Basically it's saying that the method getExperiencePoints() doesn't exist. But it definitely does and at least the method that's being called inside my code is public. I make a call to set the private method in EntityPlayer accessible..so I do believe it should..crazy part is that it works from the eclipse "Run", but after compilation, it derps

 

Crash Report: crash-2015-05-07_15.34.14-client.txt

Jar File: MobXPDropMod-0.1.jar

 

Threw it up on GitHub so viewing the code is easier: https://github.com/p455w0rd/MobXPDropMod/tree/master

Posted

e = EntityLivingBase.class.getDeclaredMethod("getExperiencePoints", EntityPlayer.class);

 

That method does not exist in the obfuscated Minecraft code.

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

Does the method not exist because it is a client to server error or it doesn't exist in general?

I am not a cat. I know my profile picture is sexy and amazing beyond anything you could imagine but my cat like features only persist in my fierce eyes. I might be a cat.

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.