[PR #5880] [MERGED] Content mod docs: every kind it declares, multiplayer, the sounds key #6535

Closed
opened 2026-11-03 06:22:34 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/5880
Author: @levzzz5154
Created: 11/1/2026
Status: ✅ Merged
Merged: 11/1/2026
Merged by: @ludovic111

Base: main ← Head: docs/content-mods-refresh


📝 Commits (1)

  • 24f539c Content mod docs: every kind it declares, multiplayer, the sounds key, sections in place

📊 Changes

4 files changed (+29 additions, -20 deletions)

View changed files

📝 crates/cargo-horizon-mod/template/content/horizon-mod.toml (+1 -1)
📝 crates/horizon-mods/src/manifest.rs (+2 -2)
📝 docs/modpacks.md (+5 -4)
📝 docs/mods.md (+21 -13)

📄 Description

🤖 Opened by levzzz5154's AI agent (Claude Code, Claude Opus 5.5), not by levzzz5154 personally.

Closes #5852. The content-mod docs still described the old scope: blocks and items, plus mob effects.

  • docs/mods.md:
    • The "Content mods (API 0.2)" intro now names every kind declared in data/<id>/horizon/: blocks, items, creative tabs, mob effects, entity types and menu types.
    • It says content mods work on LAN and dedicated servers when both sides run the same mods. A mismatched client is refused (content_identity::MISMATCH).
    • The crafting_remainder paragraph moves from under #### Menu types to the item section.
    • The namespace rules get their own #### Namespaces and limits heading.
  • docs/modpacks.md:
    • The block example used "sound": "minecraft:metal". The key is sounds, and it names a vanilla block (check_block refuses anything else), so it is now "sounds": "minecraft:iron_block".
    • "Not in 0.2: multiplayer registry sync" is replaced with what works now.
  • The cargo horizon-mod content template quotes the current capability text. manifest.rs's APIS comment lists every kind.

No behaviour change. The site's hand-written page (playhorizon.dev/docs/content-mods, in horizon-site) has the same staleness and lives in that repo.

pr_ready (tools/pr_ready.py --quick --base hr/main on cachyos-x8664, against hr/main at 59744ec01)

Check Result
Scope ✅ 4 files, +29 −20
Cargo.lock ✅ unchanged
Public tree ✅
Python tests ✅ 515 passed
rustfmt ✅
clippy ✅
tests: cargo-horizon-mod, horizon-mods ✅ 49 passed
content root tests ✅ 21 passed, rerun by hand. pr_ready's run hit a stale build of horizon-items from another worktree sharing the target dir.
launcher rustfmt, clippy, tests ✅ 362 passed
Parity ➖ not run: docs and comments only

🤖 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/5880 **Author:** [@levzzz5154](https://github.com/levzzz5154) **Created:** 11/1/2026 **Status:** ✅ Merged **Merged:** 11/1/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `docs/content-mods-refresh` --- ### 📝 Commits (1) - [`24f539c`](https://github.com/horizon-rust/horizon/commit/24f539c6338fa401ed251f74498bbeaa7fcf975f) Content mod docs: every kind it declares, multiplayer, the sounds key, sections in place ### 📊 Changes **4 files changed** (+29 additions, -20 deletions) <details> <summary>View changed files</summary> 📝 `crates/cargo-horizon-mod/template/content/horizon-mod.toml` (+1 -1) 📝 `crates/horizon-mods/src/manifest.rs` (+2 -2) 📝 `docs/modpacks.md` (+5 -4) 📝 `docs/mods.md` (+21 -13) </details> ### 📄 Description > 🤖 Opened by levzzz5154's AI agent (Claude Code, Claude Opus 5.5), not by levzzz5154 personally. Closes #5852. The content-mod docs still described the old scope: blocks and items, plus mob effects. - **`docs/mods.md`:** - The "Content mods (API 0.2)" intro now names every kind declared in `data/<id>/horizon/`: blocks, items, creative tabs, mob effects, entity types and menu types. - It says content mods work on LAN and dedicated servers when both sides run the same mods. A mismatched client is refused (`content_identity::MISMATCH`). - The `crafting_remainder` paragraph moves from under `#### Menu types` to the item section. - The namespace rules get their own `#### Namespaces and limits` heading. - **`docs/modpacks.md`:** - The block example used `"sound": "minecraft:metal"`. The key is `sounds`, and it names a vanilla block (`check_block` refuses anything else), so it is now `"sounds": "minecraft:iron_block"`. - "Not in 0.2: multiplayer registry sync" is replaced with what works now. - **The `cargo horizon-mod` content template** quotes the current capability text. **`manifest.rs`'s `APIS` comment** lists every kind. No behaviour change. The site's hand-written page (playhorizon.dev/docs/content-mods, in horizon-site) has the same staleness and lives in that repo. **pr_ready** (`tools/pr_ready.py --quick --base hr/main` on cachyos-x8664, against hr/main at 59744ec01) | Check | Result | | --- | --- | | Scope | ✅ 4 files, +29 −20 | | Cargo.lock | ✅ unchanged | | Public tree | ✅ | | Python tests | ✅ 515 passed | | rustfmt | ✅ | | clippy | ✅ | | tests: cargo-horizon-mod, horizon-mods | ✅ 49 passed | | content root tests | ✅ 21 passed, rerun by hand. pr_ready's run hit a stale build of `horizon-items` from another worktree sharing the target dir. | | launcher rustfmt, clippy, tests | ✅ 362 passed | | Parity | ➖ not run: docs and comments only | 🤖 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 06:22:34 +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#6535
No description provided.