6154eb95c3
Single player on its server thread, LAN guests and dedicated server players are network players, and the server gave them none of these: - PlayerAdvancements: each player's progress loads from and saves to players/advancements/<uuid>.json (an integrated server's owner keeps single player's file). The game's triggers, awards and the advancement commands work on the player the game acts for (as_guest swaps the progress in), every tick runs the tick, location and inventory triggers, and flushDirty sends ClientboundUpdateAdvancementsPacket with what became visible or hidden and the progress that changed. A player who has been here gets their saved advancements in the first packet; a new one gets the same first tick as before. Announcements go to everyone (PlayerList.broadcastSystemMessage). - ServerStatsCounter: per-tick and movement statistics are counted for each player, saved to players/stats/<uuid>.json, follow the scoreboard criteria under the player's name, and go out in ClientboundAwardStatsPacket when the client asks (REQUEST_STATS), all of them the first time. - ServerRecipeBook: the player file's recipeBook is kept, sent on joining (settings and every known recipe), and recipes unlocked later go out in ClientboundRecipeBookAddPacket. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>