Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Minecraft:Player.dat format

From SAS Gaming Wiki

Template:Lowercase title Template:Redirect Template:Exclusive

<player>.dat files are used by Minecraft:servers to store the state of individual Minecraft:players. The format is also used within level.dat files to store the state of the Minecraft:singleplayer player, which overrides any <player>.dat files with the same name as the singleplayer player. These files are in Minecraft:NBT format.

NBT structure

Player/ED

Template:Calculator

Item structure

Template:Main

Items are used both in the player's inventory and ender chest.

Inventory slot numbers

The image below shows the slot numbers of the player's inventory slots as of Minecraft:Java Edition 1.21.5.

In versions prior to 25w03a (including 1.21.4), the head, chest, legs, feet, and offhand slots were stored in the Inventory tag. In 1.21.4 and most prior versions these slots are numbered 103, 102, 101, 100 and -106 respectively.

The player's inventory slot numbers as of 1.21.5.

History

Template:Missing information

Template:HistoryTable

Trivia

  • Pre-1.7.10 player data files were named as the player's username rather than their UUID, this meant if the server was running on Windows and the player had a reserved filename as a player name they would not have their player data saved. List of Reserved Windows Filenames:
    • AUX
    • COM<n> where n is a digit from 1-9 (inclusive)
    • CON
    • LPT<n> where n is a digit from 1-9 (inclusive)
    • NUL
    • PRN

Navigation

Template:Navbox Java Edition technical

Minecraft:de:Spielerdaten Minecraft:fr:Format player.dat Minecraft:ja:Player.datフォーマット Minecraft:nl:Player.dat formaat Minecraft:pt:Formato Player.dat Minecraft:ru:Player.dat Minecraft:zh:玩家数据格式