0x25 S25PacketBlockBreakAnim

Shows block break progress (crack stages 0-9) on a block. Sent by all players, not just the miner.

Clientbound (Server → Client) · PLAY · net/minecraft/network/play/server/S25PacketBlockBreakAnim.java

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

worldblockanimation
Complete 6/8

Fields

FieldTypeDescription
entityIdVarIntEntity breaking the block (-1 = stop animation)
posBlockPosBlock position
stagebyteBreak stage (0-9, 10 = reset)

Wire Encoding

FieldTypeNotes
Entity IDVarInt-1 to stop
Block PositionBlockPos (long)
Stagebyte0-9, 10=reset

MCP References

MCPNetHandlerPlayClient.handleBlockBreakAnim()

Handler Interface

HNDINetHandlerPlayClient

Vanilla Source

S25PacketBlockBreakAnim.java68 lines · MCP 1.8.9Original ↗
1
package net.minecraft.network.play.server;
2
3
import java.io.IOException;
4
import net.minecraft.network.Packet;
5
import net.minecraft.network.PacketBuffer;
6
import net.minecraft.network.play.INetHandlerPlayClient;
7
import net.minecraft.util.BlockPos;
8
9
public class S25PacketBlockBreakAnim implements Packet<INetHandlerPlayClient>
10
{
11
    private int breakerId;
12
    private BlockPos position;
13
    private int progress;
14
15
    public S25PacketBlockBreakAnim()
16
    {
17
    }
18
19
    public S25PacketBlockBreakAnim(int breakerId, BlockPos pos, int progress)
20
    {
21
        this.breakerId = breakerId;
22
        this.position = pos;
23
        this.progress = progress;
24
    }
25
26
    /**
27
     * Reads the raw packet data from the data stream.
28
     */
29
    public void readPacketData(PacketBuffer buf) throws IOException
30
    {
31
        this.breakerId = buf.readVarIntFromBuffer();
32
        this.position = buf.readBlockPos();
33
        this.progress = buf.readUnsignedByte();
34
    }
35
36
    /**
37
     * Writes the raw packet data to the data stream.
38
     */
39
    public void writePacketData(PacketBuffer buf) throws IOException
40
    {
41
        buf.writeVarIntToBuffer(this.breakerId);
42
        buf.writeBlockPos(this.position);
43
        buf.writeByte(this.progress);
44
    }
45
46
    /**
47
     * Passes this Packet on to the NetHandler for processing.
48
     */
49
    public void processPacket(INetHandlerPlayClient handler)
50
    {
51
        handler.handleBlockBreakAnim(this);
52
    }
53
54
    public int getBreakerId()
55
    {
56
        return this.breakerId;
57
    }
58
59
    public BlockPos getPosition()
60
    {
61
        return this.position;
62
    }
63
64
    public int getProgress()
65
    {
66
        return this.progress;
67
    }
68
}

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

Deep Dive

Role in the protocol

S25 streams block-break progress: an entity ID (the breaker), a BlockPos, and a stage byte 0-9, with stage 10 (or entity ID -1) resetting the crack animation. WorldManager sends it to every player within 64 blocks of the broken block (corpus line 101), so other players see the crack overlay grow while someone mines. The client stores the per-position stage in WorldClient's damagedBlocks map and renders the crack texture at that stage.

Vanilla handling

NetHandlerPlayClient.handleBlockBreakAnim dispatches through PacketThreadUtil and calls world.sendBlockBreakProgress(entityId, pos, stage), which updates the damagedBlocks map and re-renders the affected block faces. The animation is purely client-side state; the server never asks for an echo and never verifies the client saw it. A new S25 for the same position simply overwrites the previous stage.

Why clients touch it

Zero module hits in the 8-client corpus; only Rise 6.x's script NetworkAPI registers the class. XRay-style clients that suppress block rendering could in principle use S25 to hide crack overlays on ores, but none of the 8 clients do. The information is redundant for gameplay: the stage sequence is a faithful timing signal of another player's mining progress, yet no ESP or radar module in the corpus consumes it.

Exploit surface

No meaningful surface. S25 is server-originated, unacknowledged, and its only effect is a texture overlay. The stage bytes are never validated by the client, but the worst a hostile server achieves is drawing a crack texture on a block. The one theoretical client-side value is latency inference: the rate of stage increments for a nearby miner is a coarse tick/ping signal, which is why the packet is occasionally mentioned in anticheat research, though no corpus module uses it.

Server-Side Handling

WorldManager.func_180441_b (world-wide broadcast path) sends S25 to players within 64 blocks of the block being mined, keyed by the breaker's entity ID. The server emits a fresh packet per stage change as the player's digging progress advances, then a stage-10 reset when mining completes or is aborted. No validation of the breaker entity or the target block.

Protocol Analysis

Wire format: VarInt entity ID (breaker), BlockPos long, byte stage. Stage 10 means reset/stop; the client also handles entity ID -1 as a reset. Because the handler overwrites damagedBlocks per position, out-of-order packets from a laggy server simply land on the latest stage, which is a self-healing property of the animation state.

Anti-Cheat Landscape

Not flagged. The packet exposes only animation state and cannot be spoofed client-side in a useful direction. Server-side, anti-cheats ignore it entirely; the only adjacent check is on the digging packets (C07) that precede it.

implementation Implementation Cases

The break-progress animation stream (crack stages 0-9 per block). Zero modules in the 8 clients consume it; the only non-vanilla reference is Rise 6.x's scripting API registration. Its data is redundant with block-change state and it carries no exploitable claim.

PacketReceiveEvent is available on all clients; none of the 8 register for S25.
Vanilla handler in all 8 clients. Rise 6.1.30/6.2.4 add the class to their script NetworkAPI table only.

anticheat Anti-Cheat Checks

The block-break-animation packet has a single corpus hit: Artemis registers a GPacketPlayServerBlockBreakAnimation wrapper so its packet library recognizes the clientbound packet. No check reads it; the break stage sequence is redundant with the digging packets (C07) that anticheats actually monitor. The packet is unacknowledged, server-authored animation state, so no anticheat flags it.

Packet wrapper registration (Artemis) (artemisac-artemis-minecraft-anticheat)

Give the block-break-animation packet a typed wrapper in Artemis's packet abstraction so the pipeline can dispatch it if any module ever needs it.

GPacketPlayServerBlockBreakAnimation extends GPacket, implements ReadableBuffer, and is linked to PacketPlayServerBlockBreakAnimation via @PacketLink. Its read() decodes the packet into entityId, position and stage fields, but no check in the corpus consumes those fields. The wrapper is infrastructure, not a detection.

Detects: Nothing directly. The adjacent detection surface is the C07 digging packet that precedes S25 on the server side.

Source: artemisac-artemis-minecraft-anticheat, ac.artemis.packet.spigot/src/main/java/cc/ghast/packet/wrapper/packet/play/server/GPacketPlayServerBlockBreakAnimation.java

Variations: No other anticheat in the corpus references S25PacketBlockBreakAnim or PacketPlayOutBlockBreakAnimation.

Wiki Cross-Reference

Stages 0 through 9 are displayable destroy stages and any other stage value removes the animation, break animations can be applied even on air, simultaneous animations need unique entity IDs that do not have to belong to real entities, and removal must reuse the ID that set the animation.

MCP 1.8.9 S25PacketBlockBreakAnim implements Packet dispatching to INetHandlerPlayClient.handleBlockBreakAnim; wire serde is readPacketData/writePacketData via readBlockPos, readUnsignedByte, readVarIntFromBuffer.

1.8.9 callers: WorldManager.sendBlockBreakProgress sends new S25PacketBlockBreakAnim (line 108): https://github.com/Marcelektro/MavenMCP-1.8.9/blob/master/src/main/java/net/minecraft/world/WorldManager.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.