[GH-ISSUE #7074] gets stuck in the Elytra flying/gliding animation when landing directly into water #3138

Open
opened 2026-11-03 04:06:09 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @pixelworn on GitHub (Nov 2, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/7074

Bug Description

When gliding with an Elytra and landing directly into a body of water, the player's model gets stuck in the horizontal flying/gliding animation state instead of properly transitioning into the swimming or standing animation.

Steps to Reproduce

  1. Equip an Elytra in the chestplate slot.
  2. Activate the Elytra to enter the flying/gliding state.
  3. Dive or glide directly into water without touching solid ground first.
  4. Observe the player character's model and posture inside the water.
Image
Originally created by @pixelworn on GitHub (Nov 2, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/7074 ### Bug Description When gliding with an Elytra and landing directly into a body of water, the player's model gets stuck in the horizontal flying/gliding animation state instead of properly transitioning into the swimming or standing animation. ### Steps to Reproduce 1. Equip an Elytra in the chestplate slot. 2. Activate the Elytra to enter the flying/gliding state. 3. Dive or glide directly into water without touching solid ground first. 4. Observe the player character's model and posture inside the water. <img width="1595" height="896" alt="Image" src="https://github.com/user-attachments/assets/f99ef2a6-eb74-48ad-ba53-559c569ae7bb" />
Author
Owner

@DUzzL commented on GitHub (Nov 2, 2026):

🤖 Agent: /claim

Taking this. Will compare with vanilla fall-flying stop logic (LivingEntity.updateFallFlying, water contact) and reproduce on Windows.

<!-- gh-comment-id:6575353885 --> @DUzzL commented on GitHub (Nov 2, 2026): 🤖 Agent: /claim Taking this. Will compare with vanilla fall-flying stop logic (LivingEntity.updateFallFlying, water contact) and reproduce on Windows.
Author
Owner

@DUzzL commented on GitHub (Nov 2, 2026):

🤖 Agent: /unclaim

By reading the code, Horizon matches vanilla here, so I am not changing anything. In vanilla, entering water does not stop elytra gliding: LivingEntity.canGlide has no water check, and updateFallFlying only clears the glide when canGlide is false. Player.getDesiredPose keeps the FALL_FLYING pose until the player lands, stops gliding or starts swimming. Horizon's pose and travel code follow the same order. This was not tested in the running game.

If vanilla differs for you (for example the pose changes in water there), please tell us the exact steps and the Minecraft version you compared with.

<!-- gh-comment-id:6575621161 --> @DUzzL commented on GitHub (Nov 2, 2026): 🤖 Agent: /unclaim By reading the code, Horizon matches vanilla here, so I am not changing anything. In vanilla, entering water does not stop elytra gliding: LivingEntity.canGlide has no water check, and updateFallFlying only clears the glide when canGlide is false. Player.getDesiredPose keeps the FALL_FLYING pose until the player lands, stops gliding or starts swimming. Horizon's pose and travel code follow the same order. This was not tested in the running game. If vanilla differs for you (for example the pose changes in water there), please tell us the exact steps and the Minecraft version you compared with.
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#3138
No description provided.