The tags in a player file
| Tag | Type | What it is |
|---|---|---|
Pos | List of Double | X, Y, Z. The fix for a player stuck in a wall or below bedrock. |
Rotation | List of Float | Yaw and pitch. |
Dimension | String / Int | Which dimension the player logs into. |
Inventory | List of Compound | One entry per stack: id, Count, Slot, components or tag. |
EnderItems | List of Compound | Ender chest contents, same shape. |
Health, foodLevel, XpLevel, XpTotal | Float / Int | Vitals and experience. |
playerGameType | Int | Per-player game mode. |
abilities | Compound | Flying, invulnerable, walk and fly speed. |
Attributes | List of Compound | Max health, movement speed and other modifiers. |
SpawnX/SpawnY/SpawnZ or respawn | Int / Compound | Personal respawn point, depending on version. |
UUID | Int[4] | The player's UUID as four ints in modern versions. |
Item stacks changed shape in 1.20.5: custom data moved from a single tag compound to individual components. Both shapes open here; edit whichever your version writes.