Microsoft Open Sources Parts of Minecraft's Java Code (kotaku.com.au)
Four years after Microsoft acquired Minecraft developer Mojang, the company has decided to open source some of Minecraft's Java code. According to Kotaku, Microsoft and Mojang released two parts of Minecraft's Java code in library form, so that "anyone can pick them up and use them in their own game," says Lead Engineer Nathan Adams. From the report: For now, there's just the two libraries: "Brigadier," a "command parser and dispatcher"; and "DataFixerUpper," designed for "incremental building, merging and optimization of data transformations ... [to convert] the game data for Minecraft: Java Edition between different versions of the game." While the news doesn't mean much for players, it will be a boon for interested programmers and developers, keen to see the guts of Minecraft. The plan is to open source more components in the future, though no time frame is specified. For now, if you want to check out Brigadier or DataFixerUpper, both can be found on Mojang's GitHub page.
Get back to me when the full sources have been released.
"You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
I'd love to see the whole thing released, then better graphics produced so it everyone uses that instead of the crappy MS version.
You can already have better graphics. Even without modding you can change out the shaders, for example, and the textures.
"You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
Minecraft sees so primitive and shallow compared to modded Minecraft.
They should really back up a truck full of money to the mod community and get some of that code added to the main code base.
The glacial pace of current development is stunting the game.
There is a rich deep world of play out there in the modded community.
She was like chocolate when she drank... semi-sweet at first and then increasingly bitter.
Last time I tried to decompile it, it turned out the code was obfuscated. You can decompile it, but that's the easy part.
All I want is a secure system where it's easy to do anything I want. Is that too much to ask ~~ Randall Munroe
These code bases have a serious issue with readability and maintainability. They seem to frequently write massive methods with deep nesting, and not even leaving some API or class documentation for posterity.
It's the kind of gobbledygook code that I only see from freshly-graduated programmers and in competitive coding puzzles. Mojang should spend a few days to set up some static code analyzing tool like SonarQube.