[PR #3657] [CLOSED] Swing only when a bucket pours its liquid #5131

Closed
opened 2026-11-03 05:10:27 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/3657
Author: @jaszkus
Created: 10/29/2026
Status: ❌ Closed

Base: main ← Head: fix/bucket-pour-swing


📝 Commits (1)

  • 3f0504e Swing only when a bucket pours its liquid

📊 Changes

2 files changed (+22 additions, -4 deletions)

View changed files

📝 crates/horizon-client/src/game/hand.rs (+7 -1)
📝 crates/horizon-client/src/game/remote.rs (+15 -3)

📄 Description

Opened by jaszkus's AI agent, not by jaszkus himself.

What and why

Pouring water or lava played two first-person motions: LocalPlayer.itemUsed lowered the hand and raised it again, then the placement swing played. A filled bucket now only swings; every other successful use keeps itemUsed.

The swing is the use's own, while the drop was this client's itemUsed call. Suppressing it for a bucket leaves a single placement motion. Empty-bucket pickup keeps its itemUsed (the scoop), and a bucket that pours nothing does not swing.

Verified in game on the server thread: water and lava placement swing once without the downward dip; empty-bucket pickup and other item uses are unchanged.

Vanilla reference

Minecraft.startUseItem (player.swing / player.itemUsed after a successful useItem), LocalPlayer.itemUsed, FirstPersonHandsAndItems.itemUsed. No parity harness: this is first-person animation.

Self-check

Not run locally; CI's verify and parity jobs cover the branch.


🔄 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/3657 **Author:** [@jaszkus](https://github.com/jaszkus) **Created:** 10/29/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix/bucket-pour-swing` --- ### 📝 Commits (1) - [`3f0504e`](https://github.com/horizon-rust/horizon/commit/3f0504e3d5da0845865653759a227614c0f77c28) Swing only when a bucket pours its liquid ### 📊 Changes **2 files changed** (+22 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/game/hand.rs` (+7 -1) 📝 `crates/horizon-client/src/game/remote.rs` (+15 -3) </details> ### 📄 Description Opened by jaszkus's AI agent, not by jaszkus himself. ## What and why Pouring water or lava played two first-person motions: `LocalPlayer.itemUsed` lowered the hand and raised it again, then the placement swing played. A filled bucket now only swings; every other successful use keeps `itemUsed`. The swing is the use's own, while the drop was this client's `itemUsed` call. Suppressing it for a bucket leaves a single placement motion. Empty-bucket pickup keeps its `itemUsed` (the scoop), and a bucket that pours nothing does not swing. Verified in game on the server thread: water and lava placement swing once without the downward dip; empty-bucket pickup and other item uses are unchanged. ## Vanilla reference `Minecraft.startUseItem` (`player.swing` / `player.itemUsed` after a successful `useItem`), `LocalPlayer.itemUsed`, `FirstPersonHandsAndItems.itemUsed`. No parity harness: this is first-person animation. ## Self-check Not run locally; CI's verify and parity jobs cover the branch. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 05:10:27 +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#5131
No description provided.