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.
I'd love to see the whole thing released, then better graphics produced so it everyone uses that instead of the crappy MS version.
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.'"
Those are pretty irrelevant. What I want is better API for mod-writers.
More interestingly: I heard news that there would be coming a version where you can add new mobs as JSON files.
Nobody in development will contribute to it.
Piece-meal, spoon fed open source? Is this a joke?
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.
Isn't Java practically open source by design? What has kept the unwashed masses from decompiling already?
It's the pieces that help move from the Java version towards the other versions.
If you can't see Microsoft's endgame here then you need your eyes checked.
It really should be the Infiniminer part, given that it was stolen and all and selling it as your own is against the law. Law that Microsoft lobbied hard for... after Bill Gates got pissed off with everyone copying software... after Bill Gates stole CP/M and used it in DOS.
Terasology is a much more visually appealing Minecraft, written in java, and Minetest is opensource, fast, ran on as little as a P3 with 512 megs of ram and a 128 meg Radeon 9600 @ 15-30 fps depending on view distance.
There are much better 'Minecraft' games out there, already open source, with plenty of mods available, multiplayer, and using far lower specs for far higher performance than Minecraft ever did.
Look into them, enjoy, ignore anything Microsoft produces you don't have to use at gunpoint.
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.
Just in time for Oracle to screw it all up and start charging for Java licences.
"Nine times out of ten, starting a fire is not the best way to solve the problem." - my wife
LIAAYF
Seriously? That is SO incredible! I can't believe it! The company has changed so much. This is earth shattering. Microsoft is clearly now only about open source. Heck, they've transformed so much, they now ARE open source. What an amazing development. I am dumbfounded. Bumfuzzled. This is so-o-o-o incredible!
(Sorry. Lost my /sarcasm tag).
You are intentionally avoiding the point.
If sales have not died down, then the condition has not been met.
I’m all for holding people accountable, but it sounds like you’re suggesting “the point” is that we should be upset at someone for NOT breaking their word. I cordially disagree and would like to suggest that you are intentionally being obtuse if you would suggest otherwise.
And Java... ugh!
Microsoft's endgame
Porting it to C#/.NET?
#naabhaprzrag, #sverubfr-000, #agi-fcbafberq, negvpyr[pynff*=' negvpyr-ary-'] { qvfcynl: abar !vzcbegnag; }
Would have been even better to open source the whole thing! The Pi edition is obviously welcome but is so old as to be off-putting for young coders. It would be like offering a free version of FIFA soccer that only has goalkeepers.
Porting it to C#/.NET?
I'm about 95% sure that they will do a complete rewrite in C#/.NET and offer it only for Windows and Xbox, eventually. And then do everything they can to absolutely kill the Java version, as it will represent competition.
"You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
It's just a very verbose language, a very verbose style, and a very verbose library API.
The functions you linked to can be be fully understood with a few quick glances, and are almost trivial. Are you seriously that easily overwhelmed?
Get back to me when you have been coding for 40 years, and your code resembles something from the latest CS / category theory papers, giving you more in one line, than an entire of the linked functions. E.g. fun stuff, like this: https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/lang.html
Maybe you should stay with your <100 lines Python scripts.