[PR #907] [MERGED] Processors: read rule ids without a namespace, as vanilla does #2901

Closed
opened 2026-11-02 15:59:58 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

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

Base: main ← Head: fix/processor-ids-namespace


📝 Commits (1)

  • ae3622e Processors: read rule ids without a namespace, as vanilla does

📊 Changes

1 file changed (+93 additions, -49 deletions)

View changed files

📝 crates/horizon-world/src/worldgen/structure/processor.rs (+93 -49)

📄 Description

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

What

Processor rules read their position_predicate and block_entity_modifier types without a namespace, as vanilla does ("always_true" is minecraft:always_true). Before, a type without minecraft: made the whole processor list fail to decode, and every pool naming it was refused.

Why

ChoiceTheorem's Overhauled Village (in All the Mods 10) writes "predicate_type": "always_true" in its village processor lists. Four of its pools were refused, so its villages generated without those houses and streets.

Measured (All the Mods 10's carried mods, seed 1234, chunks -64..63, overworld)

before after
Pool decode errors 4 0
Structure starts 362 362
Jigsaw pieces 22,026 22,231

For example, a fortified plains village goes from 45 to 87 pieces, a medium plains village from 104 to 145 and a dark forest village from 93 to 129.

Self-check

  • cargo fmt --check: clean
  • cargo clippy --workspace --all-targets -- -D warnings: clean
  • cargo test -p horizon-world (processor tests): pass, including the new rule_parts_read_ids_without_a_namespace
  • tools/parity.py --changed origin/main: 298 of 298 harnesses pass, run once on an integration of this PR, the other game PR of this set and origin/main 2b6ae71f (merge commit 234bd101)
  • Vanilla structure-start oracle (seed 1234, chunks -24..23): 35 of 35 match

Merge order: this one first, then #SPAWNER (stacked on it), then #CARRY.

Nothing here needs Ludovic.

🤖 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/907 **Author:** [@ludovic111](https://github.com/ludovic111) **Created:** 10/18/2026 **Status:** ✅ Merged **Merged:** 10/18/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `fix/processor-ids-namespace` --- ### 📝 Commits (1) - [`ae3622e`](https://github.com/horizon-rust/horizon/commit/ae3622eb92c7b0f7adc10fe5d47c91f1ae419e1e) Processors: read rule ids without a namespace, as vanilla does ### 📊 Changes **1 file changed** (+93 additions, -49 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-world/src/worldgen/structure/processor.rs` (+93 -49) </details> ### 📄 Description > 🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself. ## What Processor rules read their `position_predicate` and `block_entity_modifier` types without a namespace, as vanilla does (`"always_true"` is `minecraft:always_true`). Before, a type without `minecraft:` made the whole processor list fail to decode, and every pool naming it was refused. ## Why ChoiceTheorem's Overhauled Village (in All the Mods 10) writes `"predicate_type": "always_true"` in its village processor lists. Four of its pools were refused, so its villages generated without those houses and streets. ## Measured (All the Mods 10's carried mods, seed 1234, chunks -64..63, overworld) | | before | after | |---|---|---| | Pool decode errors | 4 | 0 | | Structure starts | 362 | 362 | | Jigsaw pieces | 22,026 | 22,231 | For example, a fortified plains village goes from 45 to 87 pieces, a medium plains village from 104 to 145 and a dark forest village from 93 to 129. ## Self-check - `cargo fmt --check`: clean - `cargo clippy --workspace --all-targets -- -D warnings`: clean - `cargo test -p horizon-world` (processor tests): pass, including the new `rule_parts_read_ids_without_a_namespace` - `tools/parity.py --changed origin/main`: 298 of 298 harnesses pass, run once on an integration of this PR, the other game PR of this set and `origin/main` 2b6ae71f (merge commit 234bd101) - Vanilla structure-start oracle (seed 1234, chunks -24..23): 35 of 35 match Merge order: this one first, then #SPAWNER (stacked on it), then #CARRY. Nothing here needs Ludovic. 🤖 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-02 15:59:58 +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#2901
No description provided.