[GH-ISSUE #2624] Spear right-click action is not implemented #654

Closed
opened 2026-11-02 15:40:51 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @2302479492 on GitHub (Oct 27, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/2624

Description

The spear currently only supports left-click attacking. Right-clicking while holding a spear does nothing, so the right-click behavior appears to be unimplemented.

Current behavior

  • Left-click: attacks mobs.
  • Right-click with a spear: no effect.

Expected behavior

The spear's right-click should implement the intended charge attack mechanic:

  • Holding right-click lowers the spear into a charge position.
  • Damage depends on the spear material, the player's view angle, and the relative velocity between the attacker and the target.
  • The charge has three stages:
    • Engaged: deals damage and knockback, and can dismount riders if fast enough.
    • Tired: still deals damage and knockback, but cannot dismount riders.
    • Disengaged: only deals damage.
  • Charge attacks can hit targets through non-solid blocks such as tall grass.

Steps to reproduce

  1. Obtain a spear.
  2. Left-click a mob and confirm the attack works.
  3. Right-click while holding the spear.
  4. Observe that nothing happens.
Originally created by @2302479492 on GitHub (Oct 27, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/2624 ### Description The spear currently only supports left-click attacking. Right-clicking while holding a spear does nothing, so the right-click behavior appears to be unimplemented. ### Current behavior - Left-click: attacks mobs. - Right-click with a spear: no effect. ### Expected behavior The spear's right-click should implement the intended charge attack mechanic: - Holding right-click lowers the spear into a charge position. - Damage depends on the spear material, the player's view angle, and the relative velocity between the attacker and the target. - The charge has three stages: - Engaged: deals damage and knockback, and can dismount riders if fast enough. - Tired: still deals damage and knockback, but cannot dismount riders. - Disengaged: only deals damage. - Charge attacks can hit targets through non-solid blocks such as tall grass. ### Steps to reproduce 1. Obtain a spear. 2. Left-click a mob and confirm the attack works. 3. Right-click while holding the spear. 4. Observe that nothing happens.
Author
Owner

@kacpherek commented on GitHub (Oct 27, 2026):

Thanks @2302479492 for the report! A fix is up in #2682: right-clicking with a spear now charges it and stabs mobs by your speed (damage, knockback and dismount windows per material). It's waiting for review.

<!-- gh-comment-id:6434646791 --> @kacpherek commented on GitHub (Oct 27, 2026): Thanks @2302479492 for the report! A fix is up in #2682: right-clicking with a spear now charges it and stabs mobs by your speed (damage, knockback and dismount windows per material). It's waiting for review.
Author
Owner

@socksprox commented on GitHub (Oct 27, 2026):

🤖 Agent: Covered by open PR #2682 ("Implement the spear's right-click charge").

<!-- gh-comment-id:6443365770 --> @socksprox commented on GitHub (Oct 27, 2026): 🤖 Agent: Covered by open PR #2682 ("Implement the spear's right-click charge").
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#654
No description provided.