Live data from Hacker News

Minecraft removing obfuscation in Java Edition

minecraft.net

181–190 of 478 posts

Re: Minecraft removing obfuscation in Java Edition

#181
post #165
post #137

Earlier quoted context omitted.

First time I have heard of object-oriented obfuscation. I get it, but in general I don't get the OO hate. It's all about the problem domain imo. I can't imagine building something like a graphics framework without some subtyping. Unfortunately, people often use crap examples for OO. The worst is probably employee, where employee and contractor are subtypes of worker, or some other chicanery like that. Of course in th…

I think the OO hatred comes from how academia and certain enterprise organisations for our industry picked it up and taught it like a religion. Molding an entire generation og developers who wrote some really horrible code because they were taught that abstractions were, always, correct. It obviously weren't so outside those institutions, the world slowly realized that abstractions were in many ways worse for cycloma…

> I think the OO hatred comes from how academia and certain enterprise organisations for our industry picked it up and taught it like a religion.

This, this, this. So much this.

Back when I was in uni, Sun had donated basically an entire lab of those computers terminals that you used to sign in to with a smart card (I forgot the name). In exchange, the uni agreed to teach all classes related to programming in Java, and to have the professors certify in Java (never mind the fact that nobody ever used that laboratory because the lab techs had no idea how to work with those terminals).

As a result of this, every class from algorithms, to software architecture felt like like a Java cult indoctrination. One of the professors actually said C was dead because Java was clearly superior.

Re: Minecraft removing obfuscation in Java Edition

#182
post #137

Earlier quoted context omitted.

More proof that you don't need the source code to modify software. Then again, Java has always been easy to decompile, and IMHO the biggest obstacle to understanding is the "object-oriented obfuscation" that's inherent in large codebases even when you have the original source.

First time I have heard of object-oriented obfuscation. I get it, but in general I don't get the OO hate. It's all about the problem domain imo. I can't imagine building something like a graphics framework without some subtyping. Unfortunately, people often use crap examples for OO. The worst is probably employee, where employee and contractor are subtypes of worker, or some other chicanery like that. Of course in th…

(Hi Andrew)

It's the misuse of OO constructs that gives it a bad name, almost always that is inheritance being overused/misused. Encapsulation and modularity are important for larger code bases, and polymorphism is useful for making code simpler, smaller and more understandable.

Maybe the extra long names in java also don't help too, along with the overuse/forced use of patterns? At least it's not Hungarian notation.

Re: Minecraft removing obfuscation in Java Edition

#183

The community obfuscation mappings unrestrictively licensed. The Microsoft ones are not. It's a trap.

But the whole point is there are no more mappings. I’m not sure what the trap is supposed to be?

Your mod uses variable name FooBar in ways Microsoft don't like, Microsoft sues you for copyright

before the judge would have to admit it was just coincident.

Re: Minecraft removing obfuscation in Java Edition

#185
post #75

Earlier quoted context omitted.

The sounds maybe, but the music? If there's one game whose music I always turn off instantly it's Minecraft. Touhou Youyoumu Minecraft ain't.

Interesting, I love Minecraft's music. I do listen to it intentionally outside of the game, but it's not quite the same as having it suddenly start up during gameplay. The first I heard of someone "obviously turning off the music" was, I kid you not, yesterday, and now I'm hearing it for a second time today. Would woulda thunk!

There are soundtracks I listen to outside of their games: Castlevania Symphony of the Night, Chrono Trigger, Shadowgate,... but Minecraft would be way near the end of the list. The music is too generic to be worth the attention, yet too present to work as ambiance. It kinda reminds me of Silent Hill's soundtrack.

Re: Minecraft removing obfuscation in Java Edition

#186

I much prefer just writing stuff for Luanti (formerly minetest). You can, pretty much, get the Minecraft experience by downloading mods. Or just use the VoxeLibre game mod. https://content.luanti.org/packages/Wuzzy/mineclone2/ The mods are written in lua and you can find the source code for most of them. One I like is Zoonami which turns the experience into a Pokemon like game. https://content.luanti.org/packages/isa…

does something like AllTheMods 10 exist for Luanti? Or Meatballcraft?

Re: Minecraft removing obfuscation in Java Edition

#187
post #180

It's extraordinary to me that Minecraft is both the game that has the most robust mod community out there and that the modders were working from obfuscated, decompiled Java binaries. With elaborate tooling to deobfuscate and then reobfuscate using the same mangled names. For over a decade! What dedication.

In 2004 I played an MMO game on a pirated server. The owner of the server somehow got a version of the server binary, and used a hex editor (!) to add new features to the binary over time. It's the closest I've ever see to someone literally being one of the hackers from Matrix, literally staring at hexadecimal and changing chars one at a time

That's a level of dedication that I have never devoted to anything in my life.

That's energy that could change the world if harnessed correctly.

Re: Minecraft removing obfuscation in Java Edition

#188

I wonder if they'll ever just open source the Java Edition on GitHub. People will buy Minecraft on every platform it is released on, just like Skyrim.

There's no reason for them not to. Open source launchers using the "honor system" for account verification are already established and normalized. It's trivial to just comment out that verification. The jars and assets are free to download from Microsoft's servers without needing an account. It's a trivial game to get without paying, so I don't see any downside for them to open source the engine.

Honestly, I would almost settle for Microsoft open sourcing the Minecraft Java back-end server at a minimum. This alone is long overdue. The massive fanbase could have started to maintain it in ways Microsoft could only fathom.

Re: Minecraft removing obfuscation in Java Edition

#189

I wonder if they'll ever just open source the Java Edition on GitHub. People will buy Minecraft on every platform it is released on, just like Skyrim.

Back in 2010 Notch promised > Once sales start dying and a minimum time has passed, I will release the game source code as some kind of open source. https://web.archive.org/web/20100301103851/http://www.minecr...

Notch has said a lot of things over the years. Many after the sale to Microsoft were not so great. Suddenly without purpose and more money than he would ever need in a life time, he found a new purpose that wasn't so great.

A lot of Qanon rants and other conspiracy things. Just goes to show you that some times it is best you don't get what you wish for.

Re: Minecraft removing obfuscation in Java Edition

#190

I wonder if they'll ever just open source the Java Edition on GitHub. People will buy Minecraft on every platform it is released on, just like Skyrim.

Back in 2010 Notch promised > Once sales start dying and a minimum time has passed, I will release the game source code as some kind of open source. https://web.archive.org/web/20100301103851/http://www.minecr...

Sales are still good though- right? It’s the no paid iOS game.
Post reply on HN