0x46 S46PacketSetCompressionLevel
Changes the compression threshold mid-game. Same as S03 but for PLAY state.
Fields
| Field | Type | Description |
|---|---|---|
| threshold | VarInt | New compression threshold |
Wire Encoding
| Field | Type | Notes |
|---|---|---|
| Threshold | VarInt | -1 = disable |
MCP References
MCP
NetHandlerPlayClient.handleSetCompressionLevel()Handler Interface
HND
INetHandlerPlayClientimplementation Implementation Cases
Disabler
Detect compression changes.