0x32 S32PacketConfirmTransaction

Server confirms or rejects an inventory transaction from C0EPacketClickWindow. accepted=false causes client to revert inventory.

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

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

inventorycontainer
Comprehensive 8/8

Fields

FieldTypeDescription
windowIdbyteWindow ID of the container
actionNumbershortTransaction action number from the click packet
acceptedbooleanWhether the server accepted the click

Wire Encoding

FieldTypeNotes
Window IDbyte
Action Numbershort
Acceptedboolfalse = reject + inventory revert

MCP References

MCPNetHandlerPlayClient.handleConfirmTransaction()

Handler Interface

HNDINetHandlerPlayClient

Notes

If accepted=false, the client empties and refills its inventory by re-reading all slots from the server (C30PacketWindowItems is re-sent). This is how the server corrects desynced client inventory.

Vanilla Source

S32PacketConfirmTransaction.java67 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
8
public class S32PacketConfirmTransaction implements Packet<INetHandlerPlayClient>
9
{
10
    private int windowId;
11
    private short actionNumber;
12
    private boolean field_148893_c;
13
14
    public S32PacketConfirmTransaction()
15
    {
16
    }
17
18
    public S32PacketConfirmTransaction(int windowIdIn, short actionNumberIn, boolean p_i45182_3_)
19
    {
20
        this.windowId = windowIdIn;
21
        this.actionNumber = actionNumberIn;
22
        this.field_148893_c = p_i45182_3_;
23
    }
24
25
    /**
26
     * Passes this Packet on to the NetHandler for processing.
27
     */
28
    public void processPacket(INetHandlerPlayClient handler)
29
    {
30
        handler.handleConfirmTransaction(this);
31
    }
32
33
    /**
34
     * Reads the raw packet data from the data stream.
35
     */
36
    public void readPacketData(PacketBuffer buf) throws IOException
37
    {
38
        this.windowId = buf.readUnsignedByte();
39
        this.actionNumber = buf.readShort();
40
        this.field_148893_c = buf.readBoolean();
41
    }
42
43
    /**
44
     * Writes the raw packet data to the data stream.
45
     */
46
    public void writePacketData(PacketBuffer buf) throws IOException
47
    {
48
        buf.writeByte(this.windowId);
49
        buf.writeShort(this.actionNumber);
50
        buf.writeBoolean(this.field_148893_c);
51
    }
52
53
    public int getWindowId()
54
    {
55
        return this.windowId;
56
    }
57
58
    public short getActionNumber()
59
    {
60
        return this.actionNumber;
61
    }
62
63
    public boolean func_148888_e()
64
    {
65
        return this.field_148893_c;
66
    }
67
}

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

Deep Dive

Role in the protocol

S32PacketConfirmTransaction is the server's reply to each serverbound C0F click confirmation: byte windowId, short actionNumber, boolean accepted. The action number is a per-container short counter the client increments on every click and echoes back; the server replies true when the number matches its own expectation and false when it does not. A false reply marks the window desynced and triggers a full S30 resync. The pair is also the de facto latency probe on post-2018 anti-cheats, which is why it is the most exploited clientbound packet in the Rise 6.x corpus.

Vanilla handling

NetHandlerPlayServer.processConfirmTransaction (lines 886-893 in the bundled sources) compares the echoed action number against the container's expected value: a match replies S32(windowId, action, true), a mismatch replies false and pushes S30 to force the client revert. NetHandlerPlayClient.handleConfirmTransaction resolves the container by window id and treats accepted=false as an order to re-read the window, which is how the server undoes any client-side inventory manipulation.

Why clients touch it

Seven distinct uses in the 10-client corpus. Rise 6.x WatchdogDisabler cancels negative-action S32 confirmations and replays the buffered C0F confirms a second later, a ping-spoof disabler. The 6.2.4 velocity modes (VulcanVelocity, WatchdogVelocity, WatchdogPredictionVelocity) cancel S32 on hit and answer with a deliberately corrupt C0F to desync transaction accounting around knockback. Timer queues S32 while its Watchdog timer mode runs behind a 9,999,999 ms ping spoof. InventorySync rewinds the container transaction counter from S32 values so spoofed clicks keep valid action numbers. Debugger prints every action number. November Recode 2.0's VelocityModule GRIM mode cancels S32 after a velocity cancel, queues the action numbers, and drops the matching C0F on send, a transaction-desync knockback bypass. LiquidSense Dev overwrites handleConfirmTransaction to auto-ack rejected windows through its own send-queue mixin.

Exploit surface

The action counter is a short and the server only checks equality, so fabricating C0F replies is trivial; the subtlety is timing. Buffering C0F and cancelling S32 breaks the correlation the anti-cheat builds between server time and client time, which is the entire point of the Watchdog-era disabler. Cancelling an accepted=false S32 also prevents the inventory revert, which is what keeps ghost-item states alive. The cost is that the server's inventory truth diverges until a legitimate S30 lands, so the exploit is self-limiting.

Server-Side Handling

NetHandlerPlayServer.processConfirmTransaction (lines 886-893) replies S32(windowId, actionNumber, true) when the action matches the container's next expected short, otherwise false followed by updateCraftingInventory, which pushes S30. The container counter is per-window, starts at 0, and must be echoed exactly. The client handler resolves the container by window id; a false reply marks the window desynced and the server's S30 dump reverts the client's slot view.

Protocol Analysis

Wire: byte windowId, short actionNumber, boolean accepted. C0F (serverbound) and S32 (clientbound) share windowId and actionNumber semantics; negative action numbers are legal and several anti-cheats use them as markers, which is why WatchdogDisabler specifically buffers transactions with actionNumber < 0. The pair doubles as a latency reference on Verus and Watchdog-class anti-cheats, so ping spoofers buffer C0F and S32 together with keepalives and flush them as one batch.

Anti-Cheat Landscape

Verus and Watchdog-class anti-cheats fold C0F gaps into their latency model for movement checks. WatchdogDisabler's ping-spoof mode (cancel negative S32, replay all C0F confirms after 1s) and Spicy's Disabler (cancel every C0F, replay one every 500-1250ms) inflate measured ping and break that model. VulcanVelocity cancels S32 only when hurtTime == 10 and answers with a corrupt C0F, a Vulcan-specific knockback desync. The detection risk is not the packet itself but the divergence it causes: servers that resync on rejection eventually expose any client that keeps clicking stale windows.

implementation Implementation Cases

The confirmation half of the C0F/S32 transaction pair and the most exploited clientbound packet in the Rise 6.x corpus. WatchdogDisabler cancels and replays it, the velocity modes corrupt the transaction stream on hit, Timer queues it behind a ping spoof, InventorySync rewinds the action counter, and Debugger prints it. Spicy imports it and never instantiates it. November Recode 2.0 adds a GRIM transaction-queue velocity mode and LiquidSense Dev a handleConfirmTransaction overwrite.

Debugger (Rise 5.99, Rise 6.1.30, Rise 6.2.4)

Print every S32 action number to chat as a development aid.

PacketReceiveEvent; on S32, read the action number and push a chat message. Also prints S00 keepalive keys through the same handler.

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

Vanilla hook: PacketReceiveEvent.
None; the module only reads and prints.
Variations: Rise 6.1.30 and 6.2.4 keep the same pattern (6.x checks transaction.getValue() and the packet type at line 109-110) with the same output.
WatchdogDisabler (Rise 6.1.30, Rise 6.2.4)

Watchdog disabler mode: ping-spoof by cancelling negative-action S32 confirmations and replaying all C0F confirms after a one second delay; inventory mode re-wraps C0E clicks.

PacketReceiveEvent: on S07 respawn, reset every queue and flag; if the ping-spoof value is on and S32 has a negative action number and the disabler is not already disabled, buffer the action, reset the stopwatch, and cancel the event. PreMotionEvent: when actions are buffered and one second elapsed, shuffle the list, send C0F(0, action, true) for each via sendPacket (bypassing the bus), and clear. PacketSendEvent: inventory mode cancels C0E for the player inventory when no GUI is open and re-sends it as C16 open-inventory, C0E, C0D close via sendUnregisteredPacket.

Source: Rise 6.1.30, com/alan/clients/module/impl/exploit/disabler/WatchdogDisabler.java

Vanilla hook: PacketReceiveEvent, PreMotionEvent, PacketSendEvent.
Negative-action transactions are the Watchdog marker; replaying them as confirms while cancelling the server's S32 keeps the server waiting on the client's timer, inflating the measured ping. The replay bypasses the event bus so it cannot be re-cancelled by another module.
Variations: The 6.2.4 version is a superset (278 lines) with the same core plus additional queues; 6.1.30 (104 lines) is the canonical minimal form.
InventorySync (Rise 6.1.30, Rise 6.2.4)

Keep the client container transaction counter aligned with server confirmations.

PacketReceiveEvent; on S32 for the player inventory container, store the action number; if 0 < action < container.transactionID, set transactionID = action + 1. This rewinds the client counter so the next C0E action number is a value the server has not seen yet, which matters when other modules (disablers, ping spoofers) have already consumed actions.

Source: Rise 6.2.4, Client-release2/Client/src/main/java/com/alan/clients/module/impl/player/InventorySync.java

Vanilla hook: PacketReceiveEvent.
None directly; it is the repair module that keeps click sync valid while other modules spoof transactions.
Variations: Identical logic in 6.1.30 (same 34-line file under com/alan/clients).
VulcanVelocity / WatchdogVelocity / WatchdogPredictionVelocity (Rise 6.2.4)

Velocity bypass keyed on S32 timing: cancel the confirmation on hit and answer with a corrupt C0F to desync the anti-cheat's transaction accounting.

PacketReceiveEvent; on S32 when hurtTime == 10 (just hit), cancel the confirmation and send a fabricated C0F whose windowId and uid alternate between 1/-1 and -1/1 with the accepted flag toggling. Also cancels or scales S12 velocity and S27 explosion, with the Vulcan Speed mode check deciding between full cancel and 1.9x multiplication.

Source: Rise 6.2.4, Client-release2/Client/src/main/java/com/alan/clients/module/impl/combat/velocity/VulcanVelocity.java

Vanilla hook: PacketReceiveEvent.
Vulcan-specific: the S32 gate ensures the spoof only fires during actual hit processing, and the corrupt transaction makes Vulcan's window accounting lose track of the knockback. A pure timing desync rather than a packet-rate abuse.
Variations: WatchdogVelocity (452 lines) and WatchdogPredictionVelocity (204 lines) implement the same S32-gated idea for Watchdog, the prediction variant replaying anticipated confirmations.
Timer (Rise 6.2.4)

Watchdog timer mode that hides accelerated ticks behind a massive ping spoof.

With the watchdog value on: PreMotionEvent forces onGround true; PreUpdateEvent calls PingSpoofComponent.spoof(9999999, ...) which buffers keepalives and transactions; PacketSendEvent intercepts S32 on ground, queues it into packetList and cancels the event; StrafeEvent flushes the queued packets via PacketUtil.queue and PingSpoofComponent.dispatch when the attempt flag is set (module key toggles attempt for 200 ms). S12 velocity and S08 teleport are cancelled on receive.

Source: Rise 6.2.4, Client-release2/Client/src/main/java/com/alan/clients/module/impl/other/Timer.java

Vanilla hook: PacketSendEvent, PacketReceiveEvent, PreMotionEvent, PreUpdateEvent, TickEvent, StrafeEvent, JumpEvent, KeyboardInputEvent.
The 9,999,999 ms ping spoof makes the server's latency estimates absurd, which is how the timer acceleration hides. Queued S32 confirms are released on the next strafe cycle to keep the transaction stream alive.
Variations: None in 6.1.30; the 6.1.30 Timer (31 lines) does not reference S32.
Disabler (Spicy)

Hypixel disabler: buffer every serverbound C0F and replay them slowly to inflate measured ping.

EventSendPacket: cancel every C0F and park it in a static list; EventUpdate: every 500-1250 ms send the oldest buffered C0F via sendPacketNoEvent; onEnable warns the user to relog. Also cancels C0C input on send and periodically re-sends C13 abilities with a random fly speed. The S32PacketConfirmTransaction import at line 30 is never used: the module's logic is purely serverbound C0F delay, with commented-out experiments in corrupting C0F fields.

Source: Spicy, info/spicyclient/modules/player/Disabler.java

Vanilla hook: EventSendPacket, EventUpdate, EventPacket (receive).
The slow C0F stream keeps the server's transaction window open while the client stalls; the S32 import is vestigial. The module targets Hypixel and requires a relog to take effect.
Variations: None in the corpus; Spicy's other modules do not touch S32.
VelocityModule (GRIM transaction queue) (November Recode 2.0)

GRIM velocity bypass: after cancelling knockback, cancel the server's S32 confirmations and the matching outgoing C0F confirms to desync the anti-cheat's transaction-based movement timing.

PacketReceiveEvent: on S12 for the local player, the CANCEL/GRIM/VULCAN modes cancel it and set funny. While funny, each S32PacketConfirmTransaction is cancelled and its action number queued. PacketSendEvent: an outgoing C0F whose uid is in the queue is cancelled (and removed from the queue); the EventUpdate listener clears funny once the queue drains. VULCAN mode instead cancels the next C0F after a cancelled S12.

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

Vanilla hook: EventPacket.In / EventPacket.Out on the November event bus; EventUpdate for state reset.
The queue pairs each cancelled S32 with its own C0F so the server never sees the confirm it asked for, which breaks GRIM's transaction-gap timing without flooding. The comments mark VULCAN as working only on older Vulcan versions.
Variations: The Mode enum also carries INTAVE (unimplemented) and WATCHDOG_SAFE (applies partial motion manually); the S32 path is GRIM-only.
MixinNetHandlerPlayClient (confirm overwrite) (LiquidSense Dev)

Re-implement handleConfirmTransaction so every rejected S32 is auto-answered with a true C0F through the client's own send-queue mixin.

@Overwrite of handleConfirmTransaction: resolve the container by windowId (0 = inventoryContainer, otherwise openContainer), and when the packet says not accepted, addToSendQueue(new C0FPacketConfirmTransaction(windowId, actionNumber, true)) via Minecraft.getMinecraft().getNetHandler(). Semantics match vanilla; routing through getNetHandler().addToSendQueue means the confirm passes the class's own senpacket HEAD inject, which fires PacketSenEvent and lets modules cancel or delay it.

Source: LiquidSense Dev, net/ccbluex/liquidbounce/injection/forge/mixins/network/MixinNetHandlerPlayClient.java

Vanilla hook: @Overwrite on NetHandlerPlayClient.handleConfirmTransaction; C0F send through addToSendQueue.
Behaviorally identical to vanilla, so no new detection surface; the point is that the confirm now travels through the LiquidBounce send event where Disabler-style modules can intercept it.
Variations: The same mixin class guards resource packs and fires EntityMovementEvent (see the C19 and S14 impl pages).
PacketReceiveEvent is the universal S32 surface in Rise. WatchdogDisabler adds PreMotionEvent and PacketSendEvent; Timer adds TickEvent, StrafeEvent, JumpEvent and KeyboardInputEvent; Spicy touches only the serverbound side via EventSendPacket. November Recode 2.0 uses EventPacket.In and EventPacket.Out on its own bus; LiquidSense Dev routes the auto-confirm through its send-queue mixin.
Rise 5.99 has only Debugger. Rise 6.1.30 ships WatchdogDisabler, InventorySync and Debugger; 6.2.4 adds the velocity modes (VulcanVelocity, WatchdogVelocity, WatchdogPredictionVelocity) and the Timer watchdog mode. Spicy's Disabler imports S32 but processes only C0F. Memeware, Nekoware, Sigma and Tenacity 6.0 carry only the vanilla handler. November Recode 2.0 is the only client cancelling S32 on the receive side (VelocityModule GRIM); LiquidSense Dev re-implements the handler rather than cancelling it.

anticheat Anti-Cheat Checks

S32 is the server's transaction confirmation, the oldest reliable latency probe in the protocol: the server sends a transaction id, the client echoes it back, and the round trip is the ping. Modern anticheats have turned the echo into a transaction clock (Grim sends a transaction before and after sensitive packets, Hydro schedules work on frames), while classic anticheats use it as a ping spoof detector by comparing transaction latency against keep-alive latency. Because the client must echo the exact id, S32 is also where ping-spoof disablers attack the anticheat.

PacketPingListener (Grim) (GrimAnticheat-Grim)

Runs the transaction clock: sends transaction ids the client must echo, tracks send and receive order, and fires the transaction events the whole anticheat schedules on.

On the OUT side, records each sent window-confirmation (negative ids Grim generates, and the ping packet on modern versions) into a sent-map and increments lastTransactionSent. On the IN side, only accepts replies whose id was actually sent, marks the transaction valid, cancels the echo to keep packet limiters happy, and fires the send/receive events that checks, setback teleports and velocity handlers all schedule against.

Detects: Ping-spoof disablers that echo fake transaction ids, and any client that reorders or drops transaction confirmations.

Source: GrimAnticheat-Grim, common/src/main/java/ac/grim/grimac/events/packets/PacketPingListener.java

Variations: Hydro's TransactionTracker uses Pledge frames for the same two-phase confirmation; Frequency keeps a simple id-to-timestamp map.
PingSpoofA (Frequency) (ElevatedDev-Frequency)

Flags ping spoofing as a divergence between the transaction-measured ping and the keep-alive-measured ping.

On each flying packet, reads the transaction ping (from the ConnectionManager echo map) and the keep-alive ping. If the transaction ping exceeds the keep-alive ping by more than 50ms outside lag, teleport, tps and chunk exemptions, and after the first 10 ticks, the check fails.

Detects: Ping-spoof modules that inflate only the transaction clock while the keep-alive clock stays honest.

Source: ElevatedDev-Frequency, src/main/java/xyz/elevated/frequency/check/impl/pingspoof/PingSpoofA.java

Variations: Azure's PingSpoof sends its own random transaction ids and compares the echo delay to the reported NMS ping; both detect the same divergence.
PingSpoof (Azure) (AimbotPvP-azure-anticheat)

Sends its own random transaction probes and compares the echo delay against the reported ping to expose spoofed latency.

On the first flying packet after a transaction, sends a server-bound transaction with a random id and sets the sent flag. When the client echoes it, the check compares the round-trip delay against the player's reported NMS ping: if the reported ping is more than 2.75 times the measured delay plus 50ms, it flags with the spoofed millisecond difference.

Detects: Ping-spoof modules that inflate the reported ping while the real transaction echo stays fast.

Source: AimbotPvP-azure-anticheat, src/main/java/us/skidrevenant/azure/check/checks/misc/PingSpoof.java

Variations: Frequency compares two independent clocks; Azure compares the transaction clock against the server's own reported ping field.
TransactionTracker (Hydro) (Incognitolol-Hydro)

Schedules anticheat work on the transaction confirmations using Pledge frames, and kicks on frame errors.

Registers pre and post actions against Pledge frame ids: confirmPre schedules work on the first id of a frame, confirmPost on the second. When a transaction frame arrives, the tracker runs every action scheduled for that id; missing or incomplete frames are handled as error events that kick the player.

Detects: Transaction desync and confirmation manipulation: a client that drops or reorders confirmations produces missing or incomplete frames.

Source: Incognitolol-Hydro, src/main/java/integral/studios/hydro/model/tracker/impl/TransactionTracker.java

Variations: Grim implements the same two-phase ordering natively; Hydro outsources it to Pledge and turns frame errors into kicks.

Wiki Cross-Reference

Server reply to C0F click: byte windowId, short actionNumber, bool accepted. Accepted=false rejects the click and the client reverts its inventory view.

After a reject the server pushes a full S30 WindowItems resync so client slots match server truth. Action numbers are per-window short counters echoed exactly.

MCP 1.8.9 S32PacketConfirmTransaction implements Packet dispatching to INetHandlerPlayClient.handleConfirmTransaction; wire serde is readPacketData/writePacketData via readBoolean, readShort, readUnsignedByte.

1.8.9 callers: NetHandlerPlayServer.processClickWindow sends new S32PacketConfirmTransaction (line 1031): https://github.com/Marcelektro/MavenMCP-1.8.9/blob/master/src/main/java/net/minecraft/network/NetHandlerPlayServer.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.

Module Analyses Using S32PacketConfirmTransaction

Full source walkthroughs of the modules and anti-cheats that use this packet.