0x48 S48PacketResourcePackSend
Sends a resource pack URL and hash. Client downloads and applies it.
Fields
| Field | Type | Description |
|---|---|---|
| url | String | Download URL |
| hash | String | SHA-1 hash |
Wire Encoding
| Field | Type | Notes |
|---|---|---|
| URL | String | |
| Hash | String | SHA-1 hash |
MCP References
MCP
NetHandlerPlayClient.handleResourcePackSend()Handler Interface
HND
INetHandlerPlayClientNotes
Client responds with C19PacketResourcePackStatus. Hash is used to verify download integrity.
implementation Implementation Cases
AntiResourcePack
(Gugustus)
Cancel resource pack sends.
if (event.getPacket() instanceof S48PacketResourcePackSend) event.setCancelled(true);