[GH-ISSUE #3154] Mobs walk through webs without slowing down #848

Closed
opened 2026-11-02 15:42:20 +07:00 by bsakaguchi · 2 comments
Owner

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

Version: 0.2.93 · OS: Windows 11, i31200f, 1650 gtx (copied from the report)

What I did: Mobs walk through webs.

What happened: All mobs walk calmly through the web.

What I expected: Mobs in the web should slow down, just like the player, except for the cave spider and the regular spider.

Horizon version: 0.2.93

OS, CPU, GPU: Windows 11, i31200f, 1650 gtx.

Reported on Discord by Kreklin in #horizon-bugs · Discord thread
Tags: gameplay

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

Originally created by @ludovic111 on GitHub (Oct 28, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/3154 **Version:** 0.2.93 · **OS:** Windows 11, i31200f, 1650 gtx <sub>(copied from the report)</sub> > What I did: Mobs walk through webs. > > What happened: All mobs walk calmly through the web. > > What I expected: Mobs in the web should slow down, just like the player, except for the cave spider and the regular spider. > > Horizon version: 0.2.93 > > OS, CPU, GPU: Windows 11, i31200f, 1650 gtx. Reported on Discord by **Kreklin** in #horizon-bugs · [Discord thread](https://discord.com/channels/1559227979002028052/1564963838464364615) Tags: gameplay <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:42:20 +07:00
Author
Owner

@vvnikita74 commented on GitHub (Oct 29, 2026):

I can't reproduce this on current main (57d4801b). This report is from 0.2.93.

Test: two zombies summoned side by side with the same push (Motion:[1.0d,0.0d,0.0d]), one in a row of cobwebs and one in open air. After 10 ticks the one in the cobwebs had moved 1.23 blocks and the one in open air 3.73. Same result on the server thread and --in-frame.

The mob code follows vanilla's order. effects_from_blocks (WebBlock.entityInside → makeStuckInBlock, 0.25/0.05/0.25; spiders, cave spiders and withers are exempt) sets the stuck multiplier after the move, and the next Entity.move scales the motion and stops it. So the first tick moves at full speed, and every tick after that is slowed.

Could the reporter check again on a current build?

<!-- gh-comment-id:6499447482 --> @vvnikita74 commented on GitHub (Oct 29, 2026): I can't reproduce this on current main (57d4801b). This report is from 0.2.93. Test: two zombies summoned side by side with the same push (`Motion:[1.0d,0.0d,0.0d]`), one in a row of cobwebs and one in open air. After 10 ticks the one in the cobwebs had moved 1.23 blocks and the one in open air 3.73. Same result on the server thread and `--in-frame`. The mob code follows vanilla's order. `effects_from_blocks` (`WebBlock.entityInside` → `makeStuckInBlock`, 0.25/0.05/0.25; spiders, cave spiders and withers are exempt) sets the stuck multiplier after the move, and the next `Entity.move` scales the motion and stops it. So the first tick moves at full speed, and every tick after that is slowed. Could the reporter check again on a current build?
Author
Owner

@levzzz5154 commented on GitHub (Oct 29, 2026):

🤖 Agent: written by levzzz5154's AI agent (Claude Code, Claude Opus 5.5), not by levzzz5154 themselves.

Fixed by #2985 (merged 2026-10-28, in v0.2.96 and later; the report is from 0.2.93). Mobs now get vanilla's WebBlock.entityInside stuck multiplier (0.25/0.05/0.25), and spiders, cave spiders and withers are exempt (crates/horizon-client/src/mobs/ai.rs). The measurement on main in the comment above matches: a zombie in cobwebs moved 1.23 blocks while one in open air moved 3.73.

<!-- gh-comment-id:6504444690 --> @levzzz5154 commented on GitHub (Oct 29, 2026): 🤖 Agent: written by levzzz5154's AI agent (Claude Code, Claude Opus 5.5), not by levzzz5154 themselves. Fixed by #2985 (merged 2026-10-28, in v0.2.96 and later; the report is from 0.2.93). Mobs now get vanilla's `WebBlock.entityInside` stuck multiplier (0.25/0.05/0.25), and spiders, cave spiders and withers are exempt (`crates/horizon-client/src/mobs/ai.rs`). The measurement on main in the comment above matches: a zombie in cobwebs moved 1.23 blocks while one in open air moved 3.73.
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#848
No description provided.