LiquidSense Dev AutoClicker: Full Source Analysis
AutoClicker fakes mouse clicks through KeyBinding.onTick while a mouse button is held, one independent latch per button, driven from Render3DEvent and paced by TimeUtils.randomClickDelay.
Published 2026-08-12 · Updated 2026-08-12
Packets This Module Uses
Analysis
Overview
AutoClicker fakes mouse clicks through KeyBinding.onTick while a mouse button is held, one independent latch per button, driven from Render3DEvent and paced by TimeUtils.randomClickDelay. Each fire recomputes a fresh uniform delay over the [1000/maxCPS, 1000/minCPS] span, so the cadence is wall-clock randomized rather than fixed-period. An optional Jitter mode perturbs yaw and pitch by up to one degree in UpdateEvent to break rotation heuristics. Because the module never touches packet classes, the click output is whatever the vanilla click pipeline emits: a swing (C0A) and, on a ray-traced hit, the C02 attack.
Click latches
onRender fires at render rate, not tick rate. The left branch requires keyBindAttack.isKeyDown and leftValue, the right branch requires keyBindUseItem.isKeyDown, rightValue and a player who is not using an item; each branch then calls KeyBinding.onTick on the vanilla key binding, which sets its pressed flag for the game loop's next tick. The vanilla run-tick click handling consumes that flag: clickMouse() swings the arm and attacks the targeted entity, rightClickMouse() uses the held item, so the module needs no packet code of its own. leftLastSwing and rightLastSwing are wall-clock stamps updated per fire and the next delay is resampled immediately, so the inter-click gaps are independent uniform draws.
Delay model
TimeUtils.randomClickDelay(minCPS, maxCPS) computes (long) ((Math.random() * (1000 / minCPS - 1000 / maxCPS + 1)) + 1000 / maxCPS) with integer division. With the stock defaults 5-8 CPS that is a uniform draw over [125, 200] milliseconds, mean near 162ms, about 6.2 clicks per second rather than the nominal 6.5 midpoint, and the value change handlers clamp the bounds so minCPS can never exceed maxCPS. The span covers the whole band uniformly: every interval is as likely as any other, which is the signature consistency statistics key on.
Jitter and delivery
Jitter mode runs from UpdateEvent while a button is held and rolls Random.nextBoolean for each axis: yaw and pitch move by up to plus or minus one degree per tick, with pitch clamped to the [-90, 90] range so the random walk cannot escape the legal vertical envelope. The rotation edits land in the player's view and therefore in the next C03 look values, but clicks are unaffected. Delivery of the click itself is tick-quantized even though the latch is millisecond-precise: a delay that expires mid-tick waits for the next run-tick, so the effective inter-C0A gap is the drawn delay rounded up to the tick boundary.
source AutoClicker.kt
| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | |
| 8 | |
| 9 | |
| 10 | |
| 11 | |
| 12 | |
| 13 | |
| 14 | |
| 15 | |
| 16 | |
| 17 | |
| 18 | |
| 19 | |
| 20 | |
| 21 | |
| 22 | |
| 23 | |
| 24 | |
| 25 | |
| 26 | |
| 27 | |
| 28 | |
| 29 | |
| 30 | |
| 31 | |
| 32 | |
| 33 | |
| 34 | |
| 35 | |
| 36 | |
| 37 | |
| 38 | |
| 39 | |
| 40 | |
| 41 | |
| 42 | |
| 43 | |
| 44 | |
| 45 | |
| 46 | |
| 47 | |
| 48 | |
| 49 | |
| 50 | |
| 51 | |
| 52 | |
| 53 | |
| 54 | |
| 55 | |
| 56 | |
| 57 | |
| 58 | |
| 59 | |
| 60 | |
| 61 | |
| 62 | |
| 63 | |
| 64 | |
| 65 | |
| 66 | |
| 67 | |
| 68 | |
| 69 | |
| 70 | |
| 71 | |
| 72 | |
| 73 | |
| 74 | |
| 75 | |
| 76 | |
| 77 | |
| 78 | |
| 79 | |
| 80 | |
| 81 | |
| 82 | |
| 83 | |
| 84 | |
| 85 | |
| 86 | |
| 87 | |
| 88 | |
| 89 | |
What this file does
Both handlers are here: onRender owns the per-button latches and KeyBinding.onTick calls, onUpdate owns the Jitter rotation walk. The independent left/right lastSwing stamps and per-fire delay resampling are the whole cadence mechanism, and the absence of any packet import is itself the finding: the module rides the vanilla click pipeline.
source TimeUtils.java (randomClickDelay)
| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | |
| 8 | |
| 9 | |
| 10 | |
| 11 | |
| 12 | |
| 13 | |
| 14 | |
| 15 | |
| 16 | |
| 17 | |
| 18 | |
| 19 | |
| 20 | |
| 21 | |
| 22 | |
| 23 | |
| 24 | |
| 25 | |
| 26 | |
| 27 | |
| 28 | |
| 29 | |
| 30 | |
| 31 | |
| 32 | |
| 33 | |
| 34 | |
| 35 | |
| 36 | |
| 37 | |
| 38 | |
| 39 | |
| 40 | |
| 41 | |
| 42 | |
| 43 | |
| 44 | |
| 45 | |
| 46 | |
| 47 | |
| 48 | |
| 49 | |
| 50 | |
| 51 | |
| 52 | |
| 53 | |
| 54 | |
| 55 | |
| 56 | |
| 57 | |
| 58 | |
| 59 | |
| 60 | |
| 61 | |
| 62 | |
| 63 | |
| 64 | |
| 65 | |
| 66 | |
What this file does
randomClickDelay is the cadence generator: a uniform draw over [1000/maxCPS, 1000/minCPS + 1) milliseconds using integer division on the CPS bounds. The uniform distribution across the whole band is what the module's anti-heuristic randomization amounts to, and it is also what makes the mean-stability statistics of consistency checks see through it.
anticheat Countering Checks
The anticheat code that detects or counters the techniques this module uses. Full source, with the detection mechanism explained below each box.
anticheat FightSpeed (attack-rate cap)
| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | |
| 8 | |
| 9 | |
| 10 | |
| 11 | |
| 12 | |
| 13 | |
| 14 | |
| 15 | |
| 16 | |
| 17 | |
| 18 | |
| 19 | |
| 20 | |
| 21 | |
| 22 | |
| 23 | |
| 24 | |
| 25 | |
| 26 | |
| 27 | |
| 28 | |
| 29 | |
| 30 | |
| 31 | |
| 32 | |
| 33 | |
| 34 | |
| 35 | |
| 36 | |
| 37 | |
| 38 | |
| 39 | |
| 40 | |
| 41 | |
| 42 | |
| 43 | |
| 44 | |
| 45 | |
| 46 | |
| 47 | |
| 48 | |
| 49 | |
| 50 | |
| 51 | |
| 52 | |
| 53 | |
| 54 | |
| 55 | |
| 56 | |
| 57 | |
| 58 | |
| 59 | |
| 60 | |
| 61 | |
| 62 | |
| 63 | |
| 64 | |
| 65 | |
| 66 | |
| 67 | |
| 68 | |
| 69 | |
| 70 | |
| 71 | |
| 72 | |
| 73 | |
| 74 | |
| 75 | |
| 76 | |
| 77 | |
| 78 | |
| 79 | |
| 80 | |
| 81 | |
| 82 | |
| 83 | |
| 84 | |
| 85 | |
| 86 | |
| 87 | |
| 88 | |
| 89 | |
| 90 | |
How it counteracts this module
FightSpeed records non-INTERACT InteractEntityEvent deltas within a 4-tick sensitivity window, keeps a 10-sample buffer and reports CPS as 20 divided by the average tick spacing, flagging above MAX_CPS 16. At stock 5-8 CPS settings the module lands near 6.2 clicks per second, far under 16, so the check only engages when the user pushes minCPS toward the 20 cap; at a fixed 20 APS the 1-tick spacing reads exactly 20 and trips every sample.
anticheat FightSpeedConsistency (cadence regularity)
| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | |
| 8 | |
| 9 | |
| 10 | |
| 11 | |
| 12 | |
| 13 | |
| 14 | |
| 15 | |
| 16 | |
| 17 | |
| 18 | |
| 19 | |
| 20 | |
| 21 | |
| 22 | |
| 23 | |
| 24 | |
| 25 | |
| 26 | |
| 27 | |
| 28 | |
| 29 | |
| 30 | |
| 31 | |
| 32 | |
| 33 | |
| 34 | |
| 35 | |
| 36 | |
| 37 | |
| 38 | |
| 39 | |
| 40 | |
| 41 | |
| 42 | |
| 43 | |
| 44 | |
| 45 | |
| 46 | |
| 47 | |
| 48 | |
| 49 | |
| 50 | |
| 51 | |
| 52 | |
| 53 | |
| 54 | |
| 55 | |
| 56 | |
| 57 | |
| 58 | |
| 59 | |
| 60 | |
| 61 | |
| 62 | |
| 63 | |
| 64 | |
| 65 | |
| 66 | |
| 67 | |
| 68 | |
| 69 | |
| 70 | |
| 71 | |
| 72 | |
| 73 | |
| 74 | |
| 75 | |
| 76 | |
| 77 | |
| 78 | |
| 79 | |
| 80 | |
| 81 | |
| 82 | |
| 83 | |
| 84 | |
| 85 | |
| 86 | |
| 87 | |
| 88 | |
| 89 | |
| 90 | |
| 91 | |
| 92 | |
| 93 | |
| 94 | |
| 95 | |
| 96 | |
| 97 | |
| 98 | |
| 99 | |
| 100 | |
| 101 | |
| 102 | |
| 103 | |
| 104 | |
| 105 | |
| 106 | |
| 107 | |
| 108 | |
| 109 | |
| 110 | |
| 111 | |
| 112 | |
| 113 | |
| 114 | |
| 115 | |
| 116 | |
| 117 | |
| 118 | |
| 119 | |
| 120 | |
How it counteracts this module
The check averages 20-click windows and flags when the standard deviation of five consecutive window means drops below 0.05 while the average exceeds MIN_CPS 10. The module's independent uniform draws average out over 20-click windows by the central limit theorem, so the window means are nearly constant and the check would flag once the mean cadence clears 10 CPS; the stock defaults sit under the gate, which is the honest evasion surface.
anticheat NoSwing (swing ledger)
| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | |
| 8 | |
| 9 | |
| 10 | |
| 11 | |
| 12 | |
| 13 | |
| 14 | |
| 15 | |
| 16 | |
| 17 | |
| 18 | |
| 19 | |
| 20 | |
| 21 | |
| 22 | |
| 23 | |
| 24 | |
| 25 | |
| 26 | |
| 27 | |
| 28 | |
| 29 | |
| 30 | |
| 31 | |
| 32 | |
| 33 | |
| 34 | |
| 35 | |
| 36 | |
| 37 | |
| 38 | |
| 39 | |
| 40 | |
| 41 | |
| 42 | |
| 43 | |
| 44 | |
| 45 | |
| 46 | |
| 47 | |
| 48 | |
| 49 | |
| 50 | |
| 51 | |
| 52 | |
| 53 | |
| 54 | |
| 55 | |
| 56 | |
| 57 | |
| 58 | |
| 59 | |
| 60 | |
| 61 | |
| 62 | |
| 63 | |
| 64 | |
| 65 | |
How it counteracts this module
FightListener increments noSwingCount per attack and decrements it per PlayerAnimationEvent, and check() only accumulates VL while the count stays above 1. Because KeyBinding.onTick runs the vanilla swing pipeline, every click emits its C0A, so the ledger stays fed and the module is invisible to this check; it only matters for no-swing autoclicker variants that attack without animating.
anticheat ClicksListener (C0A sampling feed)
| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | |
| 8 | |
| 9 | |
| 10 | |
| 11 | |
| 12 | |
| 13 | |
| 14 | |
| 15 | |
| 16 | |
| 17 | |
| 18 | |
| 19 | |
| 20 | |
| 21 | |
| 22 | |
| 23 | |
| 24 | |
| 25 | |
| 26 | |
| 27 | |
| 28 | |
| 29 | |
| 30 | |
| 31 | |
| 32 | |
| 33 | |
| 34 | |
| 35 | |
| 36 | |
| 37 | |
| 38 | |
| 39 | |
| 40 | |
| 41 | |
| 42 | |
| 43 | |
| 44 | |
| 45 | |
| 46 | |
| 47 | |
| 48 | |
| 49 | |
| 50 | |
| 51 | |
| 52 | |
| 53 | |
| 54 | |
| 55 | |
| 56 | |
| 57 | |
| 58 | |
| 59 | |
| 60 | |
| 61 | |
| 62 | |
| 63 | |
| 64 | |
| 65 | |
How it counteracts this module
The listener is Spartan's C0A feed for FastClicks: per arm animation it computes the delay since the last click, clears clickBlocker above 150ms and otherwise routes a PlayerLeftClickEvent into executeRunners. The module's 125-200ms draws straddle that 150ms reset line, so the feed engages intermittently; the FastClicks verdict thresholds live in an executor class absent from the clone, so the listener is citable as the sampling layer, not the verdict.