Live data from Hacker News

Minecraft: Java Edition now uses SDL3

minecraft.net

241–250 of 285 posts

Re: Minecraft: Java Edition now uses SDL3

#241
post #95

Earlier quoted context omitted.

Soon enough it'll read email [_] _ https://en.wikipedia.org/wiki/Jamie_Zawinski#Zawinski%27s_La...

One of my favorite easter eggs in Nethack was the way a Mailer Daemon would arrive in-game and deliver a scroll when you received an email on the host Unix system. Which then became a game exploit because there were some obscure in-game uses for the scroll items.

Dude, spoilers

Re: Minecraft: Java Edition now uses SDL3

#242
post #103

Earlier quoted context omitted.

I'm sure it already can with the right mod/plugin.

I’m delighted to get to introduce you to ComputerCraft: Tweaked (modern fork). https://tweaked.cc/ Email client and server in Lua https://github.com/GabrielleAkers/cc-email The whole project is a great way to get started with understanding computers, programming, and networking in an environment that appeals to the iPad generation- one that knows less about technology than its predecessors. It’s about making computer…

That's nothing, I think it's even cooler to see what people can do with just command blocks (which are basically redstone activated console command scripts). Even cooler still is the people who forgo even that and do cool things in redstone exclusively. Redstone computers in minecraft have been a thing almost as long as redstone has

Re: Minecraft: Java Edition now uses SDL3

#243

Earlier quoted context omitted.

If both sides are willing to do that, why didn't they do that the first time instead of creating Minecraft PE?

PE was created in a time where phones were VERY unimpressive when it came to compute

Also, minecraft wasn't nearly as big as it was today. It was noticeable, but it wasn't headed by microsoft. There's no way it would've gotten an exception

Re: Minecraft: Java Edition now uses SDL3

#244

Earlier quoted context omitted.

> I'm always wondering whether or not SDL would be better SDL supports mobile; GLFW doesn't. Maybe they're unifying codebases between the platforms. Edit: BTW SDL3 still works even on Android 4.2. I made an app using it and ImGui, without any Java.

Highly doubt it. The current mobile version (Minecraft bedrock) is the version that Microsoft wants everyone to use. Java edition only sticks around because they know it's the version most of the community wants.

And the one that Mojang actually uses for development. IIRC any new features are done in Java and ported to bedrock (presumably by a seperate team)

Re: Minecraft: Java Edition now uses SDL3

#245
post #73

I'm teaching my son python programming. Anyone with experience on programming Minecraft with python? Tips?

The (official, though by now long dead) raspberry pi version has python scripting. TBH that's almost all it has going for it, besides being open source

Re: Minecraft: Java Edition now uses SDL3

#246
post #20

Is the rationale for switching away from GLFW documented anywhere? I'd love to read about it, I have some projects which use GLFW myself and I'm always wondering whether or not SDL would be better

SDL is more of a "platform" you can use anywhere. It includes literally everything you'd want from the OS layer (windowing, graphics, audio, input, network code, threads) whereas GLFW is just windowing, graphics context and input, you need to bring your own audio, network code and threading library. Not a big deal for some but SDL does do more... Plus it's even more portable than GLFW.

SDL3 also includes a "GPU API", that allows low level programming of the GPU, similar to vulkan, though not quite as low level.

Re: Minecraft: Java Edition now uses SDL3

#247
post #20

Is the rationale for switching away from GLFW documented anywhere? I'd love to read about it, I have some projects which use GLFW myself and I'm always wondering whether or not SDL would be better

You could make an entire 2D game using the SDL API without OpenGL/vulkan.

You can make an entire 3d game using SDL3 as well, without opengl or vulkan, using the new GPU API!

Re: Minecraft: Java Edition now uses SDL3

#249

Anyone got any advice for a techy dad with no (zero) Minecraft experience who wants to set up a Minecraft server for the family in 2026? Kids right now are playing on their iPads, and (sometimes) old macbooks/windows PCs.

docker run itzg/minecraft-server:latest

Re: Minecraft: Java Edition now uses SDL3

#250
post #181

Earlier quoted context omitted.

Minecraft started on Java, a massive mod and server community created around it. Consoles won't run JIT/JVM/Java, so the Bedrock C++ version was created. People don't want to give up the massive mod community, so OG pc players stay on Java, while console players and newer PC players go to bedrock (with some of those PC players jumping over to Java after servers or mods are discovered). They almost have feature parity…

It's absolutely crazy that a game so popular - let alone any game - was originally written in Java. Why did notch do that? There were next to no libraries, ecosystem, or support for Java at the time. It was such a bizarre choice. Not to mention the JVM, GC, and all the other oddities. It was super off the beaten path to have done this. Might as well have been Ruby or Perl.

Am I missing sarcasm here? Minecraft was developed in 2011 and Java was conceived in 1995; it was (already) an extremely mature and popular language at the time.
Post reply on HN