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

Hello

 

I'm currently looking for way on how to replace and compile a Java file into a specific Jar.

The placement is easy, but to compile the Java file, you'd need access to the dependencies. Which I do not have.

Is there anyone out here who can tell me or even describe the way to do this?

The mod isn't open source either. The lotr mod is what I am talking about by the way, for anyone wondering.

Basically I want to add a certain piece of functionality to the mod by just changing a value.

 

Kind regards

  • Author

I tried that, but the deobfuscation of the actual mod doesn't correspond with the Forge code. The mod itself still uses the obfuscated ones I think as it's rather cryptic with methods like: p_155522 (something like that). Do you have an idea of what I did wrong?

 

Thanks

  • Author

I'm afraid I don't quite remember... I think I used JD-GUI as decompiler and deobfuscator, and now I see what I did wrong.. Jd-GUI is no deobfuscator, right?

 

Thanks for your patience.. :)

 

  • Author

It works!!!!

Thank you so much!

Only one thing though, the deobfuscation removed every cast from Object to the type needed.

Do you know by any chance how this comes? I think it's only that.

 

  • Author

Do you know what does?

It's way better than first, though.

 

Now only some type issues - should be easy to fix with some Intellij shortcut!

  • Author

The Forge version I'm currently using for this mod is 1.7.10.

I forgot to add, it's not just this class.

Pardon me for not expressing myself correctly.

Do you know how to fix the problems with the casting all at once?

 

Thanks for your patience

Guest
This topic is now closed to further replies.

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.