TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Microsoft open sources parts of Minecraft: Java Edition

536 点作者 aw1621107超过 6 年前

17 条评论

ssl232超过 6 年前
Of note is the Minecraft website from 2011 [1], where Markus Persson said: &quot;Once sales start dying and a minimum time has passed, I will release the game source code as some kind of open source. I&#x27;m not very happy with the draconian nature of (L)GPL, nor do I believe the other licenses have much merit other than to boost the egos of the original authors, so I might just possibly release it all as public domain.&quot;<p>[1] <a href="http:&#x2F;&#x2F;web.archive.org&#x2F;web&#x2F;20110920065648&#x2F;http:&#x2F;&#x2F;www.minecraft.net&#x2F;game" rel="nofollow">http:&#x2F;&#x2F;web.archive.org&#x2F;web&#x2F;20110920065648&#x2F;http:&#x2F;&#x2F;www.minecra...</a>
评论 #18157689 未加载
评论 #18158904 未加载
评论 #18157261 未加载
评论 #18160122 未加载
Sir_Cmpwn超过 6 年前
Two of the most boring parts of Minecraft, unfortunately. Both are something your average first year CS student could put together in a weekend or two.<p>If I can indulge in some self-promotion, I have written mountains of code which implements many of Minecraft&#x27;s behaviors down to the last detail, which may be a more interesting candidate for study:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;sircmpwn&#x2F;truecraft" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;sircmpwn&#x2F;truecraft</a><p>Seeing Balze3D open-sourced might end up being pretty cool, though.
评论 #18157427 未加载
评论 #18157400 未加载
评论 #18157087 未加载
评论 #18158287 未加载
评论 #18159174 未加载
评论 #18158241 未加载
评论 #18157098 未加载
评论 #18157358 未加载
评论 #18158526 未加载
评论 #18157698 未加载
评论 #18160075 未加载
aw1621107超过 6 年前
The code is being open-sourced as MIT-licensed libraries. The libraries mentioned in the article are Brigadier [0], a command parser and dispatcher, and Data Fixer Upper [1], which is used to migrate older chunk data to newer versions of Minecraft.<p>Apparently more libraries are in the pipeline to be open-sourced alone these two. One possibility is Blaze3D, which is a rewrite of the rendering engine that is planned on being included in Minecraft 1.14.<p><pre><code> [0]: https:&#x2F;&#x2F;github.com&#x2F;Mojang&#x2F;brigadier [1]: https:&#x2F;&#x2F;github.com&#x2F;Mojang&#x2F;DataFixerUpper</code></pre>
评论 #18157998 未加载
kccqzy超过 6 年前
As some who loves the lens library in Haskell, this makes me in awe:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;Mojang&#x2F;DataFixerUpper&#x2F;tree&#x2F;8b5f82ab78b30ff5813b3a7f3906cd3f4f732acf&#x2F;src&#x2F;main&#x2F;java&#x2F;com&#x2F;mojang&#x2F;datafixers&#x2F;optics" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Mojang&#x2F;DataFixerUpper&#x2F;tree&#x2F;8b5f82ab78b30f...</a><p>Profunctors, lenses, prisms, traversals… all there :)
评论 #18159600 未加载
brylie超过 6 年前
It would be really cool if Minecraft, Minetest [0], and Terasology [1] development communities could somehow join together to create a cross-compatibility between their games. There are a lot of open-source developers in those communities who can combine efforts take voxel gaming to new heights.<p>[0] <a href="https:&#x2F;&#x2F;minetest.net" rel="nofollow">https:&#x2F;&#x2F;minetest.net</a> [1] <a href="https:&#x2F;&#x2F;terasology.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;terasology.org&#x2F;</a>
评论 #18159545 未加载
Cogito超过 6 年前
Back when we were working on Bukkit, when Dinnerbone and the other three were aquihired? by Mojang, one of the main things they wanted to do was implement a proper modding interface into the game.<p>Lots of things conspired to make that not happen, undoubtably including feature creep (because it was going to be the official mod api, it had to be <i>correct</i> not just good), but it finally looks like they&#x27;re moving in that direction.
bredren超过 6 年前
Worked on a fairly major PvP minecraft community &#x2F; mod website at the start of this year. Minecraft PvP is sort of a competitive set of modifications that build out entire networked games. The games use normal minecraft concepts like item consumption. Almost all &quot;fighting&quot; is done with swords, with people clicking their mouse very fast.<p>All of the mods were based on 1.7.10, which is pretty far back, looks like 1.13.1 is the latest.<p>There are still a lot of young people playing minecraft PvP, particularly outside the US. But you could tell even then that Fortnite was eating up younger players.
Immortalin超过 6 年前
Minecraft&#x27;s deobfuscated source is publicly available for viewing for those who are interested through Minecraft&#x27;s Mod Coder&#x27;s Pack.
评论 #18157660 未加载
评论 #18157530 未加载
jarym超过 6 年前
I looked at DataFixerUpper - should I be surprised that there appears not to exist even a single test for this piece of engineering?<p>Boggles my mind that someone would engineer something so sophisticated and not write even a high-level test script of some kind.
评论 #18174387 未加载
grenoire超过 6 年前
This seems to only be the command engine itself, which by the way is the sorry excuse for modding support that Mojang put out after Notch&#x27;s promises. Not particularly exciting, but Blaze3D seems a little more interesting.
thx4allthestuff超过 6 年前
Thank you for your hard work. I&#x27;ve enjoyed countless hours meditating while chipping away at blocks that later went towards my castles. Anything further that you choose to release, I thank you again. And thank you for providing the venue to allow me to connect with my little brother, for that I can never repay you.
zarify超过 6 年前
Not really that surprising since there seems be a lot of focus on things like Minecraft Education Edition, which isn&#x27;t Java based.<p>(Which, as a teacher, I am finding a fantastic tool for both introductory programming and other topics)
axiometry超过 6 年前
Why did they choose to implement various functional programming concepts from scratch? Were there really no suitable preexisting implementations at the time?
travbrack超过 6 年前
What is something one could develop with this source code that would have been more difficult or impossible before?
jtl999超过 6 年前
Interesting, but how much of this has been reverse engineered from decompiling the Java classes already?
评论 #18158278 未加载
评论 #18157573 未加载
yuhong超过 6 年前
I remember BUILD 2015 when a Minecraft mod was used as a demo and the team complained.
Kenji超过 6 年前
Instead of open sourcing code, they should fix the Aquatic update. All Minecraft versions after 1.13 are literally unplayable for me (mid to high end gamer PC) due to freezes. Every 5 seconds, the game freezes for two seconds for me. Increasing RAM for the JVM was useless. After the update, the game needed more than 3GB of RAM when before it ran just fine on 1GB (I have 16GB of RAM so no problem there, but the game still freezes). I have never seen more broken updates except with Skype - which, now that I think about it, makes perfect sense, considering it&#x27;s also from Microsoft.<p>Why would I use their game library when they ship such incredibly broken updates?
评论 #18158576 未加载
评论 #18157774 未加载
评论 #18158627 未加载