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

Hey, I just started my first mod about two weeks ago, and I think I have another three weeks of work before I'm ready for an alpha release. Anyway, I see this in the console every time I run my client:

 

2013-08-03 23:52:13 [iNFO] [ForgeModLoader] Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation

 

I am aware that this isn't an error of any sort, and I am aware of what obfuscation means, so please have a little faith in me.

 

My question is does Forge do runtime deobfuscation? It matters to my mod, because I am doing some reflection, and I really don't want to compile my mod right now to test if it throws any exceptions. http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/package-summary.html (In case anyone doesn't know what reflection is)

 

I am aware that Access Transformers do even more than this, but they are a lot more work for me to learn about, and I would like to push the release as soon as possible since I go back to school next week. (Yes I intend to deploy Access Transformers later as part of a source clean-up)

 

Also, in case anyone is too curious why I need reflection, I am creating a flower pot interface for my mod (eventually doing an API) to add new flowers to the flower pot renderer, and reflection is the easiest way I know to strip the final modifier from the field in Block.

 

In summary, can I reference the non-obfuscated names in my code without worrying about major bugs and crashes?

  • Author

Thank you for the response, I figured when it specifically mentioned skipping the deobfuscation that it did. I just wanted to hear it from someone with a bit more experience with the API.

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.