← Back to Index

StartGamePacket (11)

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.
Field Name Type Field Index Description
Entity ID (Required) ActorUniqueID 0

ActorUniqueID

Field Name Type Field Index Description
Actor Unique ID (Required) varint64 0
Runtime ID (Required) ActorRuntimeID 1

ActorRuntimeID

Field Name Type Field Index Description
Actor Runtime ID (Required) varuint64 0
Game Type (Required) varint32 2
Enum Values:
Index Value
0 Undefined
1 Survival
2 Creative
3 Adventure
4 Default
5 Spectator
6 WorldDefault
Position (Required) Vec3 3

Vec3

Field Name Type Field Index Description
X (Required) float 0
Y (Required) float 1
Z (Required) float 2
Rotation (Required) Vec2 4

Vec2

Field Name Type Field Index Description
X (Required) float 0
Y (Required) float 1
Settings (Required) LevelSettings 5

LevelSettings

Field Name Type Field Index Description
Seed (Required) uint64 0
Spawn Settings (Required) SpawnSettings 1

SpawnSettings

Field Name Type Field Index Description
Spawn Biome Type (Required) int16 0
Enum Values:
Index Value
0 Default
1 UserDefined
User Defined Biome Name (Required) string 1
Dimension (Required) varint32 2
Generator Type (Required) varint32 2
Enum Values:
Index Value
0 Legacy
1 Overworld
2 Flat
3 Nether
4 TheEnd
5 Void
6 Undefined
Game Type (Required) varint32 3
Enum Values:
Index Value
0 Undefined
1 Survival
2 Creative
3 Adventure
4 Default
5 Spectator
6 WorldDefault
Is Hardcore (Required) boolean 4
Game Difficulty (Required) varint32 5
Enum Values:
Index Value
0 Peaceful
1 Easy
2 Normal
3 Hard
4 Count
5 Unknown
Default Spawn Block Position (Required) BlockPos 6

BlockPos

Field Name Type Field Index Description
X (Required) varint32 0
Y (Required) varint32 1
Z (Required) varint32 2
Achievements Disabled (Required) boolean 7
Editor World Type (Required) varint32 8
Enum Values:
Index Value
0 NonEditor
1 EditorProject
2 EditorTestLevel
3 EditorRealmsUpload
Is Created In Editor (Required) boolean 9
Is Exported From Editor (Required) boolean 10
Day Cycle Stop Time (Required) varint32 11
Education Edition Offer (Required) varuint32 12
Enum Values:
Index Value
0 None
1 RestOfWorld
2 China_Deprecated
Education Features Enabled (Required) boolean 13
Education Product ID (Required) string 14
Rain Level (Required) float 15
Lightning Level (Required) float 16
Has Confirmed Platform Locked Content (Required) boolean 17
Multiplayer Game Intent (Required) boolean 18
LAN Broadcast Intent (Required) boolean 19
Xbox Live Broadcast Setting (Required) varint32 20
Enum Values:
Index Value
0 NoMultiPlay
1 InviteOnly
2 FriendsOnly
3 FriendsOfFriends
4 Public
Platform Broadcast Setting (Required) varint32 21
Enum Values:
Index Value
0 NoMultiPlay
1 InviteOnly
2 FriendsOnly
3 FriendsOfFriends
4 Public
Commands Enabled (Required) boolean 22
Texture Packs Required (Required) boolean 23
Rule Data (Required) GameRulesChangedPacketData 24

GameRulesChangedPacketData

Field Name Type Field Index Description
Rules List (Required) array<GameRule> 0

GameRule (Array Item)

Field Name Type Field Index Description
Rule Name (Required) string 0
Rule Can Be Modified (Required) boolean 1
Rule Value (Required) oneOf 2
oneOf<null, boolean, int32, float>:
Control Value [uint32] Type Details
0 null -
1 boolean Underlying: boolean
2 int32 Underlying: int32
3 float Underlying: float
Experiments (Required) Experiments 25

Experiments

Field Name Type Field Index Description
Toggles (Required) array<ExperimentToggle> 0 Active experiment toggles followed by always-on toggles

ExperimentToggle (['No size compression']) (Array Item)

Field Name Type Field Index Description
Name (Required) string 0
Enabled (Required) boolean 1
ExperimentsEverToggled (Required) boolean 1 Whether any experiments have ever been toggled in this world
Has Bonus Chest Enabled (Required) boolean 26
Start With Map Enabled (Required) boolean 27
Player Permissions (Required) varint8 28
Enum Values:
Index Value
0 Visitor
1 Member
2 Operator
3 Custom
Server Chunk Tick Range (Required) int32 29
Has Locked Behavior Pack (Required) boolean 30
Has Locked Resource Pack (Required) boolean 31
Is From Locked Template (Required) boolean 32
Use Msa Gamertags Only (Required) boolean 33
Is From World Template (Required) boolean 34
Is World Template Option Locked (Required) boolean 35
Only Spawn V1 Villagers (Required) boolean 36
Persona Disabled (Required) boolean 37
Custom Skins Disabled (Required) boolean 38
Emote Chat Muted (Required) boolean 39
Base Game Version (Required) string 40
Limited World Width (Required) int32 41
Limited World Depth (Required) int32 42
Nether Type (Required) boolean 43
Edu Shared Uri Resource (Required) EduSharedUriResource 44

EduSharedUriResource

Field Name Type Field Index Description
Button Name (Required) string 0
Link Uri (Required) string 1
Override Force Experimental Gameplay boolean 45
Chat Restriction Level (Required) uint8 46
Enum Values:
Index Value
0 None
1 Dropped
2 Disabled
Disable Player Interactions (Required) boolean 47
Server Editor Connection Policy (Required) varint32 48
Enum Values:
Index Value
0 MatchWorldType
1 EditorOnly
2 VanillaOnly
3 Mixed
Allow Anonymous Block Drops In Editor Worlds (Required) boolean 49
Level ID (Required) string 6
Level Name (Required) string 7
Template Content Identity (Required) string 8
Is Trial (Required) boolean 9
Movement Settings (Required) SyncedPlayerMovementSettings 10

SyncedPlayerMovementSettings

Field Name Type Field Index Description
Rewind History Size (Required) varint32 0 When using server authoritative movement mode, this determines the number of ticks the client keeps in history for use in processing corrections.
Server Authoritative Block Breaking (Required) boolean 1
Level Current Time (Required) uint64 11
Enchantment Seed (Required) varint32 12
Block Properties (Required) array<ServerBlockProperty> 13

ServerBlockProperty (Array Item)

Field Name Type Field Index Description
Block Name (Required) string 0
Block Definition (Required) unknown 1 Map of block states. { key (component name):[label,value] } (Can be left empty.)
Multiplayer Correlation Id (Required) string 14 A UUID to identify this multiplayer session.
Enable Item Stack Net Manager (Required) boolean 15 Whether the new item stack net manager is enabled for server authoritative inventory.
Server Version (Required) string 16 For telemetry purposes - sending your own string with your own server name and version here would be useful for Mojang's telemetry.
Player Property Data (Required) unknown 17 like SyncActorPropertyPacket, specifically for minecraft:player properties
Server Block Type Registry Checksum (Required) uint64 18 Checksum for detecting mismatches in block types between server and client.
World Template ID (Required) mce::UUID 19

mce::UUID

Field Name Type Field Index Description
Most Significant Bits (Required) uint64 0
Least Significant Bits (Required) uint64 1
Server Enabled ClientSide Generation (Required) boolean 20 BiomeComponentFactory needs to know about this toggle before we start parsing BiomeComponents
BlockNetworkIds Are Hashes (Required) boolean 21
NetworkPermissions (Required) NetworkPermissions 22

NetworkPermissions

Field Name Type Field Index Description
Server Auth Sound Enabled (Required) boolean 0
Server Configuration Join Info server_config 23

server_config

Field Name Type Field Index Description
gathering gatheringsConfig 0

gatheringsConfig

Field Name Type Field Index Description
experienceId (Required) mce::UUID 0 The unique identifier for the experience.

mce::UUID

Field Name Type Field Index Description
Most Significant Bits (Required) uint64 0
Least Significant Bits (Required) uint64 1
experienceName (Required) string 1 The name of the experience.
worldId (Required) mce::UUID 2 The unique identifier for the experience world.

mce::UUID

Field Name Type Field Index Description
Most Significant Bits (Required) uint64 0
Least Significant Bits (Required) uint64 1
worldName (Required) string 3 The name of the experience world.
creatorId (Required) string 4 The unique identifier for the creator of the experience.
targetId (Required) mce::UUID 5 The unique identifier for the target.

mce::UUID

Field Name Type Field Index Description
Most Significant Bits (Required) uint64 0
Least Significant Bits (Required) uint64 1
scenarioId (Required) string 6 The unique identifier for the scenario.
serverId (Required) string 7 The unique identifier for the server.
clientStoreEntryPoint clientStoreEntryPointConfig 1

clientStoreEntryPointConfig

Field Name Type Field Index Description
storeId (Required) string 0 The unique identifier for the store.
storeName (Required) string 1 The name of the store.
presence presenceConfig 2

presenceConfig

Field Name Type Field Index Description
richPresenceId string 0 Rich presence ID to override client-driven rich presence.
Server Telemetry Data (Required) ServerTelemetryData 24

ServerTelemetryData

Field Name Type Field Index Description
Server Id (Required) string 0
Scenario Id (Required) string 1
World Id (Required) string 2
Owner Id (Required) string 3