[GH-ISSUE #2546] Entities not effected by soul sand water bubble elevators/columns #644

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

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

What I did: put a zombie and ender pearl in water with soul sand underneath
What happened: Both the zombie and ender pearl sank to the bottom
What I expected: Both entities to float to the top. As of now, no entity other than the player floats to the top of water bubble columns
Horizon version: 0.2.75
OS, CPU, GPU: MacOS M2

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

Attachments (Discord links expire after a while; the thread keeps them)

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

Originally created by @ludovic111 on GitHub (Oct 26, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/2546 > What I did: put a zombie and ender pearl in water with soul sand underneath > What happened: Both the zombie and ender pearl sank to the bottom > What I expected: Both entities to float to the top. As of now, no entity other than the player floats to the top of water bubble columns > Horizon version: 0.2.75 > OS, CPU, GPU: MacOS M2 Reported on Discord by **DarkCows** in #horizon-bugs · [Discord thread](https://discord.com/channels/1559227979002028052/1564400947520737311) Tags: gameplay **Attachments** (Discord links expire after a while; the thread keeps them) - [2026-10-26_22.06.05.png](https://cdn.discordapp.com/attachments/1564400947520737311/1564400947881312326/2026-10-26_22.06.05.png?ex=6ae1216b&is=6adfcfeb&hm=c4a606608d6436e3226a287b977bcc5a5788b98607c428837f26c01fd9201aaa&) <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:40:46 +07:00
Author
Owner

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

Thanks DarkCows for the report! A fix is up in #2555: mobs, dropped items and ender pearls are now lifted or dragged by bubble columns like in vanilla (boats are not covered yet). It's waiting for review.

<!-- gh-comment-id:6428984607 --> @kacpherek commented on GitHub (Oct 26, 2026): Thanks DarkCows for the report! A fix is up in #2555: mobs, dropped items and ender pearls are now lifted or dragged by bubble columns like in vanilla (boats are not covered yet). It's waiting for review.
Author
Owner

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

🤖 Agent: fixed on the fork branch fix/bubble-column-entities (open pull request against this repository, "Carry mobs up and down with a bubble column").

What vanilla does: BubbleColumnBlock.entityInside (26.3) calls entity.onAboveBubbleColumn(dragDown, pos) when nothing is above the column and entity.onInsideBubbleColumn(dragDown) otherwise. Entity.handleOnAboveBubbleColumn raises the body's vertical velocity by 0.1 and caps it at 1.8, or lowers it by 0.03 and floors it at -0.9 for a column that drags down (a soul sand column); Entity.handleOnInsideBubbleColumn does the same with 0.06 and 0.7 (-0.03 and -0.3) and resets the fall distance. Horizon had the block half of the column but no entity half for the mobs, so a mob stood still in a column while it went through it.

Evidence on the branch: the new bubble-column LAN case (tools/lan_e2e.py) puts a mob in a soul sand column and a second one in plain water, and checks that only the mob in the column is carried up:

$ python3 tools/lan_e2e.py --bin-dir target/fast --check bubble-column
[lan] bubble-column: PASS {'column': 0.901, 'plain': 0.088}

The mob in the column is carried 0.9 blocks up, the one in plain water 0.09: without the push both are the same, so the case fails without the fix.

The pull request body carries "Fixes #2546".

<!-- gh-comment-id:6438987180 --> @levzzz5154 commented on GitHub (Oct 27, 2026): 🤖 Agent: fixed on the fork branch `fix/bubble-column-entities` (open pull request against this repository, "Carry mobs up and down with a bubble column"). **What vanilla does**: `BubbleColumnBlock.entityInside` (26.3) calls `entity.onAboveBubbleColumn(dragDown, pos)` when nothing is above the column and `entity.onInsideBubbleColumn(dragDown)` otherwise. `Entity.handleOnAboveBubbleColumn` raises the body's vertical velocity by 0.1 and caps it at 1.8, or lowers it by 0.03 and floors it at -0.9 for a column that drags down (a soul sand column); `Entity.handleOnInsideBubbleColumn` does the same with 0.06 and 0.7 (-0.03 and -0.3) and resets the fall distance. Horizon had the block half of the column but no entity half for the mobs, so a mob stood still in a column while it went through it. **Evidence on the branch**: the new `bubble-column` LAN case (`tools/lan_e2e.py`) puts a mob in a soul sand column and a second one in plain water, and checks that only the mob in the column is carried up: ``` $ python3 tools/lan_e2e.py --bin-dir target/fast --check bubble-column [lan] bubble-column: PASS {'column': 0.901, 'plain': 0.088} ``` The mob in the column is carried 0.9 blocks up, the one in plain water 0.09: without the push both are the same, so the case fails without the fix. The pull request body carries "Fixes #2546".
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#644
No description provided.