0x19 C19PacketResourcePackStatus

Client reports the resource pack load status to the server. Sent after S48PacketResourcePackSend.

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

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

resourcepackdownload
Comprehensive 8/8

Fields

FieldTypeDescription
hashStringSHA-1 hash of the resource pack (from S48)
statusVarInt Enum0=loaded, 1=declined, 2=failedDownload, 3=accepted

Wire Encoding

FieldTypeNotes
HashStringSHA-1 hash of the pack
ResultVarInt Enum0=loaded, 1=declined, 2=failedDownload, 3=accepted

MCP References

MCPNetHandlerPlayServer.processResourcePackStatus()

Handler Interface

HNDINetHandlerPlayServer

Notes

The server can force a resource pack. If the client declines, the server may kick the player.

Vanilla Source

C19PacketResourcePackStatus.java61 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
8
public class C19PacketResourcePackStatus implements Packet<INetHandlerPlayServer>
9
{
10
    private String hash;
11
    private C19PacketResourcePackStatus.Action status;
12
13
    public C19PacketResourcePackStatus()
14
    {
15
    }
16
17
    public C19PacketResourcePackStatus(String hashIn, C19PacketResourcePackStatus.Action statusIn)
18
    {
19
        if (hashIn.length() > 40)
20
        {
21
            hashIn = hashIn.substring(0, 40);
22
        }
23
24
        this.hash = hashIn;
25
        this.status = statusIn;
26
    }
27
28
    /**
29
     * Reads the raw packet data from the data stream.
30
     */
31
    public void readPacketData(PacketBuffer buf) throws IOException
32
    {
33
        this.hash = buf.readStringFromBuffer(40);
34
        this.status = (C19PacketResourcePackStatus.Action)buf.readEnumValue(C19PacketResourcePackStatus.Action.class);
35
    }
36
37
    /**
38
     * Writes the raw packet data to the data stream.
39
     */
40
    public void writePacketData(PacketBuffer buf) throws IOException
41
    {
42
        buf.writeString(this.hash);
43
        buf.writeEnumValue(this.status);
44
    }
45
46
    /**
47
     * Passes this Packet on to the NetHandler for processing.
48
     */
49
    public void processPacket(INetHandlerPlayServer handler)
50
    {
51
        handler.handleResourcePackStatus(this);
52
    }
53
54
    public static enum Action
55
    {
56
        SUCCESSFULLY_LOADED,
57
        DECLINED,
58
        FAILED_DOWNLOAD,
59
        ACCEPTED;
60
    }
61
}

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

Deep Dive

Role in the protocol

C19 is the client's reply to S48PacketResourcePackSend: a hash String plus an Action enum (SUCCESSFULLY_LOADED, DECLINED, FAILED_DOWNLOAD, ACCEPTED). Vanilla sends ACCEPTED when the user confirms the download prompt, then SUCCESSFULLY_LOADED or FAILED_DOWNLOAD after the download resolves. Servers that require a pack gate features or membership on the ACCEPTED reply.

Vanilla handling

The bundled 1.8.9 server handler, handleResourcePackStatus, is an empty method; decline kicks and pack-required logic are plugin territory. Client-side, NetHandlerPlayClient.handleResourcePackSend downloads the pack and reports the outcome through C19, and the download itself is a URL fetch with no scheme validation in vanilla, which is the hole the security modules patch.

Why clients touch it

Two families. (1) Security: Rise 6.x ResourcePackCheck (a SecurityFeature) and Tenacity's AntiExploit module and Enhancements utility intercept S48, validate the URL scheme, block level:// traversal and non-http hosts, and answer C19 with FAILED_DOWNLOAD so the server's state machine stays consistent. (2) Disabler: Rise 5.99's c19 mode sends C19 with an empty hash and ACCEPTED to unlock pack-gated features without downloading. LiquidSense Dev adds a third family: a mixin on NetHandlerPlayClient's handleResourcePack performs the same scheme guard as family (1), answering C19 with FAILED_DOWNLOAD and the real hash. November Recode 2.0 only registers C19 in its Lua scripting id map (0x19).

Exploit surface

The level:// protocol reads files from the server's save directory; a malicious pack URL with path traversal is a server-to-client file disclosure vector, which is exactly what both security implementations check for. The empty-hash ACCEPTED spoof exploits plugins that match the hash against the last S48; a strict plugin sees the mismatch, a sloppy one unlocks the feature. Because the vanilla server handler is empty, declined packs never kick in vanilla; the whole battlefield is plugin-side.

Server-Side Handling

handleResourcePackStatus is an empty no-op in the bundled 1.8.9 sources; pack-required kicks and feature gating live in plugins that read the Action. The client handler performs an unvalidated URL fetch, making S48 the disclosure vector and C19 the acknowledgment channel.

Protocol Analysis

String hash + VarInt enum action. The hash must echo the one from the triggering S48 for strict plugins. The enum order on the wire is SUCCESSFULLY_LOADED=0, DECLINED=1, FAILED_DOWNLOAD=2, ACCEPTED=3. C19 is only meaningful after an S48; a serverbound C19 with a hash the server never sent is the spoof signature.

Anti-Cheat Landscape

No anti-cheat measures C19. Anti-exploit plugins validate pack URLs server-side and match C19 hashes against their own S48 log; an empty-hash ACCEPTED or a FAILED_DOWNLOAD for a pack the server never sent is the detectable pattern. The security modules' FAILED_DOWNLOAD replies are indistinguishable from a genuine failed download, which is what makes them stealthy.

implementation Implementation Cases

The resource-pack handshake reply. Security layers in Rise 6.x and Tenacity block malicious pack URLs and answer FAILED_DOWNLOAD, while Rise 5.99's Disabler spoofs ACCEPTED with an empty hash to unlock pack-gated features without downloading anything. LiquidSense Dev ships the same scheme guard as a mixin on the vanilla handler.

ResourcePackCheck (Rise 6.1.30, Rise 6.2.4)

Block malicious level:// resource packs and reply FAILED_DOWNLOAD to keep the server state machine consistent.

As a SecurityFeature it intercepts S48, validates scheme and path (no traversal, must end in /resources.zip), and on violation sends C19 FAILED_DOWNLOAD via sendNoEvent and cancels the pack.

Source: Rise 6.2.4, Client-release2/Client/src/main/java/com/alan/clients/security/impl/ResourcePackCheck.java

Vanilla hook: SecurityFeature packet handle, no module toggle.
The FAILED_DOWNLOAD reply matches what a genuine failed download looks like, so pack-gated servers see a normal failure rather than a refusal.
Variations: Identical SecurityFeature in Rise 6.1.30. LiquidSense Dev implements the same scheme guard as a mixin on NetHandlerPlayClient (see the resource pack guard entry).
AntiExploit (Tenacity 6.0)

Block malicious resource packs (and other exploit packets) at the receive layer, answering C19 FAILED_DOWNLOAD for blocked packs.

The PacketReceiveEvent handler rejects non-http/https/level schemes and level:// URLs with traversal or a missing /resources.zip suffix, cancels the S48 and replies C19 with the pack's real hash.

Source: Tenacity 6.0, dev/tenacity/module/impl/misc/AntiExploit.java

Vanilla hook: PacketReceiveEvent.
Uses the real S48 hash in the reply, which makes the FAILED_DOWNLOAD fully consistent with the last pack the server sent; undetectable as a block.
Variations: Tenacity's Enhancements utility performs the same scheme check and C19 reply globally, outside any module toggle.
Disabler (pack accept spoof) (Rise 5.99)

Spoof a resource-pack acceptance with an empty hash to unlock pack-gated server features.

The c19 disabler mode sends C19 with an empty hash string and ACCEPTED via sendPacketWithoutEvent.

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

Vanilla hook: onPreMotion (PreMotionEvent).
A strict server matches the hash against its own S48 log and sees the empty hash; a sloppy one unlocks the gated features. No anti-cheat involvement.
Variations: No other client in the corpus spoofs ACCEPTED; the other implementations block instead of accept.
Enhancements (protocol guard) (Tenacity 6.0)

Globally reject non-http/https/level pack URLs and answer FAILED_DOWNLOAD outside any module.

The static utility validates the S48 URL scheme, sends C19 FAILED_DOWNLOAD with the real hash for bad schemes and throws URISyntaxException to abort the vanilla download.

Source: Tenacity 6.0, dev/tenacity/util/misc/Enhancements.java

Vanilla hook: S48 receive interception via the utility's integration point.
Same stealth profile as AntiExploit: the reply is a consistent FAILED_DOWNLOAD with the correct hash.
Variations: AntiExploit is the user-facing module; Enhancements is the always-on guard.
MixinNetHandlerPlayClient (resource pack guard) (LiquidSense Dev)

Block malicious level:// resource packs at the vanilla handler and reply C19 FAILED_DOWNLOAD to keep the server state machine consistent.

@Inject on handleResourcePack HEAD, cancellable: parse the S48 URL scheme, require http/https/level, and for level:// reject traversal (..) or a path not ending in /resources.zip. On URISyntaxException it logs, sends C19(hash, FAILED_DOWNLOAD) through netManager, and cancels the vanilla handler so the download never starts.

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

Vanilla hook: @Inject on NetHandlerPlayClient.handleResourcePack; netManager.sendPacket for the reply.
The FAILED_DOWNLOAD carries the real S48 hash, indistinguishable from a genuine download failure; same stealth profile as the Rise 6.x SecurityFeature.
Variations: The same mixin class also overwrites handleConfirmTransaction and fires EntityMovementEvent, which is why it appears in the S32 and S14 impl pages.
PacketReceiveEvent on S48PacketResourcePackSend (Tenacity), SecurityFeature handle (Rise 6.x), direct send for the spoof (Rise 5.99).
Rise 6.x answers via PacketUtil.sendNoEvent; Tenacity via mc.getNetHandler().addToSendQueue or networkManager.sendPacket; Rise 5.99 via sendPacketWithoutEvent. PingSpoofComponent also holds C19 in its blink tuple in both Rise 6.x builds. November Recode 2.0 registers C19 in its LuaEventPacket scripting id map (0x19) but ships no pack-handling module.

anticheat Anti-Cheat Checks

Artemis is the only anticheat with real logic on the resource-pack-status packet. Its PingSpoofProtocol uses the packet as a cheap keepalive on 1.8 servers to detect ping spoofing, and ResourcePackTickHandler turns it into a tick-confirmation channel. Other corpus hits are packet-type registrations and FlopAC wrappers.

PingSpoofProtocol (Artemis) (artemisac-artemis-minecraft-anticheat)

Detect ping spoofing using resource-pack responses as keepalives.

On 1.9 and older servers, the check pushes a fake resource pack whose URL encodes a numeric id, then expects the client's ResourcePackStatus response with FAILED_DOWNLOAD and a matching id, followed by the next keepalive. Missing, out-of-order, or non-numeric responses log violations. On 1.10+ it switches to fake teleports because the resource-pack hash was removed.

Detects: Ping spoofers that suppress or reorder keepalive packets, and clients that answer resource-pack requests they were never sent.

Source: artemisac-artemis-minecraft-anticheat, ac.artemis.checks.enterprise/src/main/java/ac/artemis/checks/enterprise/spoof/PingSpoofProtocol.java

Variations: ResourcePackTickHandler in the same repo reuses the mechanism as a tick-confirmation channel on 1.8; FlopAC and Negativity only register the packet type.
ResourcePackTickHandler (Artemis) (artemisac-artemis-minecraft-anticheat)

Turn resource-pack status into a tick counter for the connection.

On 1.8 servers, pushes a level:// resource pack whose hash encodes a numeric id, and accepts only FAILED_DOWNLOAD responses whose URL is numeric and contains the player name. The parsed id is stored as the player's resourcePackTick.

Detects: Nothing directly. It feeds the tick-confirmation infrastructure that other Artemis checks use to measure connection state.

Source: artemisac-artemis-minecraft-anticheat, ac.artemis.core/src/main/java/ac/artemis/core/v5/features/tick/impl/ResourcePackTickHandler.java

Variations: PingSpoofProtocol is the same mechanism used for keepalive verification; the tick handler is the non-checking consumer of it.

Wiki Cross-Reference

Hash string max 40 chars echoing the S48 hash (ctor truncates past 40) plus VarInt action 0-3.

Action order is 0 loaded, 1 declined, 2 failed download, 3 accepted; PLAY serverbound 0x19.

Vanilla 1.8.9 server handler is an empty no-op; required-pack kicks and gating live in plugins.

MCP 1.8.9 C19PacketResourcePackStatus implements Packet dispatching to INetHandlerPlayServer.handleResourcePackStatus; wire serde is readPacketData/writePacketData via readEnumValue, readStringFromBuffer.

1.8.9 callers: NetHandlerPlayClient.handleResourcePack sends new C19PacketResourcePackStatus (line 1714): https://github.com/Marcelektro/MavenMCP-1.8.9/blob/master/src/main/java/net/minecraft/client/network/NetHandlerPlayClient.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 C19PacketResourcePackStatus

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