0x2E S2EPacketCloseWindow

Server forces the client to close an inventory window.

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

Fields

FieldTypeDescription
windowIdbyteWindow ID

Wire Encoding

FieldTypeNotes
Window IDunsigned byte

MCP References

MCPNetHandlerPlayClient.handleCloseWindow()

Handler Interface

HNDINetHandlerPlayClient

implementation Implementation Cases

ChestStealer

Detect window closing — disable auto-steal.

Vanilla hook: EventReceivePacket
InvManager

Detect window closing — disable auto-steal.

Vanilla hook: EventReceivePacket
← Back to all packets