[PR #4095] [MERGED] Dedicated server: nothing kept around the spawn while nobody is on (carries #2608) #5414

Closed
opened 2026-11-03 05:12:25 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/4095
Author: @ludovic111
Created: 10/30/2026
Status: ✅ Merged
Merged: 10/30/2026
Merged by: @ludovic111

Base: main ← Head: carry/fusseltv-idle-spawn-area


📝 Commits (3)

  • 8401cde Dedicated server: nothing kept around the spawn while nobody is on
  • 21773ca Merge main into this branch
  • 4c802c1 Merge main into this branch

📊 Changes

3 files changed (+109 additions, -23 deletions)

View changed files

📝 crates/horizon-client-render/src/streaming.rs (+45 -3)
📝 crates/horizon-client/src/game/dedicated.rs (+53 -19)
📝 crates/horizon-client/src/game/initial_spawn.rs (+11 -1)

📄 Description

🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself.

What and why

This carries @FusselTV's #2608 unchanged. Their fork (RoyalPixelsDE) doesn't accept pushes from maintainers, and #2608 conflicts with main because the streaming code moved to crates/horizon-client-render/src/streaming.rs in the crate split. The credit for the work goes to FusselTV. #2608 has the what and why, the vanilla references and the measurements.

In short, a dedicated server with nobody online no longer acts as if a player stood at the world spawn:

  • At startup it only loads the chunks its spawn spiral tests, as MinecraftServer.setInitialSpawn does (getChunk(FULL): each one's 3x3 decorated in one task, x-outer then z-inner).
  • While it runs empty, it keeps no view-distance area around spawn (vanilla has no spawn ticket).
  • Single player's server thread keeps today's behaviour (standalone_server()).

On top of FusselTV's commit (8401cde51), this branch only merges main. #2608's changes are reapplied in the new horizon-client-render/src/streaming.rs:

  • the radius < 0 proto filter;
  • the range checks;
  • rank_full_task;
  • the test.

When this merges, GitHub marks #2608 as merged, because its commit is in this branch.

Checks

Run on the Mac mini:

  • On this branch merged into main, python3 tools/parity.py dedicated_server --fresh passes. The play-light-layers mismatch reported on #2608 on 10-29 no longer shows on today's main.
  • The proof on main 304a3ca76, together with #3802, #3300 and #2698, follows in a comment: pr_ready, parity.py --changed and lan_e2e.

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon/pull/4095 **Author:** [@ludovic111](https://github.com/ludovic111) **Created:** 10/30/2026 **Status:** ✅ Merged **Merged:** 10/30/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `carry/fusseltv-idle-spawn-area` --- ### 📝 Commits (3) - [`8401cde`](https://github.com/horizon-rust/horizon/commit/8401cde519a951356e0f84421d7b5f64b431f50b) Dedicated server: nothing kept around the spawn while nobody is on - [`21773ca`](https://github.com/horizon-rust/horizon/commit/21773ca7f5d6d7c70fbc64e9a3c5597d3444f9a8) Merge main into this branch - [`4c802c1`](https://github.com/horizon-rust/horizon/commit/4c802c13424131a833a9d37c820b53760eff393f) Merge main into this branch ### 📊 Changes **3 files changed** (+109 additions, -23 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client-render/src/streaming.rs` (+45 -3) 📝 `crates/horizon-client/src/game/dedicated.rs` (+53 -19) 📝 `crates/horizon-client/src/game/initial_spawn.rs` (+11 -1) </details> ### 📄 Description > 🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself. ## What and why This carries @FusselTV's #2608 unchanged. Their fork (RoyalPixelsDE) doesn't accept pushes from maintainers, and #2608 conflicts with main because the streaming code moved to `crates/horizon-client-render/src/streaming.rs` in the crate split. The credit for the work goes to FusselTV. #2608 has the what and why, the vanilla references and the measurements. In short, a dedicated server with nobody online no longer acts as if a player stood at the world spawn: - At startup it only loads the chunks its spawn spiral tests, as `MinecraftServer.setInitialSpawn` does (`getChunk(FULL)`: each one's 3x3 decorated in one task, x-outer then z-inner). - While it runs empty, it keeps no view-distance area around spawn (vanilla has no spawn ticket). - Single player's server thread keeps today's behaviour (`standalone_server()`). On top of FusselTV's commit (8401cde51), this branch only merges main. #2608's changes are reapplied in the new `horizon-client-render/src/streaming.rs`: - the `radius < 0` proto filter; - the range checks; - `rank_full_task`; - the test. When this merges, GitHub marks #2608 as merged, because its commit is in this branch. ## Checks Run on the Mac mini: - On this branch merged into main, `python3 tools/parity.py dedicated_server --fresh` passes. The `play-light-layers` mismatch reported on #2608 on 10-29 no longer shows on today's main. - The proof on main 304a3ca76, together with #3802, #3300 and #2698, follows in a comment: `pr_ready`, `parity.py --changed` and `lan_e2e`. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 05:12:25 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#5414
No description provided.