← Packet index

Packet 105

SetDefaultGameTypePacket

Same as SetPlayerGameTypePacket & UpdatePlayerGameTypePacket, the only difference is that this changes the default for all clients.

Packet datagramWire order
HeaderID 105varuint
0Default Game Typevarint32 · variable (up to 5 bytes)

Serialized fields

1 top-level fields
  1. 0Default Game TypeCompressionEnum-as-Valuevarint32
    1. 0Survival
    2. 1Creative
    3. 2Adventure
    4. 5Default
    5. 6Spectator
    6. 0WorldDefault

Changelog

Stable releases

Changes between stable protocol releases.

No stable release changes are recorded for this packet.