[PR #2699] [CLOSED] Light region: check every neighbour first; keep #2542's bee nest test (follow-ups to FusselTV's #2619 and #2542) #4550

Closed
opened 2026-11-03 04:18:00 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/2699
Author: @ludovic111
Created: 10/27/2026
Status: ❌ Closed

Base: main ← Head: cg20/fusseltv-followups


📝 Commits (4)

  • d601715 Streaming: the last finished ring is lit against decorated neighbours
  • a1d3693 Light region: check every neighbour before building a stand-in column
  • 9d4c247 Merge main
  • 3012234 A generated bee nest keeps its bees (test from #2542)

📊 Changes

5 files changed (+97 additions, -6 deletions)

View changed files

📝 crates/horizon-client/src/game/commands/execute.rs (+6 -4)
📝 crates/horizon-client/src/save.rs (+3 -0)
📝 crates/horizon-client/src/streaming.rs (+55 -2)
📝 crates/horizon-client/src/structure_blocks.rs (+27 -0)
📝 crates/horizon-client/src/vanillagen.rs (+6 -0)

📄 Description

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

What and why

This follows up on two of @FusselTV's PRs. Their fork refuses maintainer pushes, so the changes are carried here.

  1. #2619, the light region. light_region now checks that every neighbour is ready before it builds any column: a loaded chunk, or a stand-in whose proto is decorated. Before, it could build the stand-in columns of the first neighbours and only then find a later one missing, which wasted the work on every retry. This also puts the saved_proto doc comment back on its method. The branch contains #2619's own commit, so merging this marks #2619 as merged too. Queue #2619 first, or this instead of it.
  2. #2542, bee nests. #2542 was closed because main already reads a generated bee nest's bees: #2457's decode_block_entity path. Its test a_generated_bee_nest_keeps_its_bees is kept here, credited to FusselTV, so it stays that way.

Vanilla reference

  • ChunkPyramid (LIGHT needs its neighbours at INITIALIZE_LIGHT, after FEATURES), as in #2619.
  • BeehiveDecorator / BeehiveBlockEntity.loadAdditional (bees), as in #2542.

Self-check

Checked on the Mac mini, merged with main:

  • cargo clippy -p horizon-client --lib --bins --tests -- -D warnings: clean.
  • cargo fmt --check: clean.
  • cargo test -p horizon-client --lib -- structure_mobs entity_nbt structure_blocks streaming create_world title: 69 passed, including a_generated_bee_nest_keeps_its_bees.
  • Parity: in the contrib-gate union (see the gate comment).

🤖 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/2699 **Author:** [@ludovic111](https://github.com/ludovic111) **Created:** 10/27/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `cg20/fusseltv-followups` --- ### 📝 Commits (4) - [`d601715`](https://github.com/horizon-rust/horizon/commit/d6017151266c7c9890a6d5d5604b0949daecd7c1) Streaming: the last finished ring is lit against decorated neighbours - [`a1d3693`](https://github.com/horizon-rust/horizon/commit/a1d3693ff5d28c8804eeaf4ffcc5cb6547397dfd) Light region: check every neighbour before building a stand-in column - [`9d4c247`](https://github.com/horizon-rust/horizon/commit/9d4c247e75d014f7845ae8fc42fabbd78b056763) Merge main - [`3012234`](https://github.com/horizon-rust/horizon/commit/3012234d7ab10c4de41c3badccf3156f3691ca7d) A generated bee nest keeps its bees (test from #2542) ### 📊 Changes **5 files changed** (+97 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/game/commands/execute.rs` (+6 -4) 📝 `crates/horizon-client/src/save.rs` (+3 -0) 📝 `crates/horizon-client/src/streaming.rs` (+55 -2) 📝 `crates/horizon-client/src/structure_blocks.rs` (+27 -0) 📝 `crates/horizon-client/src/vanillagen.rs` (+6 -0) </details> ### 📄 Description > 🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself. ## What and why This follows up on two of @FusselTV's PRs. Their fork refuses maintainer pushes, so the changes are carried here. 1. **#2619, the light region.** `light_region` now checks that every neighbour is ready before it builds any column: a loaded chunk, or a stand-in whose proto is decorated. Before, it could build the stand-in columns of the first neighbours and only then find a later one missing, which wasted the work on every retry. This also puts the `saved_proto` doc comment back on its method. The branch contains #2619's own commit, so merging this marks #2619 as merged too. Queue #2619 first, or this instead of it. 2. **#2542, bee nests.** #2542 was closed because main already reads a generated bee nest's bees: #2457's `decode_block_entity` path. Its test `a_generated_bee_nest_keeps_its_bees` is kept here, credited to FusselTV, so it stays that way. ## Vanilla reference - `ChunkPyramid` (LIGHT needs its neighbours at INITIALIZE_LIGHT, after FEATURES), as in #2619. - `BeehiveDecorator` / `BeehiveBlockEntity.loadAdditional` (`bees`), as in #2542. ## Self-check Checked on the Mac mini, merged with main: - `cargo clippy -p horizon-client --lib --bins --tests -- -D warnings`: clean. - `cargo fmt --check`: clean. - `cargo test -p horizon-client --lib -- structure_mobs entity_nbt structure_blocks streaming create_world title`: 69 passed, including `a_generated_bee_nest_keeps_its_bees`. - Parity: in the contrib-gate union (see the gate comment). 🤖 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 04:18:00 +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#4550
No description provided.