← Packet index

Packet 11

StartGamePacket

Sent from the server to client when the game is starting (or client joins), gives ids and current tick.

The player movement mode is also specified here, see ServerAuthMovementMode enum documentation for details on the modes.

Packet datagramWire order
HeaderID 11varuint
0Entity IDActorUniqueID · variable
1Runtime IDActorRuntimeID · variable
2Game Typevarint32 · variable (up to 5 bytes)
3PositionVec3 · variable
4RotationVec2 · variable
5SettingsLevelSettings · variable
6Level IDstring · variable
7Level Namestring · variable
8Template Content Identitystring · variable
9Is Trialboolean · 1 byte
10Movement SettingsSyncedPlayerMovementSettings · variable
11Level Current Timeuint64 · 8 bytes
12Enchantment Seedvarint32 · variable (up to 5 bytes)
13Block Propertiesarray<ServerBlockProperty> · variable
14Multiplayer Correlation Idstring · variable
15Enable Item Stack Net Managerboolean · 1 byte
16Server Versionstring · variable
17Player Property Dataunknown · variable
18Server Block Type Registry Checksumuint64 · 8 bytes
19World Template IDmce::UUID · variable
20Server Enabled ClientSide Generationboolean · 1 byte
21BlockNetworkIds Are Hashesboolean · 1 byte
22NetworkPermissionsNetworkPermissions · variable
23Server Configuration Join Infoserver_config · variable
24Server Telemetry DataServerTelemetryData · variable

Serialized fields

25 top-level fields
  1. 0Entity IDActorUniqueID
    1. 0Actor Unique IDCompressionvarint64
  2. 1Runtime IDActorRuntimeID
    1. 0Actor Runtime IDCompressionvaruint64
  3. 2Game TypeCompressionEnum-as-ValueAllow unknown enum valuesGameTypeas varint32
    1. -1Undefined
    2. 0Survival
    3. 1Creative
    4. 2Adventure
    5. 5Default
    6. 6Spectator
    7. 0WorldDefault
  4. 3PositionVec3
  5. 4RotationVec2
  6. 5SettingsLevelSettings
    1. 0Seeduint64
    2. 1Spawn SettingsSpawnSettings
      1. 0Spawn Biome TypeEnum-as-ValueAllow unknown enum valuesSpawnBiomeTypeas int16
        1. 0Default
        2. 1UserDefined
      2. 1User Defined Biome Namestring
      3. 2DimensionCompressionvarint32
    3. 2Generator TypeCompressionEnum-as-ValueAllow unknown enum valuesGeneratorTypeas varint32
      1. 0Legacy
      2. 1Overworld
      3. 2Flat
      4. 3Nether
      5. 4TheEnd
      6. 5Void
      7. 6Undefined
    4. 3Game TypeCompressionEnum-as-ValueAllow unknown enum valuesGameTypeas varint32
      1. -1Undefined
      2. 0Survival
      3. 1Creative
      4. 2Adventure
      5. 5Default
      6. 6Spectator
      7. 0WorldDefault
    5. 4Is Hardcoreboolean
    6. 5Game DifficultyCompressionEnum-as-ValueAllow unknown enum valuesDifficultyas varint32
      1. 0Peaceful
      2. 1Easy
      3. 2Normal
      4. 3Hard
      5. 4Count
      6. 5Unknown
    7. 6Default Spawn Block PositionBlockPos
      1. 0XCompressionvarint32
      2. 1YCompressionvarint32
      3. 2ZCompressionvarint32
    8. 7Achievements Disabledboolean
    9. 8Editor World TypeCompressionEnum-as-ValueAllow unknown enum valuesEditorWorldTypeas varint32
      1. 0NonEditor
      2. 1EditorProject
      3. 2EditorTestLevel
      4. 3EditorRealmsUpload
    10. 9Is Created In Editorboolean
    11. 10Is Exported From Editorboolean
    12. 11Editor Level Migration VersionCompressionEnum-as-ValueEditorLevelMigrationVersionas int8
      1. 0Legacy
      2. 1EditorAchievements
    13. 12Day Cycle Stop TimeCompressionvarint32
    14. 13Education Edition OfferCompressionEnum-as-ValueAllow unknown enum valuesEducationEditionOfferas varuint32
      1. 0None
      2. 1RestOfWorld
      3. 2China_Deprecated
    15. 14Education Features Enabledboolean
    16. 15Education Product IDstring
    17. 16Rain Levelfloat
    18. 17Lightning Levelfloat
    19. 18Has Confirmed Platform Locked Contentboolean
    20. 19Multiplayer Game Intentboolean
    21. 20LAN Broadcast Intentboolean
    22. 21Xbox Live Broadcast SettingCompressionEnum-as-ValueAllow unknown enum valuesGamePublishSettingas varint32
      1. 0NoMultiPlay
      2. 1InviteOnly
      3. 2FriendsOnly
      4. 3FriendsOfFriends
      5. 4Public
    23. 22Platform Broadcast SettingCompressionEnum-as-ValueAllow unknown enum valuesGamePublishSettingas varint32
      1. 0NoMultiPlay
      2. 1InviteOnly
      3. 2FriendsOnly
      4. 3FriendsOfFriends
      5. 4Public
    24. 23Commands Enabledboolean
    25. 24Texture Packs Requiredboolean
    26. 25Rule DataGameRulesChangedPacketData
      1. 0Rules ListGameRuleas array<GameRule>
        1. 0Rule Namestring
        2. 1Rule Can Be Modifiedboolean
        3. 2Rule ValueoneOf<null, boolean, int32, float>
          0Variant 0null
          1Variant 1boolean
          2Variant 2int32
          3Variant 3float
    27. 26ExperimentsExperiments
      1. 0TogglesActive experiment toggles followed by always-on togglesNo size compressionExperimentToggleas array<ExperimentToggle>
        1. 0Namestring
        2. 1Enabledboolean
      2. 1ExperimentsEverToggledWhether any experiments have ever been toggled in this worldboolean
    28. 27Has Bonus Chest Enabledboolean
    29. 28Start With Map Enabledboolean
    30. 29Player PermissionsCompressionEnum-as-ValueAllow unknown enum valuesPlayerPermissionLevelas int8
      1. 0Visitor
      2. 1Member
      3. 2Operator
      4. 3Custom
    31. 30Server Chunk Tick Rangeint32
    32. 31Has Locked Behavior Packboolean
    33. 32Has Locked Resource Packboolean
    34. 33Is From Locked Templateboolean
    35. 34Use Msa Gamertags Onlyboolean
    36. 35Is From World Templateboolean
    37. 36Is World Template Option Lockedboolean
    38. 37Only Spawn V1 Villagersboolean
    39. 38Persona Disabledboolean
    40. 39Custom Skins Disabledboolean
    41. 40Emote Chat Mutedboolean
    42. 41Base Game Versionstring
    43. 42Limited World Widthint32
    44. 43Limited World Depthint32
    45. 44Nether Typeboolean
    46. 45Edu Shared Uri ResourceEduSharedUriResource
      1. 0Button Namestring
      2. 1Link Uristring
    47. 46Override Force Experimental Gameplayoptionalboolean
    48. 47Chat Restriction LevelEnum-as-ValueAllow unknown enum valuesChatRestrictionLevelas uint8
      1. 0None
      2. 1Dropped
      3. 2Disabled
    49. 48Disable Player Interactionsboolean
    50. 49Server Editor Connection PolicyCompressionEnum-as-ValueAllow unknown enum valuesServerEditorConnectionPolicyas varint32
      1. 0MatchWorldType
      2. 1EditorOnly
      3. 2VanillaOnly
      4. 3Mixed
    51. 50Allow Anonymous Block Drops In Editor Worldsboolean
  7. 6Level IDstring
  8. 7Level Namestring
  9. 8Template Content Identitystring
  10. 9Is Trialboolean
  11. 10Movement SettingsSyncedPlayerMovementSettings
    1. 0Rewind History SizeWhen using server authoritative movement mode, this determines the number of ticks the client keeps in history for use in processing corrections.Compressionvarint32
    2. 1Server Authoritative Block Breakingboolean
  12. 11Level Current Timeuint64
  13. 12Enchantment SeedCompressionvarint32
  14. 13Block PropertiesServerBlockPropertyas array<ServerBlockProperty>
    1. 0Block Namestring
    2. 1Block DefinitionMap of block states. { key (component name):[label,value] } (Can be left empty.)unknown
  15. 14Multiplayer Correlation IdA UUID to identify this multiplayer session.string
  16. 15Enable Item Stack Net ManagerWhether the new item stack net manager is enabled for server authoritative inventory.boolean
  17. 16Server VersionFor telemetry purposes - sending your own string with your own server name and version here would be useful for Mojang's telemetry.string
  18. 17Player Property Datalike SyncActorPropertyPacket, specifically for minecraft:player propertiesunknown
  19. 18Server Block Type Registry ChecksumChecksum for detecting mismatches in block types between server and client.uint64
  20. 19World Template IDmce::UUID
    1. 0Most Significant Bitsuint64
    2. 1Least Significant Bitsuint64
  21. 20Server Enabled ClientSide GenerationBiomeComponentFactory needs to know about this toggle before we start parsing BiomeComponentsboolean
  22. 21BlockNetworkIds Are Hashesboolean
  23. 22NetworkPermissionsNetworkPermissions
    1. 0Server Auth Sound Enabledboolean
  24. 23Server Configuration Join Infooptionalserver_config
    1. 0gatheringoptionalgatheringsConfig
      1. 0experienceIdThe unique identifier for the experience.mce::UUID
        1. 0Most Significant Bitsuint64
        2. 1Least Significant Bitsuint64
      2. 1experienceNameThe name of the experience.string
      3. 2worldIdoptionalThe unique identifier for the experience world.mce::UUID
        1. 0Most Significant Bitsuint64
        2. 1Least Significant Bitsuint64
      4. 3worldNameoptionalThe name of the experience world.string
      5. 4creatorIdThe unique identifier for the creator of the experience.string
      6. 5targetIdoptionalThe unique identifier for the target.mce::UUID
        1. 0Most Significant Bitsuint64
        2. 1Least Significant Bitsuint64
      7. 6scenarioIdoptionalThe unique identifier for the scenario.string
      8. 7serverIdoptionalThe unique identifier for the server.string
    2. 1clientStoreEntryPointoptionalclientStoreEntryPointConfig
      1. 0storeIdThe unique identifier for the store.string
      2. 1storeNameThe name of the store.string
    3. 2presenceoptionalpresenceConfig
      1. 0richPresenceIdoptionalRich presence ID to override client-driven rich presence.string
  25. 24Server Telemetry DataServerTelemetryData
    1. 0Server Idstring
    2. 1Scenario Idstring
    3. 2World Idstring
    4. 3Owner Idstring

Changelog

Stable releases

Changes between stable protocol releases.

Released
Protocol
2168

Packet

1 entry

Changed 1

StartGamePacket12 changes · ID 11
  • Added Allow unknown enum values to Game Type serialization.
  • Changed supporting type LevelSettings: Added Allow unknown enum values to Generator Type serialization.
  • Changed supporting type LevelSettings: Added Allow unknown enum values to Game Type serialization.
  • Changed supporting type LevelSettings: Added Allow unknown enum values to Game Difficulty serialization.
  • Changed supporting type LevelSettings: Added Allow unknown enum values to Editor World Type serialization.
  • Changed supporting type LevelSettings: Added Allow unknown enum values to Education Edition Offer serialization.
  • Changed supporting type LevelSettings: Added Allow unknown enum values to Xbox Live Broadcast Setting serialization.
  • Changed supporting type LevelSettings: Added Allow unknown enum values to Platform Broadcast Setting serialization.
  • Changed supporting type LevelSettings: Added Allow unknown enum values to Player Permissions serialization.
  • Changed supporting type LevelSettings: Added Allow unknown enum values to Chat Restriction Level serialization.
  • Changed supporting type LevelSettings: Added Allow unknown enum values to Server Editor Connection Policy serialization.
  • Changed supporting type SpawnSettings: Added Allow unknown enum values to Spawn Biome Type serialization.