0x07 C07PacketPlayerDigging

Player starts/cancels/ends mining a block, or drops an item (press Q).

Serverbound (Client → Server) · PLAY · net/minecraft/network/play/client/C07PacketPlayerDigging.java

Published 2026-06-18 · Updated 2026-10-14

playerblockminingitemworld
Comprehensive 8/8

Fields

FieldTypeDescription
positionBlockPosPosition of the affected block
facingEnumFacingFace of the block being mined
statusEnumSTART_DESTROY_BLOCK, ABORT_DESTROY_BLOCK, STOP_DESTROY_BLOCK, DROP_ALL_ITEMS, DROP_ITEM, RELEASE_USE_ITEM

Wire Encoding

FieldTypeNotes
Block PosPosition (long)Encoded as ((x & 0x3FFFFFF) << 38) | ((y & 0xFFF) << 26) | (z & 0x3FFFFFF)
Facingbyte0=bottom, 1=top, 2=north, 3=south, 4=west, 5=east
Statusbyte0=start, 1=cancel, 2=finish, 3=dropStack, 4=dropItem, 5=finishUse

MCP References

MCPNetHandlerPlayServer.processPlayerDigging()

Handler Interface

HNDINetHandlerPlayServer

Notes

RELEASE_USE_ITEM (5) is used when the player stops eating/drinking/using a bow.

Vanilla Source

C07PacketPlayerDigging.java81 lines · MCP 1.8.9Original ↗
1
package net.minecraft.network.play.client;
2
3
import java.io.IOException;
4
import net.minecraft.network.Packet;
5
import net.minecraft.network.PacketBuffer;
6
import net.minecraft.network.play.INetHandlerPlayServer;
7
import net.minecraft.util.BlockPos;
8
import net.minecraft.util.EnumFacing;
9
10
public class C07PacketPlayerDigging implements Packet<INetHandlerPlayServer>
11
{
12
    private BlockPos position;
13
    private EnumFacing facing;
14
15
    /** Status of the digging (started, ongoing, broken). */
16
    private C07PacketPlayerDigging.Action status;
17
18
    public C07PacketPlayerDigging()
19
    {
20
    }
21
22
    public C07PacketPlayerDigging(C07PacketPlayerDigging.Action statusIn, BlockPos posIn, EnumFacing facingIn)
23
    {
24
        this.status = statusIn;
25
        this.position = posIn;
26
        this.facing = facingIn;
27
    }
28
29
    /**
30
     * Reads the raw packet data from the data stream.
31
     */
32
    public void readPacketData(PacketBuffer buf) throws IOException
33
    {
34
        this.status = (C07PacketPlayerDigging.Action)buf.readEnumValue(C07PacketPlayerDigging.Action.class);
35
        this.position = buf.readBlockPos();
36
        this.facing = EnumFacing.getFront(buf.readUnsignedByte());
37
    }
38
39
    /**
40
     * Writes the raw packet data to the data stream.
41
     */
42
    public void writePacketData(PacketBuffer buf) throws IOException
43
    {
44
        buf.writeEnumValue(this.status);
45
        buf.writeBlockPos(this.position);
46
        buf.writeByte(this.facing.getIndex());
47
    }
48
49
    /**
50
     * Passes this Packet on to the NetHandler for processing.
51
     */
52
    public void processPacket(INetHandlerPlayServer handler)
53
    {
54
        handler.processPlayerDigging(this);
55
    }
56
57
    public BlockPos getPosition()
58
    {
59
        return this.position;
60
    }
61
62
    public EnumFacing getFacing()
63
    {
64
        return this.facing;
65
    }
66
67
    public C07PacketPlayerDigging.Action getStatus()
68
    {
69
        return this.status;
70
    }
71
72
    public static enum Action
73
    {
74
        START_DESTROY_BLOCK,
75
        ABORT_DESTROY_BLOCK,
76
        STOP_DESTROY_BLOCK,
77
        DROP_ALL_ITEMS,
78
        DROP_ITEM,
79
        RELEASE_USE_ITEM;
80
    }
81
}

Deobfuscated MCP 1.8.9 source of C07PacketPlayerDigging, fetched directly from Marcelektro/MavenMCP-1.8.9 (net/minecraft/network/play/client/C07PacketPlayerDigging.java) at build time and verified present.

Deep Dive

Role in the protocol

C07PacketPlayerDigging is the serverbound mining and item-use control channel. The wire form is a packed BlockPos (long), a facing byte, and a status enum byte: START_DESTROY_BLOCK, ABORT_DESTROY_BLOCK, STOP_DESTROY_BLOCK, DROP_ALL_ITEMS, DROP_ITEM, RELEASE_USE_ITEM. It is the only way the server learns that the player began mining, finished or cancelled a dig, dropped an item, or released a use-item action such as a bow draw, eating, or blocking. Client-side it is emitted from PlayerControllerMP.clickBlock (START), onPlayerDamageBlock (ABORT), onPlayerDestroyBlock (STOP), EntityPlayerSP.dropOneItem (DROP) and PlayerControllerMP.onStoppedUsingItem (RELEASE_USE_ITEM).

Vanilla handling

NetHandlerPlayServer.processPlayerDigging switches on the status. DROP_ITEM and DROP_ALL_ITEMS call dropOneItem(false/true) unless the player is a spectator. RELEASE_USE_ITEM calls stopUsingItem, which ends the bow draw or eating and computes the fired arrow or consumed food server-side. The three dig actions share a distance gate: squared distance from the player to the block center (with a +1.5 Y bias) must be under 36.0 and the block Y below the build limit. START calls ItemInWorldManager.tryHarvestBlock when the block is not protected and inside the world border, otherwise the server replies with an S23 block change. STOP calls onPlayerDestroyBlock and ABORT cancels the dig; after STOP or ABORT an S23 is re-sent if the block is not air. There is no per-action rate limit.

Why clients touch it

Four families dominate the corpus. Mining automation: Nuker in Rise 5.99 and 6.x sends START+STOP pairs around every block in a radius, with Teleport and Area modes that walk to the target first; Breaker in Memeware, Rise 5.99 and the Rise 6.x Breaker/NewBreaker/NewNewBreaker suite destroys cake, beds and targeted blocks; Tenacity's SpeedMine accumulates block damage client-side and finishes the dig itself. Item-use automation: FastBow in Memeware, Rise 5.99 and Sigma fires fully charged arrows by releasing early; the Rise 5.99 AutoGap/AutoPot/AutoHead/AutoSoup family and Sigma's FastUse use RELEASE_USE_ITEM to end eating, potting and item use instantly. NoSlow lives in Memeware, Rise 5.99, Rise 6.x (Legit/NCP/Intave), Sigma and Spicy, pairing RELEASE_USE_ITEM with a C08 re-place to cancel the slow. Combat auras in every client use RELEASE_USE_ITEM for autoblock, and Rise 6.x velocity and disabler modules spoof dig state for anti-cheat bypasses. The two new research clients add two more. November Recode 2.0's KillAuraModule uses C07 RELEASE_USE_ITEM as the release half of its autoblock pair (C08 place then C07 release) and cancels outgoing releases in its VANILLA and WATCHDOG autoblock modes. LiquidSense Dev's HYTRun emits C07 RELEASE_USE_ITEM for its no-slow leg, and its SpeedMine runs client-side damage accumulation with a 1.4 hardness multiplier before sending STOP_DESTROY_BLOCK.

Exploit surface

The server processes a START+STOP pair as a complete break with no client-side damage accounting, so any module can mine instantly at the packet level; the only server-side evidence is the block's hardness versus the reported dig duration. RELEASE_USE_ITEM ignores the BlockPos entirely, so Spicy's NoSlow can send it with a random double-range position and the server reads only the status. The 36.0 distance gate is generous versus the client's 6-block reach, and Teleport-mode Nuker satisfies it by walking before digging. DROP_ITEM is a free inventory channel. Anti-cheats counter with dig-speed measurement (hardness versus START-to-STOP gap), per-second block counts for nuker patterns, and the release+re-place gap for NoSlow.

Server-Side Handling

processPlayerDigging resolves the block position, then switches on the status ordinal. Drop actions skip the distance check entirely and go straight to dropOneItem; the spectator gate is the only guard. RELEASE_USE_ITEM also skips position validation and calls stopUsingItem, which is why the random-position trick works: the server reads the enum and nothing else. Dig actions enforce the 36.0 squared-distance gate with the +1.5 Y bias, the build-limit clamp, the world-border check and the block-protection check (an S23 is sent back when the dig is refused). STOP_DESTROY_BLOCK is what actually breaks the block via onPlayerDestroyBlock; START only enters the mining state. The ItemInWorldManager tracks the dig progress server-side, but a module that sends START then STOP back-to-back completes the state machine in one round trip.

Protocol Analysis

The BlockPos is packed into a single long as ((x & 0x3FFFFFF) << 38) | ((y & 0xFFF) << 26) | (z & 0x3FFFFFF). The facing byte and the status byte follow; MCP reads both via readEnumValue, so both are VarInts on the wire. Status ordinals: 0 START_DESTROY_BLOCK, 1 ABORT_DESTROY_BLOCK, 2 STOP_DESTROY_BLOCK, 3 DROP_ALL_ITEMS, 4 DROP_ITEM, 5 RELEASE_USE_ITEM. Drop packets conventionally use BlockPos.ORIGIN with EnumFacing.DOWN; modules copy that convention even for release packets, and Spicy's NoSlow deliberately breaks it with random coordinates. The packet is registered at 0x07 in the SERVERBOUND play state table.

Anti-Cheat Landscape

NCP and Matrix measure the START-to-STOP gap against the block's hardness and flag instant breaks; Nuker patterns are caught by counting unique blocks destroyed per second, which is why Rise 5.99's Nuker ships a Tick throttle and an Instant Only mode that refuses hardness above 0. SpeedMine avoids the dig-speed flag by never lying about the gap: it finishes the client-side damage model and only then sends STOP. NoSlow is detected by the release+re-place packet pattern and by position comparison on the C07, which is what Spicy's random BlockPos defeats. GrimVelocity and StandardVelocity in Rise 6.x spoof START/STOP to satisfy mining-state checks during knockback, and the CubeCraft and Vulcan disablers send STOP/START at the player's own position to reset server dig state. The item-use family (FastBow, FastUse) is flagged by charge-time measurement between the C08 use and the C07 release.

implementation Implementation Cases

The mining and item-use control packet: six status values over a packed position and facing byte. Nuker and Breaker forge START+STOP pairs for instant mining, Tenacity's SpeedMine runs the block math client-side, FastBow releases the bow early through RELEASE_USE_ITEM, and NoSlow pairs the release with a C08 re-place to cancel eating and blocking slows. Autoblock auras in every client fire RELEASE_USE_ITEM around each attack.

Nuker (Rise 5.99, Rise 6.1.30, Rise 6.2.4)

Break every block in a radius cube by sending START+STOP pairs at the packet level, with teleport and area variants.

On update, every N ticks, iterate the radius-minus-1 cube; skip air and, in Instant Only mode, any block with hardness above 0; send START_DESTROY_BLOCK then STOP_DESTROY_BLOCK for each target via sendPacketWithoutEvent, with an optional swing. Teleport mode ray-traces 999 blocks on use, pathfinds to the target with C04 packets, nukes, and walks back; Area mode picks a random point inside the .setarea box. An S02 chat filter cancels the plot-protection message.

Source: Rise 5.99, dev/rise/module/impl/other/Nuker.java

Vanilla hook: UpdateEvent for the dig loop; PacketReceiveEvent for the chat cancel.
Instant START+STOP on high-hardness blocks is the canonical nuker flag; the Tick throttle bounds blocks-per-tick and Instant Only bounds the tell. The Teleport mode trips movement checks if the C04 walk is not replayed, so the pathfinding round trip doubles as the anti-movement-check measure.
Variations: Rise 6.1.30 and 6.2.4 ship the same module but send only START_DESTROY_BLOCK and rely on the client's own PlayerControllerMP loop to finish the dig, trading instant breaks for a subtler packet stream.
Breaker (Memeware 7.3, Rise 5.99, Rise 6.1.30, Rise 6.2.4)

Destroy specific blocks (cake, beds, wool, end stone) in a radius for bedwars-style play.

Memeware's Breaker, registered as BlockFucker, scans a 5-block cube every update and, when the block is cake or end stone, sends START then STOP with EnumFacing.NORTH via sendPacketSilent. The target list is a BlockSelectionSetting defaulting to cake, bed, wool and end stone; the pickaxeSlot, cakeBesideOrAt and cakeCovered helpers are dead code left in the file.

Source: Memeware 7.3, me/memewaredevs/client/module/misc/Breaker.java

Vanilla hook: UpdateEvent.
Same instant-break surface as Nuker; on bedwars servers the flag is per-block-count rather than hardness, since cake and beds are already low-hardness. The silent send path keeps the pairs off the event bus so no other module reacts.
Variations: Rise 5.99's Breaker sends START+STOP with EnumFacing.UP and more target configuration. Rise 6.x carries three generations: Breaker and NewBreaker (START+STOP, EnumFacing.UP) and NewNewBreaker (EnumFacing.DOWN, with block-state tracking before the dig).
SpeedMine (Tenacity 6.0, LiquidSense Dev)

Mine faster by running the block-breaking math client-side and finishing the dig with a single STOP packet.

On PacketSendEvent it arms on START_DESTROY_BLOCK, records position and facing, and disarms on ABORT or STOP. While armed, every pre-motion tick accumulates damage += playerRelativeBlockHardness * speed; when damage reaches 1 it swaps the block to air client-side and sends STOP_DESTROY_BLOCK via sendPacketNoEvent. blockHitDelay is zeroed so the next block starts immediately.

Source: Tenacity 6.0, dev/tenacity/event/impl/player/SpeedMine.java

Vanilla hook: PacketSendEvent for the dig state machine; MotionEvent pre for damage accumulation.
The server receives a legitimately timed STOP, so dig-speed checks that measure the START-to-STOP gap see a plausible duration; the client-side air swap is invisible to the server, which only ever sees the completed break. Anti-cheats that simulate hardness independently still flag the effective speed multiplier.
Variations: LiquidSense Dev ships its own SpeedMine (me/AquaVit/liquidSense/modules/world/SpeedMine.java) with the same client-side damage accumulation: it arms on START_DESTROY_BLOCK, adds block hardness times 1.4 per update, swaps the block to air client-side and sends STOP_DESTROY_BLOCK through the network manager when damage reaches 1.0, and zeroes blockHitDelay when extended reach is active. The 1.4 multiplier is the AquaVit speed factor.
NoSlowdown / NoSlow (Memeware 7.3, Rise 5.99, Rise 6.1.30, Rise 6.2.4, Sigma 4.11, Spicy)

Cancel the movement slow applied while eating or blocking by releasing the use-item state and immediately re-placing.

Spicy's NoSlow, on pre update while blocking with a sword, moving, on ground within 0.42 and with no killaura target, sends RELEASE_USE_ITEM with a BlockPos built from RandomUtils.nextDouble(4.9E-324D, 1.7976931348623157E308D) on every axis, then on post sends C08PacketPlayerBlockPlacement at (-1,-1,-1) with the held item to re-enter the block state. The server reads only the status of the release, so the random position is harmless to vanilla but defeats position-comparing heuristics.

Source: Spicy, info/spicyclient/modules/movement/NoSlow.java

Vanilla hook: EventUpdate pre (release) and post (re-place).
The release+re-place pair is the detectable pattern: anti-cheats measure the gap between the C07 release and the C08 place, and some compare the C07 position to the player's location, which the random BlockPos defeats. LegitNoSlow in Rise 6.x deliberately mirrors vanilla timing to minimize the gap signature.
Variations: Memeware's NoSlow is the same release-plus-place pattern. Rise 5.99's NoSlow sends RELEASE_USE_ITEM pairs from its packet handler. Rise 6.x splits LegitNoSlow (watches C07 releases and replays the C08), NCPNoSlow and IntaveNoSlow. Sigma's NoSlowdown sends RELEASE_USE_ITEM on a timer.
FastBow (Memeware 7.3, Rise 5.99, Sigma 4.11)

Fire fully charged arrows without holding the draw, by releasing the use-item state early and faking the charge.

While the use key is held with a bow, reset the item damage to -1, call sendUseItem to enter the use state, then send 20 C06PacketPlayerPosLook packets aimed at the target with onGround true so the server registers continuous rotation during the charge. Fire RELEASE_USE_ITEM, then call onPlayerStoppedUsing directly with a charge tick of 10, which fixes the arrow power as a 10-tick draw regardless of real draw time. A trailing bare C03 keeps the movement stream alive.

Source: Memeware 7.3, me/memewaredevs/client/module/combat/FastBow.java

Vanilla hook: UpdateEvent pre; the release goes through addToSendQueue, the item callback is invoked directly.
Charge-time checks measure the gap between the C08 use and the C07 release; a sub-tick gap with a full-power arrow is the tell. The 20 look packets also fake an aiming window for rotation checks. The duraHack windowClick double-swap is a separate durability exploit and a visible inventory-packet pattern.
Variations: Rise 5.99's FastBow sends C04 y-0.5 and C06 look packets before the release. Sigma's FastBow sends C04 offset pairs plus RELEASE_USE_ITEM through addToSendQueue.
KillAuraModule (autoblock release) (November Recode 2.0)

Emit C07 RELEASE_USE_ITEM around attacks for autoblock, and filter outgoing releases in the VANILLA and WATCHDOG autoblock modes.

In BASIC autoblock, before the attack the module queues C08 place, and after the swing queues C07 RELEASE_USE_ITEM at BlockPos.ORIGIN with EnumFacing.DOWN to end the block; unblock() repeats the same release when the target dies or the sword is swapped. The EventPacket.Out listener cancels outgoing RELEASE_USE_ITEM dig packets under VANILLA and WATCHDOG autoblock (the block state is managed by the C08 hold instead) and resets the blocking flag otherwise. HOLD mode presses the inventory key instead of sending dig packets.

Source: November Recode 2.0, feature/module/impl/combat/KillAuraModule.java

Vanilla hook: EventWalkingUpdate (attack cycle), EventPacket.Out (release filter), EventRenderItemUse (render-time block action).
The release packets use the vanilla BlockPos.ORIGIN and DOWN convention; cancelling the vanilla release under WATCHDOG keeps the server-side block state armed so the next C08 re-arms instantly. The C07 usage here is purely the autoblock state machine, not mining.
Variations: This is the same KillAuraModule file that backs the C02 entry; its C07 half is the release side of the autoblock pair (C08 place then C07 release), unlike the classic clients' NoSlow modules which send the release to cancel eating and blocking slows.
HYTRun (no-slow release) (LiquidSense Dev)

Cancel the blocking slow by releasing the use-item state with C07 RELEASE_USE_ITEM on the ground, then re-placing with C08 to keep blocking.

On UpdateEvent, while onGround (or within 0.5) the module queues C07 RELEASE_USE_ITEM at BlockPos.ORIGIN with EnumFacing.DOWN; separately, when blocking with a sword, moving, within 0.42 of the ground and with no Aura target, it re-places the held item every 65ms via C08. The blink side cancels and buffers C04, C06, C08, C0A, C0B and C02 during the run window and replays them on disable.

Source: LiquidSense Dev, me/AquaVit/liquidSense/modules/movement/HYTRun.java

Vanilla hook: UpdateEvent (release and re-place), PacketEvent (blink buffer).
The release plus re-place pair is the standard no-slow pattern; the 65ms re-place timer and the ground-gated release are the AquaVit tuning. The C07 release itself is position-agnostic to the server.
Variations: HYTRun is the only LiquidSense module that emits C07 RELEASE_USE_ITEM; the AquaVit SpeedMine (see the SpeedMine entry) emits STOP_DESTROY_BLOCK instead. LightningCheck imports C07PacketPlayerDigging but never uses it; the import is dead code and the module only tracks S2C lightning spawns.
Dig and drop automation hooks UpdateEvent or MotionEvent and sends C07 directly. Item-use and NoSlow modules hook the same events but split pre and post phases: release on pre, re-place on post. Packet-listener modules (Tenacity SpeedMine, Rise 6.x LegitNoSlow, Sigma Scaffold, Rise Infinite) instead hook the outgoing packet event and inspect getStatus() to react to the vanilla dig state machine.
Send paths: PacketUtil.sendPacket and sendPacketSilent in Memeware, addToSendQueue in Nekoware and Tenacity, PacketUtil.sendPacket and sendPacketWithoutEvent in Rise 5.99, PacketUtil.send and sendNoEvent in Rise 6.x, addToSendQueue and NetworkManager.sendPacketNoEvent in Sigma and Spicy. Rise 5.99 and 6.x also expose C07 to their scripting APIs (PacketAPI.send with Action.valueOf). The facing byte varies by module: EnumFacing.UP for nuker and breaker floods, EnumFacing.DOWN for release and drop packets, EnumFacing.NORTH in Memeware's Breaker. November Recode 2.0 queues C07 through addToSendQueue (autoblock releases in KillAuraModule) and filters releases on EventPacket.Out. LiquidSense Dev sends C07 through addToSendQueue (HYTRun release) or NetworkManager.sendPacket (SpeedMine STOP); LightningCheck imports C07PacketPlayerDigging without using it.

anticheat Anti-Cheat Checks

The digging packet is the block-break trigger: it carries start, stop, abort and item-release actions with a block position and face. Server-side anticheats treat it as the point to validate break duration against block hardness and tool speed, break reach, swing correlation, and the number of blocks broken per second. The corpus splits into modern simulation checks (Grim FastBreak, Intave CompletionDurationCheck) that recompute the expected mining time, and classic rate checks (NCP blockbreak suite, Arc Nuker) that score break frequency and packet rhythm.

FastBreak (Grim) (GrimAnticheat-Grim)

The reference modern fast-break check: verifies that the time between start-digging and finish-digging is long enough for the held tool to break the block.

Implements BlockBreakListener and PreViaPacketReceiveListener. On START_DIGGING it records the target block and the maximum block damage per 50 ms tick computed from the held item and block properties (BlockBreakSpeed), then on STOP_DIGGING it measures the elapsed time against the accumulated damage. A balance tracks how far the player finished early, and a separate delay balance enforces the 300 ms minimum between non-instant breaks. It cancels the finish-digging packet and flags when the client breaks faster than the simulated damage allows.

Detects: FastBreak and speedmine modules, nuker variants that break blocks in a single instant, and clients that skip the mining animation timing entirely.

Source: GrimAnticheat-Grim, common/src/main/java/ac/grim/grimac/checks/impl/breaking/FastBreak.java

Variations: Truthful FastBreakA and LightAntiCheat FastBreakA run the same damage-time accounting on smaller event bases. NCP's FastBreak class is an explicit ancestor of this check (credited in the header comment).
BlockBreakListener suite (NoCheatPlus) (Updated-NoCheatPlus-NoCheatPlus)

The classic 1.8 dispatcher for the whole block-break check family: direction, fast break, frequency, no swing, reach and wrong block.

Registers six checks (Direction, FastBreak, Frequency, NoSwing, Reach, WrongBlock) plus BlockBreakConfig/BlockBreakData, and listens to BlockBreakEvent, BlockDamageEvent, PlayerAnimationEvent and PlayerInteractEvent at LOWEST priority. The ProtocolLib compat adapters wrap PacketPlayInBlockDig actions (START_DESTROY_BLOCK, STOP_DESTROY_BLOCK, ABORT_DESTROY_BLOCK, RELEASE_USE_ITEM) and route them into the same check set, so both packet-level and event-level break attempts are covered.

Detects: Fast break, nuker and frequency abuse, breaking while looking away from the block, no-swing breaking, break reach beyond the interaction range, and wrong-block exploits.

Source: Updated-NoCheatPlus-NoCheatPlus, NCPCore/src/main/java/fr/neatmonster/nocheatplus/checks/blockbreak/BlockBreakListener.java

Variations: Grim FastBreak is directly modeled on NCP's FastBreak class. AntiCheatPlus and MIU (securitygab) expose the same blockbreak check family through their own event listeners.
BreakSpeedLimiter / CompletionDurationCheck (Intave) (intave-intave)

Intave's modern break-speed check: recomputes the expected break duration server-side from the held item and block hardness, and cancels the stop-dig packet when the block was finished too early.

CompletionDurationCheck subscribes to BLOCK_DIG on ProtocolLib at LOW priority. On START_DESTROY_BLOCK it stores the target position and the initial block damage from BlockInteractionAccess. On STOP_DESTROY_BLOCK it re-resolves the damage with onGround forced true, converts it to the required milliseconds, and if the actual duration fell more than 100 ms short and the balance allows, it builds a Violation, cancels the event and resends the block state to the client. A separate tick subscription decays the balance on every flying packet, and RestartCheck covers dig-restart spam.

Detects: Speedmine and nuker cheats that finish blocks faster than hardness and tool speed permit, including breaks that skip the required damage accumulation.

Source: intave-intave, src/main/java/de/jpx3/intave/check/world/breakspeedlimiter/CompletionDurationCheck.java

Variations: The parent BreakSpeedLimiter container also wires RestartCheck; Grim's breaking package and BetterAnticheat's DigOrderCheck/DigBlockFacePositionCheck cover the same ground on different packet stacks.
Nuker (Arc) (Vrekt-Arc)

Classic statistical nuker check: caps the number of block breaks per second and the spacing between them.

A PacketCheck configured with max-breaks-per-second 15, min-delta-between-breaks 50 ms and a threshold of 5 violations before flagging, plus a packet-level cap of 50 break packets per second with an optional kick threshold. Creative-only by default, it cancels the offending events and notifies after every 4th violation.

Detects: Nuker and instamine modules that destroy an improbable number of blocks around the player in one second.

Source: Vrekt-Arc, src/main/java/arc/check/block/Nuker.java

Variations: Negativity's NukerProtocol and MC-Jinky's XRayCheck apply the same break-rate idea on Bukkit events; Azure BadPacketsC/I validate the dig action itself instead of the rate.

Wiki Cross-Reference

A vanilla server only accepts digging packets whose block center is within a 6-unit radius of the player eyes. Cancelled digging always uses the bottom face, drop-item actions always use position 0/0/0 with the bottom face, and when a block is instamined or the player is in creative mode the client sends no Finished digging, so the server must compute destruction speed itself.

MCP 1.8.9 C07PacketPlayerDigging implements Packet dispatching to INetHandlerPlayServer.processPlayerDigging; wire serde is readPacketData/writePacketData via readBlockPos, readEnumValue, readUnsignedByte.

1.8.9 callers: EntityPlayerSP.dropOneItem sends new C07PacketPlayerDigging (line 282) +1 more: https://github.com/Marcelektro/MavenMCP-1.8.9/blob/master/src/main/java/net/minecraft/client/entity/EntityPlayerSP.java

Cross-checked against minecraft.wiki (CC BY-SA 3.0) for 1.8.9 accuracy.

Vanilla Internals

Full 1.8.9 logic-class sources that send or handle this packet, stored verbatim.