
Description

Load into a single-player world and it isn't really ready yet: the loading screen closes as soon as the one chunk under your feet is drawn. You land in a half-built world, the game hitches and freezes for a few seconds while the rest renders and the server catches up, and terrain pops in around you.
Seamless Join keeps the loading screen up until the world is actually ready, so all of that happens behind it. When the screen goes away, the chunks around you are drawn, the server is at full speed and the game is smooth from the first frame.
What it waits for
- every chunk within 6 chunks of you has arrived from the server,
- the renderer has finished building everything in view (works with Sodium),
- the server is running at full speed (at least 18 of 20 ticks per second),
- no frame took longer than 100 ms in the last second,
all at once for ¾ of a second. If something never settles, it lets you in anyway 30 seconds after vanilla would have.
Measured
In a 324-mod NeoForge 1.21.1 pack at render distance 10, vanilla closed the loading screen with none of the 113 nearby chunks drawn and the server at 1 tick per second, followed by about 2.5 seconds of freezes of up to 0.7 s. With Seamless Join the screen stayed up about 6 seconds longer and let the player in with everything in view drawn, the server at 20.7 ticks per second and frames under 85 ms, settling to 25–45 ms.

Also fixes: Waves login freeze
If you use Waves, every login fills a biome cache by looking up the biome of about a million blocks around you on the server thread, even when Waves' useCaches setting is off and nothing reads that cache. In our pack that alone froze world loading for 17–50 seconds. Seamless Join skips that fill when useCaches is off; with it on, Waves is unchanged. Without Waves this part does nothing.
Good to know
- Single player only. Joining a multiplayer server behaves exactly like vanilla. Client side; it does nothing on a dedicated server except the Waves fix.
- You can't take damage while the screen is holding you, so nothing can hit you before you can see.
- Portal trips to the Nether and the End use the same screen, so they are held the same way.
- It keeps the game's own "Loading terrain" screen, so a custom loading screen (for example from FancyMenu) stays as it is.
- Each join writes one line to the log with how long it held and why it let go. Start the game with
-Dseamless_join.debug=trueto log the numbers every half second, or-Dseamless_join.measure=trueto log them without holding.
Credits
Made for the So It Begins modpack. Not made by or affiliated with the authors of Waves or Sodium, and contains none of their files. MIT license; the source is in the jar under sources/.