Sigma 4.11 AutoClicker: Full Source Analysis
Sigma 4.11's AutoClicker fires from the EventUpdate pre branch with four settings: a base CPS (1-20, default 8), a RANDOM toggle, MIN/MAX randomization bounds (default 7/10), and an ON-MOUSE hold gate.
Published 2026-08-12 · Updated 2026-08-12
Packets This Module Uses
Analysis
Overview
Sigma 4.11's AutoClicker fires from the EventUpdate pre branch with four settings: a base CPS (1-20, default 8), a RANDOM toggle, MIN/MAX randomization bounds (default 7/10), and an ON-MOUSE hold gate. The per-click delay is 1000 / cpsdel, where cpsdel is the base CPS plus a fresh random draw on every click, and the draw formula hides a bound inversion: randomNumber(max, min) returns -min + (int)(Math.random() * ((max + min) + 1)), and the module calls it as randomNumber(minran, maxran), so the effective range is [-MAX, +MIN] - the 'MAX' setting controls the downward jitter. At defaults that is a uniform draw from -10..+7 layered on 8 CPS, clamped to a minimum of 1, so delays span 66.7ms to 1000ms and roughly one click in six (the draws -10, -9, -8) stalls for a full second. Each accepted click runs onStoppedUsingItem, swingItem and clickMouse; the vanilla clickMouse in this fork swings again at its top, so one click emits two C0A arm swings in the same tick followed by the C02 ATTACK when an entity is hovered.
Click scheduling
The delay is recomputed from scratch on every fire. randomNumber(max, min) (lines 31-34) evaluates -min + (int)(Math.random() * ((max - (-min)) + 1)), and the call site passes (minran, maxran), so with the parameter names reversed the returned integer is uniform over [-maxran, +minran]. With the defaults MIN=7, MAX=10 that is -10..+7, and because the draw is iid uniform, 3 of the 18 outcomes (-10, -9, -8) push cpsdel to 0 or below, where the clamp at line 50 forces a 1 CPS floor: those clicks wait a full 1000ms. The remaining 15 outcomes yield delays between 1000/15 = 66.7ms and 1000/12 = 83.3ms (cpsdel 15 down to 12), so the module's real behavior at defaults is short bursts of 12-15 CPS punctuated by ~1-in-6 one-second gaps - not a normal distribution around 8 CPS, but a clipped uniform. The Timer is Sigma's util Timer: delay(float) compares (System.nanoTime() / 1000000L) - prevMS against the millisecond target and reset() stamps prevMS after each fire, so the period is measured fire-to-fire on a monotonic clock, immune to wall-clock changes. The pre gate (lines 41-44) requires the pre phase, no open screen, an alive player, and - when ON-MOUSE is on - Mouse.isButtonDown(0), so a release stops emission on the next update.
Click emission
Each accepted click runs three calls in sequence. onStoppedUsingItem (line 53) ends any active item use so the click is not consumed as a block-release. swingItem() (line 54) sends the C0A arm swing. clickMouse() (line 55) is the vanilla Minecraft.clickMouse of this fork, which swings again at its top when leftClickCounter <= 0 and then routes by the hit type: an ENTITY hit goes through playerController.attackEntity, which in this fork does not swing itself and simply queues the C02PacketUseEntity ATTACK; a BLOCK hit starts digging (C07), and a MISS resets leftClickCounter to 10 for non-creative. The net effect for entity combat is two C0A packets in the same tick followed by one C02 - the second swing passes EntityPlayer.swingItem's isSwingInProgress guard because the first swing set swingProgressInt to -1. The swing-to-attack ratio is therefore 2:1 with both swings clustered at the attack tick, a distinctive burst pattern a human never produces (real double-swinging is separated by at least a tick of render time). The explicit swingItem also guarantees a C0A even on a MISS, so the module never attacks or swings silently.
Hold behavior and statistical shape
The ON-MOUSE gate is re-evaluated on every pre tick, so clicks begin and end with the physical button - there is no release ramp and no minimum-hold time, which a human's 50-200ms micro-releases would show as gaps. The randomization is the module's only humanizing element, and it is per-click rather than per-window: consecutive intervals are iid uniform draws from the clipped range, so a short trace of deltas looks plausibly organic. But the counter surface is statistical: window-averaged CPS (the 20-click windows Hawk's FightSpeedConsistency samples) converges by the law of large numbers to the mean of the clipped distribution, so the variance that hides the module per-click vanishes in the window averages. The bound inversion also means the settings dialog is misleading - raising MAX widens the downward jitter and lowers the mean CPS, while raising MIN raises the ceiling - which is worth knowing for any manual bypass tuning.
source AutoClicker.java (module)
| 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 | |
What this file does
The module is 61 lines. The constructor (lines 15-22) registers the five settings with their defaults: CPS 8 (1-20), RANDOM true, MIN 7, MAX 10, ON-MOUSE true. The randomization helper is lines 31-34: randomNumber(max, min) = -min + (int)(Math.random() * ((max + min) + 1)), and the call site at line 49 passes (minran, maxran), inverting the named roles so the draw spans [-MAX, +MIN]. The onEvent handler (lines 36-60) is annotated @RegisterEvent(events = {EventUpdate.class}) and branches on the pre phase (line 41), guarding against an open screen, a dead player, and (line 42-44) a released mouse when ON-MOUSE is set. The delay computation is lines 45-51: cpsdel = cps + rand, clamped to at least 1, del = 1000 / cpsdel; the clamp means the draw outcomes at or below -cps produce the full one-second wait described in the overview. Lines 52-57 are the emission: timer.delay(del) must pass, then onStoppedUsingItem, swingItem and clickMouse, then timer.reset() so the next interval is measured from this fire. The double-swing detail comes from this fork's Minecraft.clickMouse, which calls swingItem() at its top when leftClickCounter <= 0 before dispatching the hit action; attackEntity itself only queues the C02.
source Timer.java (delay gate)
| 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 | |
What this file does
Sigma's Timer is a monotonic millisecond clock. getTime() (lines 19-21) returns System.nanoTime() / 1000000L, so elapsed time is measured against the uptime clock rather than wall time - a system clock change mid-click cannot stretch or compress the cadence. delay(float milliSec) (lines 11-13) passes when getTime() - prevMS >= milliSec, and reset() (lines 15-17) stamps prevMS with the current getTime(). The AutoClicker calls delay(del) with the freshly computed 1000/cpsdel and resets immediately after a fire, so each interval is measured from the previous fire, exactly like Spicy's Timer but on the monotonic clock. The class also exposes setDifference, used by other Sigma modules to shift prevMS backwards (effectively pre-arming the timer); the AutoClicker never uses it, so its delay can never fire early, only late by the tick-polling quantization.
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 (CPS cap on tick deltas)
| 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
Hawk's FightSpeed caps sustained click speed: deltas between consecutive non-INTERACT entity interactions are recorded in client ticks when at most RECORD_SENSITIVITY (4) ticks, accumulated to SAMPLES (default 10), and converted to CPS as 20 / average tick spacing; an average above MAX_CPS (default 16) punishes. Sigma's module is below this cap at default settings: the clipped draw puts cpsdel in 12-15 most of the time (delays 66.7-83.3ms, i.e. 1.3-1.7 ticks), which reports 12-15 CPS, and the one-second stalls report 1 CPS, dragging the window average down toward the distribution mean of ~6.5 CPS. The check becomes relevant only when the base CPS is raised: with a base of 18 the positive draws reach cpsdel 25 (35.7ms, 0.71 ticks, ~28 CPS reported), and every window containing enough positive draws exceeds 16. So FightSpeed counters the high-end configuration of the module, while the default configuration slips under it - which is exactly why the consistency check below exists.
anticheat FightSpeedConsistency (stdev of window CPS)
| 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
FightSpeedConsistency averages 20-click windows into a single CPS value and flags when the stdev of 5 consecutive window averages falls below STDEV_THRESHOLD (0.05) - but only when the window average exceeds MIN_CPS (10). This is the check that Sigma's randomization was built to fool, and the one that defeats it at higher settings: the per-click draws are iid uniform, so a 20-click window average converges to the mean of the clipped distribution; the variance that makes individual intervals look human disappears in the window mean. At a base CPS where the distribution mean sits above 10 (roughly base 12 and up, given the -10..+7 draw on top of it), five successive window averages are nearly identical and the stdev is far below 0.05, producing the 'Autoclicker?' punishment. At the default base of 8 the mean is ~6.5, the window averages never exceed MIN_CPS, and the check stays silent - the module's default configuration is tuned to live under this threshold, and the bound inversion (the 'MAX' setting actually widening the downward jitter) is what keeps the mean low. Raising MIN instead of MAX is the setting that would push the mean up and trip it.
anticheat NoSwing (attack-without-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
NCP's fight NoSwing keeps a swing ledger around the attack stream: every attack increments noSwingCount (FightListener line 323-324), every PlayerAnimationEvent decrements it (line 800), and the check (lines 41-63) halves the VL for a swing-backed attack but adds 1 to noSwingVL for a second consecutive swingless attack, running the configured actions when the VL crosses its thresholds. Sigma's module feeds the ledger twice per click: the explicit swingItem() and the swing at the top of clickMouse() both arrive in the same tick as the C02 ATTACK, so noSwingCount never survives past 1 and the check never fires. The double swing is if anything over-cautious from the anticheat's point of view - the ledger contract is satisfied with margin. The check's actual counter surface is the noSwing autoclicker family (modules that suppress C0A entirely to dodge cadence analysis), and any Sigma-side module configured to attack without the swing, or any swing-suppressing 'silent' variant of this client, is what lands here. For AutoClicker proper it is a check that observes the C0A/C02 coupling without being able to punish it.
anticheat ClicksListener (C0A delay 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
Spartan's ClicksListener is the C0A sampling layer: a ProtocolLib adapter on ARM_ANIMATION and BLOCK_DIG that timestamps every arm swing, computes the inter-click delay, and dispatches a PlayerLeftClickEvent(delay) through executeRunners to the FastClicks check (registered for HackType.FAST_CLICKS in the same snapshot's Enums.java), with a clickBlocker flag suppressing events while the player digs (non-ABORT BLOCK_DIG) and a 150ms delay threshold that clears the blocker when clicking resumes. The detector judges the delay distribution of the C0A train. Sigma's module produces a distinctive shape on this feed: delays are drawn from a two-regime distribution - 66.7-83.3ms most of the time plus a ~1-in-6 full-second gap - which is a heavier tail than any human click stream and a bimodal delay histogram that rate-based analysis picks up even though the short-term rate stays under Hawk's cap. Because the module's randomization is iid, the order statistics of the delay stream (not just the mean) are the tell; the FastClicks implementation itself is not present in this source snapshot, so its exact thresholds cannot be quoted, but the listener is the demonstrated feed that produces the samples.