132
submitted 9 months ago by qaz@lemmy.world to c/opensource@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] Chewy7324@discuss.tchncs.de 9 points 9 months ago

Mojang/Microsoft actually releases obfuscation maps for Minecraft: Java since 2019. This maps the decompiled random class names to the official variable/class names used by Mojang devs.

In an effort to help make modding the game easier, we have decided to publish our game obfuscation maps with all future releases of the game, starting today. This means that anyone who is interested may deobfuscate the game and find their way around the code without needing to spend a few months figuring out what’s what. It is our hope that mod authors and mod framework authors use these files to augment their updating processes that they have today. These mappings will always be available, instantly and immediately as part of every newly released version. This does not, however, change the existing restrictions on what you may or may not do with our game code or assets. The links to the obfuscation mappings are included as part of the version manifest json, and may be automatically pulled for any given version.

https://www.minecraft.net/en-us/article/minecraft-snapshot-19w36a

As others have said, Java is pretty easy to decompile, so there were community maintained obfuscation maps before (huge amount of work).

[-] haui_lemmy@lemmy.giftedmc.com 4 points 9 months ago

Great addition! Thanks. So they did actually help with modding but only eventually it seems.

this post was submitted on 19 Jan 2024
132 points (94.6% liked)

Open Source

31133 readers
276 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 5 years ago
MODERATORS