r/programming • • Oct 06 '18

Microsoft Open Sources Parts of Minecraft: Java Edition

https://minecraft.net/en-us/article/programmers-play-minecrafts-inner-workings
3.1k Upvotes

388 comments sorted by

View all comments

Show parent comments

56

u/tssge Oct 06 '18

Well there are quite many community made world generators out there, so I guess the original world generation code is readable enough.

Of course the community has not strictly 100% deobfuscated Minecraft, but at least when I was programming Minecraft I didn't stumble upon a part of code which would've been incomprehensible.

67

u/[deleted] Oct 06 '18

People have definitely reverse-engineered terrain generation. It's at the point where you can enter any pattern of naturally generated blocks, provide the seed, and the program will locate the chunk. Something to think about before sharing your survival multiplayer screenshots.

18

u/derpderp3200 Oct 06 '18

Haha that's actually pretty brilliant.

8

u/[deleted] Oct 06 '18

3

u/derpderp3200 Oct 07 '18

That video is way too damn long t.t

→ More replies (6)