mojira.dev
MC-59810

Cannot break blocks while sprinting (Ctrl+Click = right click on macOS)

A few updates ago the ability to do Control + Left Click on Mac to do a right click was introduced. But then, sprinting with control was also added. For this reason, when you sprint on a Mac, you are unable to break blocks or attack because you are forced to right click.

Would it be possible to add an option to disable the Control + Left Click = Right Click in the Controls panel of the Options?

Related issues

Comments

migrated

Please don't put down the affected version as a future version, as you don't have access to it yet.

Dupe of MC-13695

migrated

No! This is NOT a duplicate of the bug report that said that the ctrl and left click did not work, this is a bug report that the ctrl and left click DOES work, but it gets in the way while sprinting with control because you cannot LEFT CLICK anything because the ctrl and left click WORKS. I was asking if there could be an option to REMOVE THIS FEATURE in the controls panel. Please read before marking this as a duplicate of the complete opposite.

migrated

Please remove the dupe tag and reopen this thread.

Torabi

This behavior is handled by LWJGL, and is completely transparent to Minecraft.

migrated

Modified copy of what I put in my duplicate issue MC-255800

This is not done by LWJGL at all (it may have been in older versions, but definitely isn't in 1.19 - I suspect not since 1.13).

This should be resolved as works as intended instead. I had a look at the input code for this and discovered that it was actually done by Minecraft in the input code. I think this is bad since it makes using the default controls basically not playable on a real mouse. This should be (imo) removed or an option, since it makes it impossible to sprint and left click on a normal mouse, but can be somewhat useful on a trackpad (not useful enough imo to make the game substantially worse on macOS when using a mouse compared to other platforms).
Fabric function name that implements this - Mouse.onMouseButton

clamlol

Affects 24w03b. Using toggle sprint helps alleviate the issue, but a new setting for this behavior would still be the best solution.

Gabriel_Science

This is clearly observable in PvP, when you have to sprint attack.

migrated

(Unassigned)

Community Consensus

Platform

Important

Input

Minecraft 14w26c, Minecraft 1.7.10, 1.19.2, 1.19.3, 24w03b

Retrieved