← Back to context

Comment by justinde

9 months ago

Web-based minecraft, when?

Only guessing, but I have a theory that Mojang considered that circa 2017 :D

In 2019 they released a web version of minecraft classic, as a quirky marketing thing for the game's anniversary. But what they released turned out to be built on my open-source voxel engine, and when I dug around their code I realized they'd yoinked my engine a solid two years earlier.

And the demo they released was probably not two year's of work, so my theory is that somebody at Mojang investigated the idea of minecraft-but-JS, and made a demo but then decided not to pursue it, and then later on it got recycled for the marketing demo. (which, annoyingly for me, they pretended was an old alpha build of Minecraft instead of a new thing built on open source.)

The demo is still live, though the multiplayer stopped working the same day it launched:

https://classic.minecraft.net/

  • Humorous postscript, btw: two months after Mojang forked my voxel engine, somebody left an anonymous "this is awful, you are a terrible programmer" comment on the engine repo.

    It's probably a total coincidence, but I like to imagine that the comment came from somebody at Mojang, and that my awful code is the reason why minecraft isn't a web app today :D

You used to be able to play Minecraft classic directly on minecraft.net

The full java version of the game was ported to webassembly/webgl a while ago. It's called eaglercraft: https://eaglercraft.com

  • Minor nit - "the full java version of an at-least 8 years old release" (which is necessarily missing -a lot- of what people would consider "Minecraft" these days.)

    • Minecraft these days is missing a lot of what people would consider "Minecraft" 8 years ago.

  • I don't get it - isn't this blatant copyright infringement? Seems like they're just running some kind of cracked Minecraft build with a JVM-in-JS layer or some such trickery?

    • yeah, it's JVM-to-wasm plus an lwjgl-to-webgl library plus various compression packed into a single .html file

Fun fact: one of the first versions of Minecraft (the "classic" one) was playable in a web browser. I actually did play it as a young teen and later thought I must have dreamt it, when I couldn't find it anywhere.