[PR #3217] [CLOSED] Feature/screens blocks #4851

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

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/3217
Author: @artemspt
Created: 10/28/2026
Status: ❌ Closed

Base: main ← Head: feature/screens-blocks


📝 Commits (6)

  • 88ba864 update
  • 67a8f08 Mod API: ui.replace-screen shows a mod's screen in place of the inventory, not over it (API level 8)
  • 0a8ca16 Core log: ui.replace-screen
  • 89c545f Mod API: block-events lets server mods refuse breaking a block and take a right click before vanilla acts
  • 6a98bd3 /hmod reload [id] and /hmod list: restart mods from their files in the game, without leaving the world
  • f925de9 Merge branch 'horizon-rust:main' into feature/screens-blocks

📊 Changes

36 files changed (+2431 additions, -217 deletions)

View changed files

📝 .gitignore (+1 -0)
➕ .idea/editor.xml (+250 -0)
➕ .idea/vcs.xml (+6 -0)
➕ .idea/workspace.xml (+275 -0)
📝 AGENTS.md (+168 -182)
📝 Cargo.lock (+7 -0)
📝 Cargo.toml (+1 -0)
➕ command_history.txt (+1 -0)
📝 crates/horizon-client/src/game.rs (+3 -1)
📝 crates/horizon-client/src/game/lan_actions.rs (+6 -0)
📝 crates/horizon-client/src/game/mods.rs (+71 -1)
📝 crates/horizon-client/src/game/server_mods.rs (+148 -0)
➕ crates/horizon-mod-sdk/examples/block-guard/Cargo.toml (+16 -0)
➕ crates/horizon-mod-sdk/examples/block-guard/horizon-mod.toml (+8 -0)
➕ crates/horizon-mod-sdk/examples/block-guard/src/lib.rs (+33 -0)
📝 crates/horizon-mod-sdk/src/lib.rs (+27 -1)
📝 crates/horizon-mod-sdk/wit/horizon.wit (+43 -0)
📝 crates/horizon-mods/src/api_level.rs (+3 -2)
➕ crates/horizon-mods/src/container.rs (+145 -0)
➕ crates/horizon-mods/src/context.rs (+48 -0)

...and 16 more files

📄 Description

What and why

Vanilla reference

Self-check

Screenshots


🔄 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/3217 **Author:** [@artemspt](https://github.com/artemspt) **Created:** 10/28/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `feature/screens-blocks` --- ### 📝 Commits (6) - [`88ba864`](https://github.com/horizon-rust/horizon/commit/88ba864bdd5ba8f8e1a4491d5f39e0df5243fe90) update - [`67a8f08`](https://github.com/horizon-rust/horizon/commit/67a8f08d4d8c8349e434734f11c2b675db3ce50b) Mod API: ui.replace-screen shows a mod's screen in place of the inventory, not over it (API level 8) - [`0a8ca16`](https://github.com/horizon-rust/horizon/commit/0a8ca162d18efe78a05e88c5a758635ee1a5bc7c) Core log: ui.replace-screen - [`89c545f`](https://github.com/horizon-rust/horizon/commit/89c545fdaf7b86b0c02d1728c12cc2bf6a90a247) Mod API: block-events lets server mods refuse breaking a block and take a right click before vanilla acts - [`6a98bd3`](https://github.com/horizon-rust/horizon/commit/6a98bd38f684b6dcc2585d0a2250d157f581e54f) /hmod reload [id] and /hmod list: restart mods from their files in the game, without leaving the world - [`f925de9`](https://github.com/horizon-rust/horizon/commit/f925de95589dfec9e1ea4bb8860e241324961fa3) Merge branch 'horizon-rust:main' into feature/screens-blocks ### 📊 Changes **36 files changed** (+2431 additions, -217 deletions) <details> <summary>View changed files</summary> 📝 `.gitignore` (+1 -0) ➕ `.idea/editor.xml` (+250 -0) ➕ `.idea/vcs.xml` (+6 -0) ➕ `.idea/workspace.xml` (+275 -0) 📝 `AGENTS.md` (+168 -182) 📝 `Cargo.lock` (+7 -0) 📝 `Cargo.toml` (+1 -0) ➕ `command_history.txt` (+1 -0) 📝 `crates/horizon-client/src/game.rs` (+3 -1) 📝 `crates/horizon-client/src/game/lan_actions.rs` (+6 -0) 📝 `crates/horizon-client/src/game/mods.rs` (+71 -1) 📝 `crates/horizon-client/src/game/server_mods.rs` (+148 -0) ➕ `crates/horizon-mod-sdk/examples/block-guard/Cargo.toml` (+16 -0) ➕ `crates/horizon-mod-sdk/examples/block-guard/horizon-mod.toml` (+8 -0) ➕ `crates/horizon-mod-sdk/examples/block-guard/src/lib.rs` (+33 -0) 📝 `crates/horizon-mod-sdk/src/lib.rs` (+27 -1) 📝 `crates/horizon-mod-sdk/wit/horizon.wit` (+43 -0) 📝 `crates/horizon-mods/src/api_level.rs` (+3 -2) ➕ `crates/horizon-mods/src/container.rs` (+145 -0) ➕ `crates/horizon-mods/src/context.rs` (+48 -0) _...and 16 more files_ </details> ### 📄 Description ## What and why <!-- What this changes, and why. Link the issue it fixes ("Fixes #123"). --> ## Vanilla reference <!-- The vanilla classes and methods this follows (tools/rea_vanilla.py), and the harness that checks it. "Horizon-only" for a feature vanilla doesn't have; "none" for tooling or docs. --> ## Self-check <!-- Paste the block `python3 tools/pr_ready.py` prints (`--base upstream/main` from a fork). --> ## Screenshots <!-- For anything players see: before and after. Delete this section otherwise. --> <!-- Please tick "Allow edits by maintainers": we push small fixups ourselves instead of a round trip. See CONTRIBUTING.md. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 05:08:24 +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#4851
No description provided.