Elektrine lite

← Feed

@Traister101@lemmy.today

Post #1536142

2026-02-03 21:51 UTC

Congratulations you've discovered that Mojang used to ship the game after it was obfuscated! Java has nothing to do with the fact it's obfuscated that's on Mojangs end, for goofy "This'll allow us to sue people who copy our game" logic. NeoForge came out the gate with official mappings at runtime (non obfuscated using the offical names Mojang provides. Yes Mojang obfuscated the game and then gives us the names of stuff anyway...) and recently Mojang announced they are finally dropping obfuscation all together. Edit. To make sure this is totally clear the obfuscated names such as `class_5699.method_65313` is the actual class name and method name. The jar has a class named `class_5699` which Java loads and treats like any other class. Very goofy and annoying for modders since if you wanted a useful name you have to first decompile Minecraft, then change all the names, and then when you compile change all references to said names in your code back to their actual obfuscated nonsense.

Replies (1)

  • @skulblaka@sh.itjust.works 2026-02-04 04:11

    >Very goofy and annoying for modders since if you wanted a useful name you have to first decompile Minecraft, then change all the names, and then when you compile change all references to said names in your code back to their actual obfuscated nonsense. I expect this is what things like Forge were handling, right?

    Open ##1536152