[GH-ISSUE #542] [mob_ai] Many mobs bounce in water instead of floating or sinking like vanilla #161

Closed
opened 2026-11-02 15:36:54 +07:00 by bsakaguchi · 0 comments
Owner

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

Reported on Discord by rdbt in #horizon-chat (2026-10-16), with a clip: https://cdn.discordapp.com/attachments/1559242412121919620/1560720559065534645/Screencast_20261016_192249.webm

  • Bounce: pig, cow, witch, horse, wolf, cat, vindicator (non-exhaustive).
  • Sink: zombies, skeletons, iron golem (vanilla: undead and golems sink, as they have no float goal).
  • Float normally: villagers.

Vanilla 26.3: mobs with FloatGoal (most animals, illagers, witches) jump when getFluidHeight(WATER) > getFluidJumpThreshold(), holding them at the surface smoothly; the bounce suggests the jump threshold, fluid height or the in-water drag/buoyancy in LivingEntity.travel differs for those mobs. Compare positions per tick with a mob_ai scenario in water.

Originally created by @ludovic111 on GitHub (Oct 16, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/542 Reported on Discord by rdbt in #horizon-chat (2026-10-16), with a clip: https://cdn.discordapp.com/attachments/1559242412121919620/1560720559065534645/Screencast_20261016_192249.webm - **Bounce:** pig, cow, witch, horse, wolf, cat, vindicator (non-exhaustive). - **Sink:** zombies, skeletons, iron golem (vanilla: undead and golems sink, as they have no float goal). - **Float normally:** villagers. Vanilla 26.3: mobs with `FloatGoal` (most animals, illagers, witches) jump when `getFluidHeight(WATER) > getFluidJumpThreshold()`, holding them at the surface smoothly; the bounce suggests the jump threshold, fluid height or the in-water drag/buoyancy in `LivingEntity.travel` differs for those mobs. Compare positions per tick with a mob_ai scenario in water.
bsakaguchi 2026-11-02 15:36:54 +07:00
  • closed this issue
  • added the
    bug
    label
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#161
No description provided.