[PR #5504] [MERGED] Native hooks: stamp API 59-62 (entities, item bar, mod sounds, nicknames) #6322

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

📋 Pull Request Information

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

Base: main ← Head: chore/stamp-native-hooks-59


📝 Commits (1)

  • 1a36d8c Native hooks: stamp API 59-62 (entities, item bar, mod sounds, nicknames)

📊 Changes

9 files changed (+44 additions, -38 deletions)

View changed files

📝 crates/horizon-client/src/game/native_entities.rs (+4 -4)
📝 crates/horizon-client/src/game/native_hooks.rs (+16 -3)
📝 crates/horizon-client/src/game/native_server.rs (+2 -2)
📝 docs/native-mods.md (+17 -0)
📝 native-hooks.json (+5 -0)
➖ tools/native-hook-fragments/item_bar.json (+0 -10)
➖ tools/native-hook-fragments/mod_sounds.json (+0 -5)
➖ tools/native-hook-fragments/native-nicknames.json (+0 -6)
➖ tools/native-hook-fragments/native_entities.json (+0 -8)

📄 Description

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

python3 tools/stamp_native_hooks.py on main 0720d6d, as tools/native-hook-fragments/README.md asks after hook PRs
merge. It consumes the 4 pending fragments in first-parent merge order:

  • 59 native_entities (#5408: entities for server mods);
  • 60 item_bar;
  • 61 mod_sounds;
  • 62 native-nicknames (#5466: native_set_nickname, native_text_allowed).

NATIVE_HOOKS_API 58 → 62, the histories in native_hooks.rs and docs/native-mods.md, native-hooks.json, and the
@API:...@ markers in native_entities.rs and native_server.rs. No code changes: comments, docs, the constant.

The SMP's /nick (horizon-mods feat/smp-nick, 0.13.0) is repinned to this merge.

Checks: rustfmt --check on the three Rust files, python3 -m unittest tests.test_stamp_native_hooks (3 OK),
tools/check_public_tree.py OK. CI runs the rest.

🤖 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/5504 **Author:** [@ludovic111](https://github.com/ludovic111) **Created:** 10/31/2026 **Status:** ✅ Merged **Merged:** 10/31/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `chore/stamp-native-hooks-59` --- ### 📝 Commits (1) - [`1a36d8c`](https://github.com/horizon-rust/horizon/commit/1a36d8c39e20e57c89cfa67553d5e25cd98c6cf5) Native hooks: stamp API 59-62 (entities, item bar, mod sounds, nicknames) ### 📊 Changes **9 files changed** (+44 additions, -38 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/game/native_entities.rs` (+4 -4) 📝 `crates/horizon-client/src/game/native_hooks.rs` (+16 -3) 📝 `crates/horizon-client/src/game/native_server.rs` (+2 -2) 📝 `docs/native-mods.md` (+17 -0) 📝 `native-hooks.json` (+5 -0) ➖ `tools/native-hook-fragments/item_bar.json` (+0 -10) ➖ `tools/native-hook-fragments/mod_sounds.json` (+0 -5) ➖ `tools/native-hook-fragments/native-nicknames.json` (+0 -6) ➖ `tools/native-hook-fragments/native_entities.json` (+0 -8) </details> ### 📄 Description > 🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself. `python3 tools/stamp_native_hooks.py` on main 0720d6d, as `tools/native-hook-fragments/README.md` asks after hook PRs merge. It consumes the 4 pending fragments in first-parent merge order: - 59 `native_entities` (#5408: entities for server mods); - 60 `item_bar`; - 61 `mod_sounds`; - 62 `native-nicknames` (#5466: `native_set_nickname`, `native_text_allowed`). `NATIVE_HOOKS_API` 58 → 62, the histories in `native_hooks.rs` and `docs/native-mods.md`, `native-hooks.json`, and the `@API:...@` markers in `native_entities.rs` and `native_server.rs`. No code changes: comments, docs, the constant. The SMP's `/nick` (horizon-mods `feat/smp-nick`, 0.13.0) is repinned to this merge. Checks: `rustfmt --check` on the three Rust files, `python3 -m unittest tests.test_stamp_native_hooks` (3 OK), `tools/check_public_tree.py` OK. CI runs the rest. 🤖 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:18:16 +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#6322
No description provided.