Id: 12
Hex: 0C
Bin: 00001100
Sent by the server
Fields:
Name | Type | Default |
---|---|---|
entity id | varlong | |
runtime id | varlong | |
position | float<xyz> | |
yaw | float | |
pitch | float | |
seed | varint | |
dimension | varint | 0 |
generator | varint | 1 |
world gamemode | varint | |
difficulty | varint | |
spawn position | varint<xyz> | |
loaded in creative | bool | |
time | varint | |
edition | ubyte | |
rain level | float | |
lightning level | float | |
commands enabled | bool | |
texture required | bool | |
level id | string | |
world name | string |
Player's entity id that uniquely identifies the entity of the server.
Position where the player will spawn.
World's seed. It's displayed in the game's world settings and in beta's debug informations on top of the screen.
World's dimension. Different dimensions have different sky colours and render distances.
Constants:
Name | Value |
---|---|
overworld | 0 |
nether | 1 |
end | 2 |
World's type. It's displayed in the game's world settings.
In old and infinite world the sky becomes darker at 32 blocks of altitude and in flat worlds it only becomes darker under 0.
Constants:
Name | Value |
---|---|
old | 0 |
infinite | 1 |
flat | 2 |
Default's world gamemode. If the player's gamemode is different from the default's one a SetPlayerGameType should be sent after this.
Constants:
Name | Value |
---|---|
survival | 0 |
creative | 1 |
World's difficulty. The value is visible in the client's world settings.
Constants:
Name | Value |
---|---|
peaceful | 0 |
easy | 1 |
normal | 2 |
hard | 3 |
Position where the client's compass will point to.
Time of the day that should be in a range from 0 to 24000. If not the absolute value is moduled per 24000.
If the world's time is stopped a SetTime packet should be sent after this.
Game's edition. Some behaviours (some entities for example) may only work in a version and not in the other.
Constants:
Name | Value |
---|---|
classic | 0 |
education | 1 |
Intensity of the rain or the snow. Any value lower than or equals to 0 means no rain.
Indicates whether the cheats are enabled. If the cheats are disabled the player cannot send commands.
World's name that will be displayed in the game's world settings. It can contain formatting codes.