[PR #5790] [MERGED] Glide with a glider component in any worn slot, wear the piece used #6498

Closed
opened 2026-11-03 06:21:40 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/5790
Author: @kacpherek
Created: 11/1/2026
Status: ✅ Merged
Merged: 11/1/2026
Merged by: @ludovic111

Base: main ← Head: fix/glider-any-slot


📝 Commits (4)

  • 6aa7f4c Glide with a glider in any worn armour slot, or a patched one
  • 9e1f843 Merge main into #5790
  • ba68d15 Glide wear: pick the worn glider with the entity's own random
  • a474253 Merge main into #5790

📊 Changes

3 files changed (+48 additions, -32 deletions)

View changed files

📝 crates/horizon-client/src/game.rs (+45 -17)
📝 crates/horizon-client/src/game/lan_actions.rs (+2 -9)
📝 crates/horizon-client/src/game/prediction.rs (+1 -6)

📄 Description

What and why

Armour with the minecraft:glider component (from the item or a server patch) could not glide unless it was an elytra in the chest slot (#5773), and the glide wear always hit the chest slot, so a helmet glider wore the chestplate. Vanilla LivingEntity.canGlide checks every equipment slot with canGlideUsing (has GLIDER, the slot its EQUIPPABLE allows, not about to break), and the wear goes to one of those pieces. gliding_pieces and wear_glider now do that for the local player and for guests on the server path.

Fixes #5773.

Not covered

Hand-slot gliders, the equippable slot from a server patch (base item only), the wing render (still the chest slot), and the wear pick uses the level random instead of the entity's (only matters with two or more glider pieces).

How it was checked

cargo check -p horizon-client --tests passes; Python suite passes (511); rustfmt clean. Not run in game.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon/pull/5790 **Author:** [@kacpherek](https://github.com/kacpherek) **Created:** 11/1/2026 **Status:** ✅ Merged **Merged:** 11/1/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `fix/glider-any-slot` --- ### 📝 Commits (4) - [`6aa7f4c`](https://github.com/horizon-rust/horizon/commit/6aa7f4c2276c346ab3531d4676b8ce08ed60fb38) Glide with a glider in any worn armour slot, or a patched one - [`9e1f843`](https://github.com/horizon-rust/horizon/commit/9e1f8431fa7b55df4f5799ee07398d9cdaf9fc8d) Merge main into #5790 - [`ba68d15`](https://github.com/horizon-rust/horizon/commit/ba68d1505e45b173dd14fd6a5789ad8c2ae5c087) Glide wear: pick the worn glider with the entity's own random - [`a474253`](https://github.com/horizon-rust/horizon/commit/a4742538b28fcb3828d4d2ae0d9244254553552e) Merge main into #5790 ### 📊 Changes **3 files changed** (+48 additions, -32 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/game.rs` (+45 -17) 📝 `crates/horizon-client/src/game/lan_actions.rs` (+2 -9) 📝 `crates/horizon-client/src/game/prediction.rs` (+1 -6) </details> ### 📄 Description ## What and why Armour with the `minecraft:glider` component (from the item or a server patch) could not glide unless it was an elytra in the chest slot (#5773), and the glide wear always hit the chest slot, so a helmet glider wore the chestplate. Vanilla `LivingEntity.canGlide` checks every equipment slot with `canGlideUsing` (has `GLIDER`, the slot its `EQUIPPABLE` allows, not about to break), and the wear goes to one of those pieces. `gliding_pieces` and `wear_glider` now do that for the local player and for guests on the server path. Fixes #5773. ## Not covered Hand-slot gliders, the equippable slot from a server patch (base item only), the wing render (still the chest slot), and the wear pick uses the level random instead of the entity's (only matters with two or more glider pieces). ## How it was checked `cargo check -p horizon-client --tests` passes; Python suite passes (511); rustfmt clean. Not run in game. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 06:21:40 +07:00
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#6498
No description provided.