[PR #166] Add Visuality (visuality_horizon) 1.0.1, a native mod #165

Open
opened 2026-11-03 04:03:47 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon-mods/pull/166
Author: @BenjiSyS
Created: 11/2/2026
Status: 🔄 Open

Base: main ← Head: add-visuality-horizon


📝 Commits (2)

  • 88e7afe Add Visuality (visuality_horizon) 1.0.0, a native mod
  • e8ed3dc visuality_horizon: 1.0.1 instead of 1.0.0 (reproducible stored package, lighter tick)

📊 Changes

2 files changed (+29 additions, -0 deletions)

View changed files

➕ icons/visuality_horizon.png (+0 -0)
➕ mods/visuality_horizon.toml (+29 -0)

📄 Description

Project: visuality_horizon, a new project (native-mod)

  • I made it, or I am allowed to publish it, under the licence the entry names (MIT).
  • If it ports or translates another mod, the original's licence allows it (or its authors agreed), and my page
    credits and links the original. It reimplements the effects of PinkGoosik's Visuality (MIT). No Visuality code or art is included. The MIT notice and credit are in the bundle's NOTICE and in the description.
  • It has no code, assets or data from Minecraft, Mojang or Microsoft, and nothing that harms players. The art is original, rendered in Blender from the scenes in the source repo, and the mod makes no network requests.
  • I read and accept the mod policy: I am this
    project's author or publisher and responsible for it; the Horizon project is not.
  • The source link has the code this file was built from: https://github.com/BenjiSyS/visuality-horizon (tools/package.py rebuilds the same bytes).
  • I ran cargo horizon-mod check <file> and it passed (built from Horizon c9d474d): native-1/c9d474dd…/a2af5c0d…, for 26.3, 226011 bytes, SHA-256 98723364438606ee437618a6eaf480566e454f328b57bd023636741b8c96e82f, unsigned.

The file goes in the staging release as <sha256>.<extension>. This PR was made by hand, so a reviewer needs to copy it there. It is the asset of the GitHub release
https://github.com/BenjiSyS/visuality-horizon/releases/tag/v1.0.1: visuality_horizon-1.0.1.hnmod, SHA-256 98723364438606ee437618a6eaf480566e454f328b57bd023636741b8c96e82f. GitHub reports the same digest.

For the reviewer

  • Pinned, not hooks-only. Besides the stable hook points (tick, frame, mods, settings, settings_click, world_drawn, render_needs), it HEAD-hooks private client functions: game::remote::Game::handle_packet (the hurt packets, read only), spawn_entity, remove_entity, leave_server, enter_remote_dimension, animate_tick::block_animate_tick (read only), and a cancellable HEAD on mobs::cube::client_tick. That last one replaces only a normal slime's landing crumbs, and only while the effect is on. So horizon-native.json declares no hooks and pins c9d474d (Nightly 2026-11-01).
  • Client only. It keeps its own bounded particle pool (128 on Low), stepped by the client tick, and draws it in one pass in native_world_drawn, depth-tested in the shader against the world depth. It has a [[crate]] (engine, dependent horizon-client-render; deps bytemuck, log, png, serde, serde_json, toml, wgpu, all already in Horizon's lock). It sends no packets and makes no network or file access beyond config/visuality_horizon.toml.
  • Tested. On Windows x86_64 (Intel UHD 620, Vulkan), the released .hnmod itself builds through horizon-launcher native-build, and the effects were checked in single player. Not yet tested: LAN, dedicated servers, Linux, macOS. Details: docs/VALIDATION.md, docs/PERFORMANCE.md.
  • Out-of-memory crash, ruled out. The first test session, at render distance 128 on an integrated UHD 620, hit a wgpu out-of-memory panic. The unmodded official Nightly crashed the same way in the same world, so it is a Horizon limit on that GPU, not this mod (log in docs/evidence/).
  • CI in the source repo: on macOS 15 arm64 runners, horizon-mixins applies the bundle to c9d474d and cargo check -p horizon-client passes. Logic tests pass on Linux, Windows and macOS, and a job rebuilds the released .hnmod from its tag on all three systems and compares the SHA-256.
  • Why 1.0.1 and not 1.0.0. 1.0.0's deflated entries depended on the zlib build, so other systems produced different bytes. 1.0.1 stores entries uncompressed and also cuts the client tick to 20 to 31 µs.

🤖 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-mods/pull/166 **Author:** [@BenjiSyS](https://github.com/BenjiSyS) **Created:** 11/2/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `add-visuality-horizon` --- ### 📝 Commits (2) - [`88e7afe`](https://github.com/horizon-rust/horizon-mods/commit/88e7afe7489a40c2ac55afbc7a3e57b73b5965a0) Add Visuality (visuality_horizon) 1.0.0, a native mod - [`e8ed3dc`](https://github.com/horizon-rust/horizon-mods/commit/e8ed3dcbe347ae5f59d0f705ab93b871d4ffc3ff) visuality_horizon: 1.0.1 instead of 1.0.0 (reproducible stored package, lighter tick) ### 📊 Changes **2 files changed** (+29 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `icons/visuality_horizon.png` (+0 -0) ➕ `mods/visuality_horizon.toml` (+29 -0) </details> ### 📄 Description **Project:** `visuality_horizon`, a new project (`native-mod`) - [x] I made it, or I am allowed to publish it, under the licence the entry names (MIT). - [x] If it ports or translates another mod, the original's licence allows it (or its authors agreed), and my page credits and links the original. It reimplements the effects of PinkGoosik's [Visuality](https://github.com/PinkGoosik/visuality) (MIT). No Visuality code or art is included. The MIT notice and credit are in the bundle's `NOTICE` and in the description. - [x] It has no code, assets or data from Minecraft, Mojang or Microsoft, and nothing that harms players. The art is original, rendered in Blender from the scenes in the source repo, and the mod makes no network requests. - [x] I read and accept the [mod policy](https://github.com/horizon-rust/horizon-mods/blob/main/MOD-POLICY.md): I am this project's author or publisher and responsible for it; the Horizon project is not. - [x] The `source` link has the code this file was built from: https://github.com/BenjiSyS/visuality-horizon (`tools/package.py` rebuilds the same bytes). - [x] I ran `cargo horizon-mod check <file>` and it passed (built from Horizon `c9d474d`): `native-1/c9d474dd…/a2af5c0d…, for 26.3, 226011 bytes, SHA-256 98723364438606ee437618a6eaf480566e454f328b57bd023636741b8c96e82f, unsigned`. The file goes in the `staging` release as `<sha256>.<extension>`. This PR was made by hand, so a reviewer needs to copy it there. It is the asset of the GitHub release https://github.com/BenjiSyS/visuality-horizon/releases/tag/v1.0.1: `visuality_horizon-1.0.1.hnmod`, SHA-256 `98723364438606ee437618a6eaf480566e454f328b57bd023636741b8c96e82f`. GitHub reports the same digest. ### For the reviewer - **Pinned, not hooks-only.** Besides the stable hook points (`tick`, `frame`, `mods`, `settings`, `settings_click`, `world_drawn`, `render_needs`), it HEAD-hooks private client functions: `game::remote::Game::handle_packet` (the hurt packets, read only), `spawn_entity`, `remove_entity`, `leave_server`, `enter_remote_dimension`, `animate_tick::block_animate_tick` (read only), and a cancellable HEAD on `mobs::cube::client_tick`. That last one replaces only a normal slime's landing crumbs, and only while the effect is on. So `horizon-native.json` declares no `hooks` and pins `c9d474d` (Nightly 2026-11-01). - **Client only.** It keeps its own bounded particle pool (128 on Low), stepped by the client tick, and draws it in one pass in `native_world_drawn`, depth-tested in the shader against the world depth. It has a `[[crate]]` (`engine`, dependent `horizon-client-render`; deps `bytemuck`, `log`, `png`, `serde`, `serde_json`, `toml`, `wgpu`, all already in Horizon's lock). It sends no packets and makes no network or file access beyond `config/visuality_horizon.toml`. - **Tested.** On Windows x86_64 (Intel UHD 620, Vulkan), the released `.hnmod` itself builds through `horizon-launcher native-build`, and the effects were checked in single player. Not yet tested: LAN, dedicated servers, Linux, macOS. Details: [docs/VALIDATION.md](https://github.com/BenjiSyS/visuality-horizon/blob/main/docs/VALIDATION.md), [docs/PERFORMANCE.md](https://github.com/BenjiSyS/visuality-horizon/blob/main/docs/PERFORMANCE.md). - **Out-of-memory crash, ruled out.** The first test session, at render distance 128 on an integrated UHD 620, hit a wgpu out-of-memory panic. The **unmodded** official Nightly crashed the same way in the same world, so it is a Horizon limit on that GPU, not this mod (log in `docs/evidence/`). - **CI** in the source repo: on macOS 15 arm64 runners, horizon-mixins applies the bundle to `c9d474d` and `cargo check -p horizon-client` passes. Logic tests pass on Linux, Windows and macOS, and a job rebuilds the released `.hnmod` from its tag on all three systems and compares the SHA-256. - **Why 1.0.1 and not 1.0.0.** 1.0.0's deflated entries depended on the zlib build, so other systems produced different bytes. 1.0.1 stores entries uncompressed and also cuts the client tick to 20 to 31 µs. 🤖 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>
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-mods#165
No description provided.