0x19 C19PacketResourcePackStatus
Client reports the resource pack load status to the server. Sent after S48PacketResourcePackSend.
Fields
| Field | Type | Description |
|---|---|---|
| hash | String | SHA-1 hash of the resource pack (from S48) |
| status | VarInt Enum | 0=loaded, 1=declined, 2=failedDownload, 3=accepted |
Wire Encoding
| Field | Type | Notes |
|---|---|---|
| Hash | String | SHA-1 hash of the pack |
| Result | VarInt Enum | 0=loaded, 1=declined, 2=failedDownload, 3=accepted |
MCP References
MCP
NetHandlerPlayServer.processResourcePackStatus()Handler Interface
HND
INetHandlerPlayServerNotes
The server can force a resource pack. If the client declines, the server may kick the player.
implementation Implementation Cases
AntiResourcePack
Cancel resource pack downloads or fake acceptance.
if (event.getPacket() instanceof C19PacketResourcePackStatus) event.setCancelled(true);