home / java315 / clientbound / join-game
Join game
Encode/decode this packet in Sandbox
Id: 35
Id (hex): 23
Id (bin): 00100011
Clientbound: ✔️
Serverbound: ✖️
Fields
| Name | Type |
|---|---|
| entity id | uint |
| gamemode | ubyte |
| dimension | int |
| difficulty | ubyte |
| max players | ubyte |
| level type | string |
| reduced debug | bool |
gamemode
Constants:
| Name | Value |
|---|---|
| survival | 0 |
| creative | 1 |
| adventure | 2 |
| spectator | 3 |
dimension
Constants:
| Name | Value |
|---|---|
| nether | -1 |
| overworld | 0 |
| end | 1 |
difficulty
Constants:
| Name | Value |
|---|---|
| peaceful | 0 |
| easy | 1 |
| normal | 2 |
| hard | 3 |
level type
Constants:
| Name | Value |
|---|---|
| infinity | default |
| flat | flat |
| amplified | amplified |
| large biomes | largeBiomes |