OverviewPacketsServerboundLoadingScreen
ID 0x138 · 312Client → ServerUI
ServerboundLoadingScreen
In order for the client to send a packet with StartLoadingScreen, the server needs to anticipate that this packet is coming. If the server doesn't expect that we are about to start a loading screen, the server will disconnect the client. EndLoadingScreen is sent by the client when the loading screen closes. The Loading Screen Id field will be empty if the loading screen is triggered by the initial loading into of a world. The Loading Screen Id field will have a value if sent by the server. This currently happens as part of ChangeDimensionPacket if the player is alive.
serverbound-loading-screen.bin
struct ServerboundLoadingScreen {
ServerboundLoadingScreenPacketType LoadingScreenPacketType;
optional byte + uint32 LoadingScreenId;
}Structure
| Field | Type | Description |
|---|---|---|
| Loading Screen Packet Type | ServerboundLoadingScreenPacketType | |
| Loading Screen Id | optional byte + uint32 | Presence flag on the wire; value omitted when absent. |
Notes
- No special notes.
