RC RANDOM CHAOS

Minecraft: Java Edition swaps GLFW for SDL3 in latest snapshot

· via Hacker News

Original source

Minecraft: Java Edition now uses SDL3

Hacker News →

Mojang’s newest Java Edition snapshot (26.3) replaces GLFW with SDL3 as the backend for window management, input, and platform integration — a notable dependency swap for one of the most widely deployed Java desktop applications. The change brings concrete behavioral shifts: keyboard input now maps to physical key positions via SDL scancodes (with layout-dependent keycodes reserved for text-editing shortcuts), Borderless Fullscreen becomes the default, exclusive fullscreen support is dropped on macOS, and Linux now prefers Wayland natively when available. The migration also introduces some rough edges, including crashes in exclusive fullscreen on Windows multi-monitor setups and on Wayland.

Beyond the backend switch, the snapshot layers in gameplay and data-driven changes. New data components — cooking_fuel and brewing_fuel — let custom furnace and brewing-stand fuels be defined declaratively, with the old #brewing_fuel item tag removed. Loot table types backed by dedicated registries now accept registry element and tag references, broadening how advancements, predicates, recipes, and modifiers can be authored, while several older reference types were removed outright. The data pack version advances to 111.0 and the resource pack to 92.0.

The practical takeaway for developers and pack authors is that this is a foundational change worth watching: swapping the platform abstraction layer touches input handling, fullscreen behavior, and OS integration across Windows, macOS, and Linux, and the accompanying data-pack format changes will require updates to custom content. As a snapshot it’s explicitly experimental, and the listed known issues signal the SDL3 transition is still stabilizing.

Read the full article

Continue reading at Hacker News →

This is an AI-generated summary. Read the original for the full story.