Live data from Hacker News

Browsercraft: Java Minecraft in the browser

browsercraft.cheerpj.com

91–100 of 107 posts

Re: Browsercraft: Java Minecraft in the browser

#91

Hi everybody, happy to see our CheerpJ demo is appreciated. CheerpJ is a WebAssembly-based JVM that can run unmodified Java 8 and Java 11 applications. Java 17 will be supported later in year. I am the lead developer of CheerpJ and CTO of Leaning Technologies. AMA.

How much is the licensing for a small company wanting external users to use it to use an app hosted online?

Re: Browsercraft: Java Minecraft in the browser

#92
post #48

Earlier quoted context omitted.

Lawyers and judges care about the overall effect of a thing, not the technical steps you take to make it happen. The overall effect is: Someone goes to your website, and plays Minecraft for free. Therefore you gave them the service of playing Minecraft for free. Which is illegal. The fact that the file comes from Microsoft's server is one of those "technicalities" that you've heard about some people sometimes, but no…

Start with suing the minecraft wiki then I guess Also you should probably advice mojang to put some authentication on their download URLs, which have been publicly documented for more than a decade by now. There is no login prompt. This project is over a year old. You are just misinterpreting the situation. This is like threatening to sue Mozilla because you can use Firefox to click on a download button, or Microsoft…

... no, it is not like that, and I can't help you.

Re: Browsercraft: Java Minecraft in the browser

#94

Hi everybody, happy to see our CheerpJ demo is appreciated. CheerpJ is a WebAssembly-based JVM that can run unmodified Java 8 and Java 11 applications. Java 17 will be supported later in year. I am the lead developer of CheerpJ and CTO of Leaning Technologies. AMA.

How much is the licensing for a small company wanting external users to use it to use an app hosted online?

Small Business licenses will be available with the release of CheerpJ 4.0, expected in mid April 2025.

They will allow self-hosting and will be priced on a per application / per website basis. They will be priced to be affordable and ensure that CheerpJ enjoys a wide reach.

If you are interested before the release, please do get in touch (info@leaningtech.com).

Re: Browsercraft: Java Minecraft in the browser

#95
post #15

Earlier quoted context omitted.

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

At first, there was no launcher there was just the Minecraft.jar file which you could launch to start playing. That's what the parent page is doing; it's just having us download and run the game, no need for a launcher.

Yes. Downloading a game file you don't own and running it is called piracy, so beware of possible legal ramifications.

Re: Browsercraft: Java Minecraft in the browser

#96
post #63

Earlier quoted context omitted.

Would it work for a JavaFX app? (not sure I'd be able to shrink the bundle size enough for it to make sense though)

JavaFX is not yet supported, but we plan to get it to work soon. The issue here is that there is very little Java in JavaFX, it's mostly native C++ code. This makes it actually quite similar to the LWJGL library used by Minecraft. Our plan is to use for JavaFX the same technology we have developed for LWJGL.

thanks! that's kinda what I figured. And now it's not part of Java's "core" so it'd make sense if it was "out of scope"

Re: Browsercraft: Java Minecraft in the browser

#97
post #79
post #78

Earlier quoted context omitted.

Got any resources on this? As a kid I never thought about it but as a programmer, I always wondered how you scaled up these kind of problems.

My source is the code itself, but you could also use the wiki's documentation about the on-disk data format. It's fundamentally just a big array of one entry per block space. It was never too big for an average computer to handle - otherwise Minecraft wouldn't have been able to exist yet (maybe that's why it didn't exist until the time that it did) but they've gotten a lot less efficient since then, in the name of fl…

I set up two old computers to play some Minecraft with my youngest kid. Unfortunately it turns out recent versions are much slower than old ones. I have not bothered to bisect it to figure out exactly what version(s) killed performance. My weakest old computer can run the latest version with 1-2 fps. It can run 1.12 with at least around 30-40 fps, which is more than enough for me to be able to enjoy the game (being old enough to have grown up in an era when we were happily playing flight sims at 5-10 fps). Anyway it is nice that the launcher makes it possible and easy to go back and play older versions. I much prefer drm-free games, but at least supporting old versions like this is better than 99% of games.

Re: Browsercraft: Java Minecraft in the browser

#99
post #79

Earlier quoted context omitted.

My source is the code itself, but you could also use the wiki's documentation about the on-disk data format. It's fundamentally just a big array of one entry per block space. It was never too big for an average computer to handle - otherwise Minecraft wouldn't have been able to exist yet (maybe that's why it didn't exist until the time that it did) but they've gotten a lot less efficient since then, in the name of fl…

I set up two old computers to play some Minecraft with my youngest kid. Unfortunately it turns out recent versions are much slower than old ones. I have not bothered to bisect it to figure out exactly what version(s) killed performance. My weakest old computer can run the latest version with 1-2 fps. It can run 1.12 with at least around 30-40 fps, which is more than enough for me to be able to enjoy the game (being o…

Older versions of Minecraft are better; they've added too much junk to newer versions. I stick to 1.6.3, 1.7.10, 1.12.2. Heard they added a bunch of telemetry and ban capabilities in 1.18+, for which mods are needed.

DRM-free Minecraft launchers exist, mostly forks of MultiMC5. Now if only offline installers existed...

Re: Browsercraft: Java Minecraft in the browser

#100

Is this at all related to Eaglercraft (web: https://eaglercraft.com/ , src: https://git.eaglercraft.rip/eaglercraft ), which is also browser-based Minecraft?

No, this is the unmodified Minecraft JAR running on top of CheerpJ, a WebAssembly-based JVM.
Post reply on HN