Posted January 30, 20169 yr I need to have readable (not obf) names in standard (user) session so that I can write .txt scripts using them. Sadly that was not really possible with obfuscation so I made some wrappers for common code. After writing shitload of wrappers and almost-copied classes (e.g NBT) just to get "readable" names of methods/fields/classes during game, I got angry and decided to go other way. Why not write scripts in deobf format and then just translate it on-run. Sure, will take extra time and might even catch me off-guard with translation (but that is for me to deal with), but still - much prettier thing to do. Question: Does user-environment provide file with code translations? If not - Would shipping them within be reasonable? Where do I get them again? (idr directory). 1.7.10 is no longer supported by forge, you are on your own.
January 31, 20169 yr Only names of fields and methods should be translated. And into srg names, not obf ones. I also ran into the same issue few days ago, with user written java scripts on run time obfuscation. And i haven't found any answers. I was ready to ask here... But you were faster than me ... Check out my mods: BTAM Armor sets Avoid Exploding Creepers Tools compressor Anti Id Conflict Key bindings overhaul Colourfull blocks Invisi Zones
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.