News for hackers. Stuff that matters.
Re:Microsoft open sources parts of Minecraft: Java Edition by naikrovek on Saturday October 06, 2018 @10:20PM (#18158527)
The entire source of Minecraft has been available to mod authors for quite some time.
Re:Microsoft open sources parts of Minecraft: Java Edition by MertsA on Sunday October 07, 2018 @12:47AM (#18158887)
That's like saying everything is open source if you can write assembly. Minecraft only ever released binaries and they also went out of their way to use an obfuscator so all of the class and method names are garbage and change every update.
Re:Microsoft open sources parts of Minecraft: Java Edition by naikrovek on Sunday October 07, 2018 @02:35AM (#18159143)
They also released a modders kit which renamed all the classes and methods, producing source code which, when compiled again, produced Minecraft.
Re:Microsoft open sources parts of Minecraft: Java Edition by MertsA on Sunday October 07, 2018 @03:28AM (#18159287)
The Mod Coder Pack wasn't developed by Mojang. MCP is the work of the community to reverse engineer and deobfuscate Mojang's binaries. The whole point of creating the MCP in the first place was to get around Mojang's use of tools to break most Java decompilers and try and document and come up with sensible names for all of the classes.

If Mojang had simply compiled and released their game without obfuscating it first then there would be no point to the MCP in the first place.

Re:Microsoft open sources parts of Minecraft: Java Edition by naikrovek on Sunday October 07, 2018 @09:59PM (#18163654)
The person who created the MCP was hired by Mojang several years ago.

That person still releases the MCP with Mojang's blessing last I checked.

Re:Microsoft open sources parts of Minecraft: Java Edition by MertsA on Monday October 08, 2018 @12:47AM (#18164194)
That doesn't change the fact that Mojang didn't make MCP. If Searge didn't step up and do it there's no reason to believe that Mojang ever would have come up with something similar. Mojang promised for years and years that "the modding API will be released any time now" yet they haven't done anything to materially support the modding community other than to hire Searge and the Bukkit team.

I guess they finally have behavior packs like resource packs for Bedrock edition (used to be Minecraft PE) but that doesn't allow you to write any kind of turing complete code for custom behaviors. That's the closest they've come and all that lets you do is stuff like make pigs behave like a creeper and explode when the player gets too close.

To date it has been 8 YEARS literally the better part of a decade from when Mojang first announced that they were going to release a modding API and they still haven't done anything. Releasing these two libraries as open source is a nice gesture but that doesn't actually do anything for the modding community. The least they could do is just stop obfuscating their releases so that MCP isn't stuck doing a bunch of unnecessary work.

Re:Microsoft open sources parts of Minecraft: Java Edition by chii on Saturday October 06, 2018 @11:50PM (#18158751)
decompiling is not the same as releasing the source with a license.
Re:Microsoft open sources parts of Minecraft: Java Edition by naikrovek on Sunday October 07, 2018 @02:37AM (#18159150)
It didn't just decompile. It renamed all classes and methods and it included a source code usage license.