<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.sasgaming.net/index.php?action=history&amp;feed=atom&amp;title=Minecraft%3APlayer.dat_format</id>
	<title>Minecraft:Player.dat format - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.sasgaming.net/index.php?action=history&amp;feed=atom&amp;title=Minecraft%3APlayer.dat_format"/>
	<link rel="alternate" type="text/html" href="https://wiki.sasgaming.net/index.php?title=Minecraft:Player.dat_format&amp;action=history"/>
	<updated>2026-09-08T20:02:34Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://wiki.sasgaming.net/index.php?title=Minecraft:Player.dat_format&amp;diff=191805&amp;oldid=prev</id>
		<title>SyncBot: Sync: updated from Minecraft</title>
		<link rel="alternate" type="text/html" href="https://wiki.sasgaming.net/index.php?title=Minecraft:Player.dat_format&amp;diff=191805&amp;oldid=prev"/>
		<updated>2026-08-30T11:12:01Z</updated>

		<summary type="html">&lt;p&gt;Sync: updated from Minecraft&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 11:12, 30 August 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l20&quot;&gt;Line 20:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 20:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The image below shows the slot numbers of the player&amp;#039;s inventory slots as of [[Minecraft:Java Edition 1.21.5]].&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The image below shows the slot numbers of the player&amp;#039;s inventory slots as of [[Minecraft:Java Edition 1.21.5]].&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In versions prior to [[Minecraft:Java Edition 25w03a|25w03a]] (including [[Minecraft:Java Edition 1.21.4|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&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, &lt;/del&gt;102&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, &lt;/del&gt;101&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, &lt;/del&gt;100 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;and &lt;/del&gt;-106 respectively.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In versions prior to [[Minecraft:Java Edition 25w03a|25w03a]] (including [[Minecraft:Java Edition 1.21.4|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 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{cd|&lt;/ins&gt;103&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|&lt;/ins&gt;102&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|&lt;/ins&gt;101&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|&lt;/ins&gt;100&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|&lt;/ins&gt;-106&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|d=and}} &lt;/ins&gt;respectively.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[File:Items slot number.png|alt=The player&amp;#039;s inventory slot numbers as of 1.21.5.]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[File:Items slot number.png|alt=The player&amp;#039;s inventory slot numbers as of 1.21.5.]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>SyncBot</name></author>
	</entry>
	<entry>
		<id>https://wiki.sasgaming.net/index.php?title=Minecraft:Player.dat_format&amp;diff=156967&amp;oldid=prev</id>
		<title>SyncBot: Sync: new page from Minecraft</title>
		<link rel="alternate" type="text/html" href="https://wiki.sasgaming.net/index.php?title=Minecraft:Player.dat_format&amp;diff=156967&amp;oldid=prev"/>
		<updated>2026-06-28T11:19:30Z</updated>

		<summary type="html">&lt;p&gt;Sync: new page from Minecraft&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{lowercase title}}&lt;br /&gt;
{{redirect|player.dat|the file that stores player data in Pocket Edition v0.1.0 alpha|Bedrock Edition level format/v0.1.0 alpha#player.dat}}&lt;br /&gt;
{{exclusive|java}}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;lt;player&amp;gt;.dat&amp;#039;&amp;#039;&amp;#039; files are used by [[Minecraft:server]]s to store the state of individual [[Minecraft:player]]s. The format is also used within [[Minecraft:Java Edition level format#level.dat format|level.dat]] files to store the state of the [[Minecraft:singleplayer]] player, which overrides any &amp;lt;player&amp;gt;.dat files with the same name as the singleplayer player. These files are in [[Minecraft:NBT format]].&lt;br /&gt;
&lt;br /&gt;
== NBT structure ==&lt;br /&gt;
&lt;br /&gt;
{{:Player/ED}}&lt;br /&gt;
&lt;br /&gt;
{{Calculator|playerUuid}}&lt;br /&gt;
&lt;br /&gt;
== Item structure ==&lt;br /&gt;
{{Main|Data component format}}&lt;br /&gt;
&lt;br /&gt;
Items are used both in the player&amp;#039;s inventory and ender chest.&lt;br /&gt;
&lt;br /&gt;
== Inventory slot numbers ==&lt;br /&gt;
&lt;br /&gt;
The image below shows the slot numbers of the player&amp;#039;s inventory slots as of [[Minecraft:Java Edition 1.21.5]].&lt;br /&gt;
&lt;br /&gt;
In versions prior to [[Minecraft:Java Edition 25w03a|25w03a]] (including [[Minecraft:Java Edition 1.21.4|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.&lt;br /&gt;
&lt;br /&gt;
[[File:Items slot number.png|alt=The player&amp;#039;s inventory slot numbers as of 1.21.5.]]&lt;br /&gt;
&lt;br /&gt;
== History ==&lt;br /&gt;
{{Missing information|section|history prior to 1.19|type=old}}&lt;br /&gt;
&lt;br /&gt;
{{HistoryTable&lt;br /&gt;
|{{HistoryLine|java}}&lt;br /&gt;
|{{HistoryLine||1.7.6-pre1|Player data files are now named by UUID instead of by Username.}}&lt;br /&gt;
|{{HistoryLine||1.8|dev=14w33a|Added &amp;lt;code&amp;gt;SelectedItem&amp;lt;/code&amp;gt; for all items.}}&lt;br /&gt;
|{{HistoryLine||1.12|dev=17w13a|Added {{cd|d=and|ShoulderEntityLeft|ShoulderEntityRight}}, which contain entity data about the entity on the player&amp;#039;s shoulders.&lt;br /&gt;
|Added {{cd|seenCredits}} to indicate whether the player has entered the exit portal at least once.&lt;br /&gt;
|Added {{cd|recipeBook}}, which contain various information about the recipes the player has unlocked.}}&lt;br /&gt;
|{{HistoryLine|||dev=pre1|Added &amp;lt;code&amp;gt;enteredNetherPosition&amp;lt;/code&amp;gt; to players, for use with the &amp;lt;code&amp;gt;[[Minecraft:Advancements#minecraft:nether_travel|minecraft:nether_travel]]&amp;lt;/code&amp;gt; advancement trigger.}}&lt;br /&gt;
|{{HistoryLine||1.16|dev=Pre-release 6|Added {{cd|previousPlayerGameType}} to store the previous game mode of the player.}}&lt;br /&gt;
|{{HistoryLine||1.19|dev=22w14a|Added {{cd|LastDeathLocation}}, together with the [[Minecraft:recovery compass]].}}&lt;br /&gt;
|{{HistoryLine||1.20.5|dev=24w11a|Added {{cd|spawn_extra_particles_on_fall}}.}}&lt;br /&gt;
|{{HistoryLine||1.21|dev=Pre-release 4|Added {{cd|current_explosion_impact_pos}} and {{cd|ignore_fall_damage_from_current_explosion}} to store the [[Minecraft:wind charge]]&amp;#039;s fall damage reduction.}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== Trivia ==&lt;br /&gt;
* Pre-1.7.10 player data files were named as the player&amp;#039;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:&lt;br /&gt;
** &amp;lt;code&amp;gt;AUX&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;COM&amp;lt;n&amp;gt;&amp;lt;/code&amp;gt; where n is a digit from 1-9 (inclusive)&lt;br /&gt;
** &amp;lt;code&amp;gt;CON&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;LPT&amp;lt;n&amp;gt;&amp;lt;/code&amp;gt; where n is a digit from 1-9 (inclusive)&lt;br /&gt;
** &amp;lt;code&amp;gt;NUL&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;PRN&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Navigation ==&lt;br /&gt;
{{Navbox Java Edition technical|general}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Development]]&lt;br /&gt;
&lt;br /&gt;
[[Minecraft:de:Spielerdaten]]&lt;br /&gt;
[[Minecraft:fr:Format player.dat]]&lt;br /&gt;
[[Minecraft:ja:Player.datフォーマット]]&lt;br /&gt;
[[Minecraft:nl:Player.dat formaat]]&lt;br /&gt;
[[Minecraft:pt:Formato Player.dat]]&lt;br /&gt;
[[Minecraft:ru:Player.dat]]&lt;br /&gt;
[[Minecraft:zh:玩家数据格式]]&lt;/div&gt;</summary>
		<author><name>SyncBot</name></author>
	</entry>
</feed>