Jump to content

Recommended Posts

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?

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.