mojira.dev
MC-305425

When rebinding the attack keybind to a non-mouse key, the spear jabs infinitely when held down.

To reproduce:
1. Open a Minecraft Java Edition world.

  1. Rebind attack key to an unused keyboard key (such as J)

  2. Put a spear in the main hand

  3. Hold down the bound key to attack

Expected result: The spear attacks once then stops.

Actual result: The spear jabs and then keeps jabbing when the cooldown finishes.

Linked issues

Attachments

Comments 2

yes if you HOLD down the attack key ā€œJā€œ in your example it makes it more than once

This is already being tracked in MC-129132.

ItzLeTurtle

(Unassigned)

Unconfirmed

(Unassigned)

1.21.11

Retrieved