[GH-ISSUE #1362] [both singleplayer modes] Cows ignore buckets and wheat held in the offhand #386

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

Originally created by @rdbtCVS on GitHub (Oct 23, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/1362

Tested 83fa14e51b89eab728b8e233e9e5d95296bef93d; reproduced in both explicitly selected singleplayer modes.

Reproduce

  1. In survival, hold an empty bucket and press F to put it in the offhand. Leave the main hand empty.
  2. Aim at an adult cow within reach and right-click.
  3. Wait two seconds, press F again to put the same bucket in the main hand, and right-click the same cow.

Expected: Either hand can milk the cow.

Actual: Offhand use leaves the empty bucket unchanged. Moving that bucket to the main hand immediately produces a milk bucket. Offhand wheat also fails to feed a fresh adult cow, whereas main-hand wheat is consumed.

Reproduced in two fresh milking mode pairs plus separate feeding controls. Authoritative equipment/inventory data confirms the unchanged offhand bucket and successful main-hand result. Native 26.3 AbstractCow.mobInteract uses the supplied hand for both reading and replacing the bucket.

Evidence: .local/singleplayer-audit/entities-{c,d}/milking-{old,threaded}/result.json and entities-a/feeding-*/result.json. Driver: tools/singleplayer_entities_audit.py --case milking. #1293 concerns cancelling offhand food, not animal interaction.

Hypothesis: Entity interaction only runs for the main hand; the offhand fallback reaches item use but not the cow.

Acceptance: Offhand buckets milk cows and offhand wheat feeds eligible cows, consuming/replacing the correct hand's stack.

Originally created by @rdbtCVS on GitHub (Oct 23, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/1362 Tested `83fa14e51b89eab728b8e233e9e5d95296bef93d`; reproduced in both explicitly selected singleplayer modes. **Reproduce** 1. In survival, hold an empty bucket and press F to put it in the offhand. Leave the main hand empty. 2. Aim at an adult cow within reach and right-click. 3. Wait two seconds, press F again to put the same bucket in the main hand, and right-click the same cow. **Expected:** Either hand can milk the cow. **Actual:** Offhand use leaves the empty bucket unchanged. Moving that bucket to the main hand immediately produces a milk bucket. Offhand wheat also fails to feed a fresh adult cow, whereas main-hand wheat is consumed. Reproduced in two fresh milking mode pairs plus separate feeding controls. Authoritative equipment/inventory data confirms the unchanged offhand bucket and successful main-hand result. Native 26.3 `AbstractCow.mobInteract` uses the supplied hand for both reading and replacing the bucket. Evidence: `.local/singleplayer-audit/entities-{c,d}/milking-{old,threaded}/result.json` and `entities-a/feeding-*/result.json`. Driver: `tools/singleplayer_entities_audit.py --case milking`. #1293 concerns cancelling offhand food, not animal interaction. **Hypothesis:** Entity interaction only runs for the main hand; the offhand fallback reaches item use but not the cow. **Acceptance:** Offhand buckets milk cows and offhand wheat feeds eligible cows, consuming/replacing the correct hand's stack.
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#386
No description provided.