Live data from Hacker News

Minecraft: Java Edition now uses SDL3

minecraft.net

271–280 of 285 posts

Re: Minecraft: Java Edition now uses SDL3

#271
post #48

Earlier quoted context omitted.

Does macOS even have exclusive fullscreen anymore? I haven’t looked into it, but my impression is that it fakes it with borderless windowed even when the app explicitly asks for it.

Yes. On Apple Silicon Macs (w/ macOS Sonoma or later), native fullscreen automatically triggers Game Mode. This feature slashes input lag by prioritizing CPU/GPU resources and doubling the Bluetooth polling rate to 240 Hz for wireless accessories. Gaming works very well in this mode, even with PC titles played thru crossover. Conversely, using borderless windowed mode instead of native fullscreen on macOS adds render…

macOS doesn't have Desktop Window Manager, it has WindowServer.

Re: Minecraft: Java Edition now uses SDL3

#272
post #35

I honestly went and read those release notes just to check if they're using this transition as an excuse to make the game less cross platform.

Why would they do that? They specifically made bedrock edition so that the game could be more cross platform, which has worked extremely well for them financially.

Java edition has never been playable on anything other than Windows, Mac, and Linux, porting an SDL version onto any of those is extremely easy.

Getting everyone on one platform is a much better model for Microsoft than trying to resell you a copy on each device.

Re: Minecraft: Java Edition now uses SDL3

#273

I recently converted a game, Tribal Trouble ( https://github.com/bondolo/tribaltrouble ) from GLFW to SDL3. It was mostly a painless refactor though I did have some issues with full screen exclusive modes and desktop full screen but was eventually able to resolve those. I ended writing a demo for screen mode handling to test and document the fiddly bits. https://github.com/bondolo/SDL3-Fullscreen-Demo The game is Jav…

Out of curiosity, what was the reason you chose to do this rewrite? Was there some issue with GLFW?

GLFW has had no active maintainers for a couple years and has poor support for Wayland, Windows ARM64 and current MacOS. It is my understanding that the former GLFW maintainers want to just wind it down and not allow any new maintainers even if volunteers were available.

The LWJGL team recommended a couple of months that projects not use GLFW or move to SDL3 when convenient.

Re: Minecraft: Java Edition now uses SDL3

#274

Earlier quoted context omitted.

Out of curiosity, what was the reason you chose to do this rewrite? Was there some issue with GLFW?

GLFW has had no active maintainers for a couple years and has poor support for Wayland, Windows ARM64 and current MacOS. It is my understanding that the former GLFW maintainers want to just wind it down and not allow any new maintainers even if volunteers were available. The LWJGL team recommended a couple of months that projects not use GLFW or move to SDL3 when convenient.

There are two projects working on Tribal Trouble, mine which is a pure technology modernization and refactoring of the original game, and a community supported version that is publishing the game for free on Steam. The community version is using my modern port as a base but has done major work to add lots of other features and value add as well as building an active community.

Re: Minecraft: Java Edition now uses SDL3

#275
post #35

I honestly went and read those release notes just to check if they're using this transition as an excuse to make the game less cross platform.

Why would they do that? They specifically made bedrock edition so that the game could be more cross platform, which has worked extremely well for them financially. Java edition has never been playable on anything other than Windows, Mac, and Linux, porting an SDL version onto any of those is extremely easy. Getting everyone on one platform is a much better model for Microsoft than trying to resell you a copy on each…

> Java edition has never been playable on anything other than Windows, Mac, and Linux

That IS cross platform. One, two, three platforms. Count them.

Re: Minecraft: Java Edition now uses SDL3

#276
post #35

I honestly went and read those release notes just to check if they're using this transition as an excuse to make the game less cross platform.

How does that make sense? SDL is extremely portable?

Just because SDL is portable it doesn't mean MS is willing to use that portability :)

Re: Minecraft: Java Edition now uses SDL3

#277
post #73

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

A long time ago I had some fun with Minecraft Pi Edition. It was a cut down version of pocket edition exclusively for the Raspberry Pi, with an official Python API: https://minecraft.wiki/w/Pi_Edition

It's long discontinued, and apparently doesn't work on recent versions of Raspbian, but there is a current modded version which apparently still works (I haven't tested): https://gitea.thebrokenrail.com/minecraft-pi-reborn/minecraf...

There's also a (discontinued) Bukkit/Spigot plugin called RaspberryJuice which makes the same Python API work with a real Java edition server: https://dev.bukkit.org/projects/raspberryjuice

And there's also a currently maintained Bukkit/Spigot plugin called FruitJuice: https://github.com/jdeast/FruitJuice

Back in the day I made a basic version of Minesweeper which you could play inside Minecraft Pi Edition using the Python API: https://bitbucket.org/dwales/minesweeper-for-minecraft-pi-ed...

This blog showcased a bunch of Minecraft + Python projects: https://mcpipy.wordpress.com/

Also No Starch Press has a book which uses this Python API: https://nostarch.com/programwithminecraft

Re: Minecraft: Java Edition now uses SDL3

#278
post #267

Earlier quoted context omitted.

Correct. There are ways to host bedrock servers, it just isn't as easy and most people are better served by realms. Also, I thought you could play the iOS version on Mac. Doesn't apple let you run iPad apps on macOS?

Unfortunately, Apple made the decision to have that be an opt-in flag for developers, and so the vast, vast majority of iPad apps don't allow themselves to be used on macOS.

That's absolutely idiotic

Re: Minecraft: Java Edition now uses SDL3

#280

Earlier quoted context omitted.

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…

Oh hey, I did a lot of ComputerCraft back in the day. Don't forget OpenComputers, which was much different flavor of challenge but also quite interesting.

Bravo and thank you for some great memories with my kids. My son was already fairly technical but CC took him further down the rabbit hole than I would have thought possible. As we speak he’s writing his 3rd compiler so you could say it stuck!
Post reply on HN