Back to blog

Minecraft Java New LAN Netcode: What You Need to Know

Minecraft Java's 26.4 Snapshot 5 updates its login protocol and server compression. Discover what changed and how to improve remote Minecraft LAN gaming.

Minecraft: Java Edition Snapshot 26.4, Version 5 (Snapshot 5) has arrived!

While this update introduces some brand-new building blocks, that’s not the main highlight. The primary focus is a major overhaul of the underlying networking mechanisms. In addition to giving builders access to "Packed Ice Bricks"—along with their variants—and a new advancement, Mojang has quietly refactored the login protocol and patched a data compression vulnerability in dedicated servers.

While you might not notice these behind-the-scenes tweaks when playing solo, this update brings significant improvements to LAN (local area network) play. In this article, we’ll briefly outline the changes and explain how they will tangibly impact your multiplayer gaming experience. Let’s take a look!

Minecraft Java Changes How Login Settings Are Applied

Prior to this update, slight discrepancies between the time settings on a Minecraft server and those on a player’s computer could occasionally lead to connection errors. We have addressed an issue that occurred during the login process, specifically regarding how encryption and compression mechanisms were handled.

Things are much better now: the server will first send the settings to the client and wait for a confirmation before formally applying them. Furthermore, this entire process happens automatically in the background—you don’t need to do a thing.

A Dedicated Server Compression Bug Gets Fixed

Snapshot 5 also addresses a data compression issue in dedicated servers, tracked as MC-308621. While the ID number might not mean much on its own, I can explain it in simpler terms.

Before this fix, a dedicated server might occasionally apply compression settings at the wrong moment when sending data to you—a glitch that could cause connection issues between the server and your game client.

With this fix, dedicated servers will be more stable when handling data compression. While solo players might not notice a difference, those hosting LAN parties will certainly appreciate this added stability, leading to a better overall multiplayer experience in Minecraft.

It is worth noting that this fix is ​​strictly for stability; it will not boost server TPS (ticks per second) or client FPS (frames per second), nor will it reduce latency (ping) or resolve connection problems caused by a poor Wi-Fi signal. If you use custom server software, proxies, or network plugins, it is recommended to perform compatibility testing before updating your live server.

Minecraft 26.4.png

Did Snapshot 5 change how Minecraft Local Area Network (LAN) multiplayer works?

While the fixes regarding login processes and data compression are certainly useful, do they change how you connect to a Minecraft LAN game?

Not at all. Snapshot 5 simply optimizes how the game handles certain network operations; nothing else has changed.

The “Open to LAN” feature built into Minecraft: Java Edition is designed specifically for players on the same local network. If you and your friends are in different households—or even different countries—you cannot play together using this feature.

So, does that mean you can’t play Minecraft together if you’re in different locations? Is it possible to play a Minecraft LAN game over the internet? Enter “Virtual LAN” (VLAN) tools! These tools connect computers located in different places into a shared, private network, allowing players in separate physical locations to play together as if they were on the same local network. Here are a few examples:

  • Tailscale and ZeroTier: These are general-purpose networking tools that connect devices via a virtual network. They offer flexible configuration options, though you may need to spend some time setting up IP addresses and permissions.

  • RelayGG: Designed for LAN gaming, RelayGG makes it easier to play Minecraft LAN with friends online. Just download and install the client, create or join the same game room, and click Connect. No complicated network setup is needed to get started.

RelayGG​ game​​​​ room​​ aweseed​​.png

FAQ

Does Minecraft Java 26.4 Snapshot 5 reduce multiplayer lag?

Not really. It stops weird protocol disconnects by fixing login handshakes and a server compression bug, yet it won't lower your ping, boost FPS, or fix bad Wi-Fi.

Will the new login protocol affect Tailscale, ZeroTier, or RelayGG?

No. Those tools build network tunnels underneath the game, while Mojang's tweaks stay inside Minecraft's own code. Your virtual LAN setups will keep running fine—just double-check compatibility if you run custom proxies or modded server cores.

Can I play Minecraft LAN with friends in another country?

Yes, you can. Use a professional virtual LAN (VLAN) tool—such as RelayGG—to connect everyone’s devices to the same virtual network. In-game, select the "Open to LAN" option; your friends can then join by using the "Direct Connection" feature and entering your virtual IP address and port number.

Will Snapshot 5 break my existing mods or server plugins?

Probably. Under-the-hood protocol changes often break network mods, proxies, and server cores. Back up your worlds and test experimental snapshots on a separate folder before touching your main setup.

Summary

Minecraft: Java Edition Snapshot 26.4 (Snapshot 5) introduces backend optimizations to the login handshake process and fixes a compression error affecting dedicated servers. While most players may not notice any significant changes, these adjustments help ensure a smoother and more stable multiplayer experience.

For players who enjoy gaming over a Local Area Network (LAN), this update from Mojang does not fully replace the need for virtual networking solutions. Tools like RelayGG remain the most convenient way to connect computers located in different places. Stay tuned to our official website for more gaming news and updates!