OverviewPacketsSetSpawnPosition
ID 0x2B · 43Server → ClientPlayer
SetSpawnPosition
Sets the world or player spawn point used by compasses and respawns.
set-spawn-position.bin
struct SetSpawnPosition {
SpawnPositionType SpawnPosType;
BlockPos Pos;
DimensionType DimensionType;
BlockPos SpawnBlockPos;
}Structure
| Field | Type | Description |
|---|---|---|
| Spawn Pos Type | SpawnPositionType | |
| Pos | BlockPos | |
| Dimension Type | DimensionType | |
| Spawn Block Pos | BlockPos |
Structure of BlockPos
| Field | Type | Description |
|---|---|---|
| X | varint32 | |
| Y | varint32 | |
| Z | varint32 |
Notes
- No special notes.
