[PR #2063] [MERGED] Minimap moved to the mod browser: remove the built-in minimap #3976

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

📋 Pull Request Information

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

Base: main ← Head: feat/moved-minimap


📝 Commits (3)

  • 4498df8 Merge feat/official-minimap-mod into feat/moved-minimap
  • 382380f Minimap moved to the mod browser: remove the built-in minimap
  • b110608 Merge remote-tracking branch 'origin/main' into feat/moved-minimap

📊 Changes

7 files changed (+72 additions, -122 deletions)

View changed files

📝 crates/horizon-client/src/extras.rs (+8 -70)
📝 crates/horizon-client/src/game/extras.rs (+10 -25)
📝 crates/horizon-client/src/moved_extras.rs (+37 -5)
📝 crates/horizon-client/src/options_ui.rs (+1 -1)
📝 docs/extras.md (+14 -19)
📝 website/docs/index.md (+1 -1)
📝 website/docs/settings.md (+1 -1)

📄 Description

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

Merge after Minimap 1.0.0 is published in the registry (ludovic111/horizon-mods#6), as #2030 waited for Zoom. The official Minimap mod (#2058, merged) draws the same map as the built-in minimap, and costs the same per frame. This PR removes the built-in minimap and moves its players over.

The minimap is the fourth extra to move to the mod browser, after the FPS counter, Keystrokes and Zoom.

What players get

  • A player who had the minimap on gets the Minimap mod at the first start after the update: installed from the registry, turned on, and one chat line, "Minimap moved to the mod browser: installed for you". This is #1995's migration, with Minimap added.
    • Their settings carry over into the mod's storage: corner, size, shape (square or round), zoom (blocks per pixel) and rotate.
  • Options > Horizon Settings > Extras loses the minimap's six rows (Minimap, Corner, Size, Shape, Zoom, Turn with the player).
  • A player who had the minimap off gets nothing installed. The minimap is marked as moved, so later starts do nothing.
  • horizon-extras.txt keeps the old minimap* keys, so the migration can still read them, and movedToMods lists minimap once it is done.

What goes

  • The extra's minimap settings path. The game still keeps the map's tiles and draws them, now only for a mod's render.set-minimap, so the mod's map is unchanged.
  • docs/extras.md and the website's settings page list the minimap under the extras moved to the mod browser.

How tested

  • In game, migration, with fresh HORIZON_HOME/XDG folders and HORIZON_NO_AUDIO=1. The game installs from a trial index that serves the four official mods (Minimap is the file in horizon-mods#6, same SHA-256). On the server thread and in-frame, 34/34 checks in each:
    • Case E starts with the minimap on, bottom left, size 128, round, 0.5 blocks per pixel, turning with the player:
      • the chat line appears, the mod is installed and on;
      • storage is corner bottom_left, size 128, shape round, zoom 0.5, rotate true;
      • the mod runs, and the screenshot shows the map at the bottom left, round, with the N on its rim;
      • the Extras page has no minimap rows;
      • no panic or stopped mod.
    • The earlier cases still pass: FPS and Keystrokes on, offline then online, everything off, and Zoom with its key.
  • Unit tests: Minimap's settings carried by moved_extras. The Extras page test cycles Sort's values now. The scroll test uses a 180 px window, because the page fits 300 px without the minimap's rows.

Self-check:

pr_ready (tools/pr_ready.py --quick on ludovics-mac-mini, against origin/main at 9e447a7e9, 2 min 43 s)

Check Result
Scope ✅ 7 files, +72 −122
Cargo.lock ✅ unchanged
Public tree ✅
Python tests ➖ no Python change
rustfmt ✅ (5 s)
clippy ✅ (37 s)
tests: horizon-client ✅ 1295 passed (1 min 19 s)
doc tests ✅ 0 passed (1 s)
tokens.css up to date ➖ theme untouched
launcher rustfmt ➖ launcher untouched
launcher clippy ➖ launcher untouched
launcher tests ➖ launcher untouched
Parity ➖ 29 affected, to run in CI (--quick): block_removal, chat_screen, command_exec, command_parse, composter, crafter, cursor_death, dedicated_server, dispenser, hardcore_respawn, locator_bar, mace and 17 more
Label player-facing: feature if players get something new, no label for a fix (release-now if urgent)

No label, as for the other removals: players keep the same minimap, now from the mod browser.

🤖 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/2063 **Author:** [@ludovic111](https://github.com/ludovic111) **Created:** 10/26/2026 **Status:** ✅ Merged **Merged:** 10/26/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `feat/moved-minimap` --- ### 📝 Commits (3) - [`4498df8`](https://github.com/horizon-rust/horizon/commit/4498df8be5c6768be5e9ab6b8e2bc9ebcd375cb0) Merge feat/official-minimap-mod into feat/moved-minimap - [`382380f`](https://github.com/horizon-rust/horizon/commit/382380fc8b48ba669af4fb85906f3fa3dce438d0) Minimap moved to the mod browser: remove the built-in minimap - [`b110608`](https://github.com/horizon-rust/horizon/commit/b110608a935579fca8d8f0f0c54afaffc8baf30c) Merge remote-tracking branch 'origin/main' into feat/moved-minimap ### 📊 Changes **7 files changed** (+72 additions, -122 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/extras.rs` (+8 -70) 📝 `crates/horizon-client/src/game/extras.rs` (+10 -25) 📝 `crates/horizon-client/src/moved_extras.rs` (+37 -5) 📝 `crates/horizon-client/src/options_ui.rs` (+1 -1) 📝 `docs/extras.md` (+14 -19) 📝 `website/docs/index.md` (+1 -1) 📝 `website/docs/settings.md` (+1 -1) </details> ### 📄 Description > 🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself. **Merge after Minimap 1.0.0 is published in the registry** (ludovic111/horizon-mods#6), as #2030 waited for Zoom. The official Minimap mod (#2058, merged) draws the same map as the built-in minimap, and costs the same per frame. This PR removes the built-in minimap and moves its players over. The minimap is the fourth extra to move to the mod browser, after the FPS counter, Keystrokes and Zoom. ## What players get - **A player who had the minimap on** gets the Minimap mod at the first start after the update: installed from the registry, turned on, and one chat line, "Minimap moved to the mod browser: installed for you". This is #1995's migration, with Minimap added. - Their settings carry over into the mod's storage: `corner`, `size`, `shape` (square or round), `zoom` (blocks per pixel) and `rotate`. - **Options > Horizon Settings > Extras** loses the minimap's six rows (Minimap, Corner, Size, Shape, Zoom, Turn with the player). - **A player who had the minimap off** gets nothing installed. The minimap is marked as moved, so later starts do nothing. - `horizon-extras.txt` keeps the old `minimap*` keys, so the migration can still read them, and `movedToMods` lists `minimap` once it is done. ## What goes - The extra's minimap settings path. The game still keeps the map's tiles and draws them, now only for a mod's `render.set-minimap`, so the mod's map is unchanged. - `docs/extras.md` and the website's settings page list the minimap under the extras moved to the mod browser. ## How tested - **In game, migration, with fresh `HORIZON_HOME`/XDG folders and `HORIZON_NO_AUDIO=1`.** The game installs from a trial index that serves the four official mods (Minimap is the file in horizon-mods#6, same SHA-256). On the server thread and in-frame, 34/34 checks in each: - Case E starts with the minimap on, bottom left, size 128, round, 0.5 blocks per pixel, turning with the player: - the chat line appears, the mod is installed and on; - storage is `corner bottom_left`, `size 128`, `shape round`, `zoom 0.5`, `rotate true`; - the mod runs, and the screenshot shows the map at the bottom left, round, with the N on its rim; - the Extras page has no minimap rows; - no panic or stopped mod. - The earlier cases still pass: FPS and Keystrokes on, offline then online, everything off, and Zoom with its key. - **Unit tests:** Minimap's settings carried by `moved_extras`. The Extras page test cycles Sort's values now. The scroll test uses a 180 px window, because the page fits 300 px without the minimap's rows. **Self-check**: **pr_ready** (`tools/pr_ready.py --quick` on ludovics-mac-mini, against origin/main at 9e447a7e9, 2 min 43 s) | Check | Result | | --- | --- | | Scope | ✅ 7 files, +72 −122 | | Cargo.lock | ✅ unchanged | | Public tree | ✅ | | Python tests | ➖ no Python change | | rustfmt | ✅ (5 s) | | clippy | ✅ (37 s) | | tests: horizon-client | ✅ 1295 passed (1 min 19 s) | | doc tests | ✅ 0 passed (1 s) | | tokens.css up to date | ➖ theme untouched | | launcher rustfmt | ➖ launcher untouched | | launcher clippy | ➖ launcher untouched | | launcher tests | ➖ launcher untouched | | Parity | ➖ 29 affected, to run in CI (--quick): block_removal, chat_screen, command_exec, command_parse, composter, crafter, cursor_death, dedicated_server, dispenser, hardcore_respawn, locator_bar, mace and 17 more | | Label | player-facing: `feature` if players get something new, no label for a fix (`release-now` if urgent) | No label, as for the other removals: players keep the same minimap, now from the mod browser. 🤖 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:13:43 +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#3976
No description provided.