Skip to content

No Click Delay

By awruffOwner

Fixes the click delay on 1.8.x by properly resetting it on release.

<1,000 downloads Updated

No ratings yet

Be the first to rate it.

Rate it

Community listing page

Community listing page, reviews may not be monitored by the author.

About

Description

No Click Delay

An Ornithe mod for Minecraft 1.8.9 that fixes the attack delay by resetting the attack cooldown when the attack key is released.

The bug

When you click and hit nothing, 1.8 starts a half-second cooldown during which your clicks are ignored. Letting go of the button is supposed to cancel it, so a normal click after a miss still works.

The game only checks whether the button is up once per tick, which is 20 times a second. If you let go and click again between two checks, it never sees the button up. The cooldown keeps running and your next clicks do nothing until it ends. The faster you click, the more often this happens, which is why your sword sometimes stops swinging in the middle of a fight.

The fix

The mod cancels the cooldown at the moment you release the button, without waiting for the next check. This is the rule the game already has, applied on time.

Why not just remove the cooldown?

Most click delay fixes skip the cooldown check completely, so every click attacks no matter what. That fixes the delay, but the game uses the same cooldown for a second job: ignoring the click that brings you back into the game. When you click on the Minecraft window to focus it, that click should not also hit whatever is in front of you.

Situation Vanilla 1.8 This mod Other mods
Clicking fast after a miss Clicks are dropped Clicks register Clicks register
Clicking on the window to focus it Ignored Same Swings
Holding that click down Nothing until released Same Keeps mining the block
A click still pending as a menu closes Ignored Same Attacks
A second full click in the same tick as a focus click Ignored Attacks Attacks
Missing, holding the button, moving to a block Mining starts late Same Same