Live data from Hacker News

Browsercraft: Java Minecraft in the browser

browsercraft.cheerpj.com

11–20 of 107 posts

Re: Browsercraft: Java Minecraft in the browser

#13
post #6

Huh, is Minecraft Java edition free now? I haven't played in a long time but I thought when you download the regular client you only get to play after signing in with an account that purchased the game, how is this thing just starting the game directly?

Nope, this is piracy. Which you may or may not consider a bad thing, but there will be lawyers in this person's future.

Re: Browsercraft: Java Minecraft in the browser

#15
post #6

Huh, is Minecraft Java edition free now? I haven't played in a long time but I thought when you download the regular client you only get to play after signing in with an account that purchased the game, how is this thing just starting the game directly?

You could always play Minecraft without an account. But you can't join most servers that enable authentication checks

Well yeah you could play without an account with a cracked launcher

Re: Browsercraft: Java Minecraft in the browser

#16
post #13
post #6

Huh, is Minecraft Java edition free now? I haven't played in a long time but I thought when you download the regular client you only get to play after signing in with an account that purchased the game, how is this thing just starting the game directly?

Nope, this is piracy. Which you may or may not consider a bad thing, but there will be lawyers in this person's future.

> Clicking the button below will download the client from mojang.com. By clicking it, you agree to the Minecraft EULA.

It's literally just downloading the client from https://piston-data.mojang.com/v1/objects/4a2fac7504182a97dc... where mojang makes it publicly available.

It's an older version so it's not linked on their website anymore, but you can find the same download link on the wiki: https://minecraft.wiki/w/Java_Edition_1.2.5

What makes you think they will have "lawyers in their future"?

Re: Browsercraft: Java Minecraft in the browser

#17
post #7
post #4

Earlier quoted context omitted.

Yep, the original Minecraft ran in the browser in a Java applet so this is particularly fun example. Though obviously there are significant security benefits to the JVM running within the browser's WASM sandbox instead of directly on the host.

> there are significant security benefits to the JVM running within the browser's WASM sandbox instead of directly on the host. The JVM originally also had the goal of providing a security boundary, and even had a relatively complicated permissions/security model enforced via call stack inspection. That security model was ultimately too complicated for developers to work with, but I don't think the sandbox itself was…

My recollection is that the SecurityManager was notorious for being relatively easy to work around. Definitely one of the common questions people had when working on the richer HTML5 APIs was "how is your sandboxing going to be more effective than the Java applet model, given that that's known to be full of holes?"

Re: Browsercraft: Java Minecraft in the browser

#19
post #14

Earlier quoted context omitted.

Why?

It's safe for the player, unsafe for the one hosting it, who risks prison time.

Downloading a publicly available jar (https://piston-data.mojang.com/v1/objects/4a2fac7504182a97dc...), that gets linked on the minecraft wiki (https://minecraft.wiki/w/Java_Edition_1.2.5) and running it unmodified is "risking prison time"?

Re: Browsercraft: Java Minecraft in the browser

#20
post #6

Huh, is Minecraft Java edition free now? I haven't played in a long time but I thought when you download the regular client you only get to play after signing in with an account that purchased the game, how is this thing just starting the game directly?

It's running minecraft 1.2.5 which was released in 2012, which mojang still makes available
Post reply on HN