[GH-ISSUE #1431] Funky behavior with block breaking and item dropping, critical hit effects not rendering #431

Closed
opened 2026-11-02 15:39:01 +07:00 by bsakaguchi · 5 comments
Owner

Originally created by @ludovic111 on GitHub (Oct 23, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/1431

What I did: I was playing around and I went to mine some blocks and kill some mobs.
What happened: Block breaking behaved strangely, same with item dropping, and the particle effects for landing a critical hit didn't render.
What I expected: Both of them to work the same as in vanilla.
Horizon version: 0.2.12
OS, CPU, GPU: CachyOS, 14900k, 6800xt
Below I have attached links to videos that demonstrate both behaviors.
Block breaking and item dropping: https://files.catbox.moe/grg8yg.mkv
Critical hit effect: https://files.catbox.moe/d7hlej.mp4

Reported on Discord by thebigchungoose in #horizon-bugs · Discord thread
Tags: rendering

Opened by Kira from Discord. Replies from the reporter in the thread are added here as comments.

Originally created by @ludovic111 on GitHub (Oct 23, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/1431 > What I did: I was playing around and I went to mine some blocks and kill some mobs. > What happened: Block breaking behaved strangely, same with item dropping, and the particle effects for landing a critical hit didn't render. > What I expected: Both of them to work the same as in vanilla. > Horizon version: 0.2.12 > OS, CPU, GPU: CachyOS, 14900k, 6800xt > Below I have attached links to videos that demonstrate both behaviors. > Block breaking and item dropping: https://files.catbox.moe/grg8yg.mkv > Critical hit effect: https://files.catbox.moe/d7hlej.mp4 Reported on Discord by **thebigchungoose** in #horizon-bugs · [Discord thread](https://discord.com/channels/1559227979002028052/1563137044405026887) Tags: rendering <sub>Opened by Kira from Discord. Replies from the reporter in the thread are added here as comments.</sub><!-- kira -->
bsakaguchi 2026-11-02 15:39:01 +07:00
Author
Owner

@ludovic111 commented on GitHub (Oct 23, 2026):

🤖 Agent: noted.

  • v0.2.12 runs single player on the integrated server thread. Since v0.2.13 (#1428), single player runs in-frame by default again, as v0.2.0 does.
  • The missing crit particles are a known server-thread gap: #1393, fixed in #1417 (in review).
  • The block-breaking and item-drop behaviour in the video still has to be checked against vanilla and against v0.2.13, both in-frame and with --server-thread, before anything changes.
<!-- gh-comment-id:6363450380 --> @ludovic111 commented on GitHub (Oct 23, 2026): 🤖 Agent: noted. - v0.2.12 runs single player on the integrated server thread. Since v0.2.13 (#1428), single player runs in-frame by default again, as v0.2.0 does. - The missing crit particles are a known server-thread gap: #1393, fixed in #1417 (in review). - The block-breaking and item-drop behaviour in the video still has to be checked against vanilla and against v0.2.13, both in-frame and with `--server-thread`, before anything changes.
Author
Owner

@ludovic111 commented on GitHub (Oct 23, 2026):

🤖 Agent: I checked this against the videos (frame by frame with ffmpeg) and on current main, in-frame and with --server-thread (Metal, M4 Pro).

Critical hits: this is #1393, fixed by #1417, which is merged. The fix first shipped in v0.2.15.

Block breaking and item drops on main:

  • In-frame (the default since v0.2.13): stone mined with a pickaxe (6 destroy stages, then the block goes), break particles, and one cobblestone drop that settles and stays. Frame by frame it looks as expected.
  • --server-thread (v0.2.12 ran this way): mining natural grass and dirt with a shovel works. The blocks break, the server confirms them and the dirt drops merge (3 dirt in one item entity). No block came back.
  • One real oddity, in both modes: on the frame right after a block breaks, one or two break particles near the top of the hole are drawn solid black. The video shows dark particles too. That fits the light of the freshly emptied block still being 0 when those particles are drawn. Vanilla runs the client's pending light updates every frame before rendering (ClientLevel.update → LevelLightEngine.runLightUpdates), so its particles never see that stale value. I haven't fixed this here. It needs a closer look at how light updates are ordered against particle rendering, and a side-by-side vanilla capture, which I couldn't take this session (the Mac mini's screen is locked).
  • On the video's other moments: the crack overlay on the next block and the drop's hover look like vanilla to me. If something specific looked wrong (a block coming back, a drop in the wrong place), a timestamp would help.

I'm leaving this open for the black particles.

<!-- gh-comment-id:6367598673 --> @ludovic111 commented on GitHub (Oct 23, 2026): 🤖 Agent: I checked this against the videos (frame by frame with ffmpeg) and on current main, in-frame and with `--server-thread` (Metal, M4 Pro). **Critical hits:** this is #1393, fixed by #1417, which is merged. The fix first shipped in v0.2.15. **Block breaking and item drops on main:** - **In-frame** (the default since v0.2.13): stone mined with a pickaxe (6 destroy stages, then the block goes), break particles, and one cobblestone drop that settles and stays. Frame by frame it looks as expected. - **`--server-thread`** (v0.2.12 ran this way): mining natural grass and dirt with a shovel works. The blocks break, the server confirms them and the dirt drops merge (3 dirt in one item entity). No block came back. - One real oddity, in both modes: on the frame right after a block breaks, one or two break particles near the top of the hole are drawn **solid black**. The video shows dark particles too. That fits the light of the freshly emptied block still being 0 when those particles are drawn. Vanilla runs the client's pending light updates every frame before rendering (`ClientLevel.update` → `LevelLightEngine.runLightUpdates`), so its particles never see that stale value. I haven't fixed this here. It needs a closer look at how light updates are ordered against particle rendering, and a side-by-side vanilla capture, which I couldn't take this session (the Mac mini's screen is locked). - On the video's other moments: the crack overlay on the next block and the drop's hover look like vanilla to me. If something specific looked wrong (a block coming back, a drop in the wrong place), a timestamp would help. I'm leaving this open for the black particles.
Author
Owner

@rdbtCVS commented on GitHub (Oct 26, 2026):

🤖 Agent: rdbtCVS’s AI agent (OpenAI Codex), triage follow-up. Merged #1999 supplies critical-hit particles to server clients, and merged #1690 addresses hovering dropped items tracked in #1286. Earlier discussion here also identified black break particles, which those fixes do not establish are resolved. Recommend checking the original videos against a current build and retaining only the remaining symptoms.

<!-- gh-comment-id:6418405050 --> @rdbtCVS commented on GitHub (Oct 26, 2026): 🤖 Agent: rdbtCVS’s AI agent (OpenAI Codex), triage follow-up. Merged #1999 supplies critical-hit particles to server clients, and merged #1690 addresses hovering dropped items tracked in #1286. Earlier discussion here also identified black break particles, which those fixes do not establish are resolved. Recommend checking the original videos against a current build and retaining only the remaining symptoms.
Author
Owner

@socksprox commented on GitHub (Oct 27, 2026):

🤖 Agent: This was filed against v0.2.12 — a lot of block-breaking, item-drop and particle parity work has landed since (crit particles included). Could you retest on the current release and say which specific behaviours still diverge? The report as-is is too old to pinpoint a remaining defect.

<!-- gh-comment-id:6441964225 --> @socksprox commented on GitHub (Oct 27, 2026): 🤖 Agent: This was filed against v0.2.12 — a lot of block-breaking, item-drop and particle parity work has landed since (crit particles included). Could you retest on the current release and say which specific behaviours still diverge? The report as-is is too old to pinpoint a remaining defect.
Author
Owner

@kacpherek commented on GitHub (Oct 30, 2026):

This looks fixed on main: Crit particles #1417/#1999, item drops #1690; v0.2.12 report too old to pin the rest. Closing; if it still happens on the latest build, please reopen with your version and logs/latest.log.

<!-- gh-comment-id:6527769212 --> @kacpherek commented on GitHub (Oct 30, 2026): This looks fixed on main: Crit particles #1417/#1999, item drops #1690; v0.2.12 report too old to pin the rest. Closing; if it still happens on the latest build, please reopen with your version and `logs/latest.log`.
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#431
No description provided.