Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

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

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.

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.

  • Author

DERP...i was calling the method via string, so the string wasn't obfuscated..specifically on line 42 of EntityLivingBaseHandler.java: https://github.com/p455w0rd/MobXPDropMod/blob/master/main/java/net/p455w0rd/mobxpdropmod/EntityLivingBaseHandler.java#L42 Just took me a min..sorry for wasting time and thanks for putting up with me

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...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.