<?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%3AUUID</id>
	<title>Minecraft:UUID - 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%3AUUID"/>
	<link rel="alternate" type="text/html" href="https://wiki.sasgaming.net/index.php?title=Minecraft:UUID&amp;action=history"/>
	<updated>2026-04-09T07:31:08Z</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:UUID&amp;diff=51067&amp;oldid=prev</id>
		<title>~2026-RavagerZombieCreeper7265: /* Player UUID */ Minor spelling change from &quot;wich&quot; to &quot;which&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.sasgaming.net/index.php?title=Minecraft:UUID&amp;diff=51067&amp;oldid=prev"/>
		<updated>2026-03-26T18:22:21Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Player UUID: &lt;/span&gt; Minor spelling change from &amp;quot;wich&amp;quot; to &amp;quot;which&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;Universally Unique Identifier&amp;#039;&amp;#039;&amp;#039; (&amp;#039;&amp;#039;&amp;#039;UUID&amp;#039;&amp;#039;&amp;#039;) is a 128-bit long number that is used by &amp;#039;&amp;#039;Minecraft&amp;#039;&amp;#039; as a {{w|Nominal number|label}} to distinguish between separate instances.&lt;br /&gt;
&lt;br /&gt;
==Representation==&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Hyphenated hexadecimal&amp;#039;&amp;#039;&amp;#039;: The RFC 9562 standard string representation of UUID&amp;lt;ref&amp;gt;https://datatracker.ietf.org/doc/html/rfc9562#section-4&amp;lt;/ref&amp;gt;. A hexadecimal representation of the UUID, with hyphens separating the different sections into individual numbers.&amp;lt;br&amp;gt; The hyphen is set to split the UUID into numbers of the format &amp;lt;code&amp;gt;8-4-4-4-12&amp;lt;/code&amp;gt; with each number marking the number of hexadecimal digits fitting into the corresponding section. Further detail follows in the [[Minecraft:Universally unique identifier#Technical aspects|Technical aspects]] section.&amp;lt;br&amp;gt; An example of this representation would be &amp;lt;code&amp;gt;f81d4fae-7dec-11d0-a765-00a0c91e6bf6&amp;lt;/code&amp;gt;.&lt;br /&gt;
** Because every part is evaluated as an individual number, empty digits at the start of a section can be ignored.&amp;lt;br&amp;gt;  For example, &amp;lt;code&amp;gt;00000001-0002-0003-0004-000000000005&amp;lt;/code&amp;gt; can be evaluated as the same as &amp;lt;code&amp;gt;1-2-3-4-5&amp;lt;/code&amp;gt;.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Hexadecimal&amp;#039;&amp;#039;&amp;#039;: The same as the hyphenated hexadecimal representation, but without the separation of the different sections.&amp;lt;br&amp;gt; An example for this representation would be &amp;lt;code&amp;gt;00000001000200030004000000000005&amp;lt;/code&amp;gt;, where it is impossible for the majority of empty digits to be removed as opposed to the hyphenated hexadecimal representation.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Most/Least&amp;#039;&amp;#039;&amp;#039;: A separation of the 64 most significant bits from the 64 least significant bits. Each of the two numbers is stored separately and uses the &amp;lt;code&amp;gt;Long&amp;lt;/code&amp;gt; data type in the game.&amp;lt;br&amp;gt;This format is deprecated as it was used before [[Minecraft:20w12a]] ([[Minecraft:Java Edition 1.16|1.16]]) and was entirely replaced by the Int-array format.&amp;lt;br&amp;gt;An example of this representation would be &amp;lt;code&amp;gt;UUIDMost:-568210367123287600&amp;lt;/code&amp;gt; paired with &amp;lt;code&amp;gt;UUIDLeast:-6384696206158828554&amp;lt;/code&amp;gt;.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Int-array&amp;#039;&amp;#039;&amp;#039;: A separation into four 32-bit numbers. Each part is stored in an integer array ordered from most significant to least significant.&amp;lt;br&amp;gt; An example of this representation would be &amp;lt;code&amp;gt;[I;-132296786,2112623056,-1486552928,-920753162]&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Occurences==&lt;br /&gt;
The following table represents the situations in which UUIDs are used in places accessible by a player:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Location (general) !! Location (path) !! Format !! Use&lt;br /&gt;
|-&lt;br /&gt;
| [[Minecraft:Chunk format/Entity|All entities]] (NBT) || &amp;lt;code&amp;gt;UUID&amp;lt;/code&amp;gt; || int-array || Own UUID&lt;br /&gt;
|-&lt;br /&gt;
| [[Minecraft:Chunk format/Tameable|Tameable mobs]] (NBT) || &amp;lt;code&amp;gt;Owner&amp;lt;/code&amp;gt; || int-array || Owner&lt;br /&gt;
|-&lt;br /&gt;
| [[Minecraft:Chunk format#Projectiles|Projectiles]] (NBT) || &amp;lt;code&amp;gt;Owner&amp;lt;/code&amp;gt; || int-array || Entity that shot the projectile&lt;br /&gt;
|-&lt;br /&gt;
| [[Minecraft:Item (entity)|Item entities]] (NBT) || &amp;lt;code&amp;gt;Owner&amp;lt;/code&amp;gt; || int-array || Target player for {{Command|give}} command&lt;br /&gt;
|-&lt;br /&gt;
| [[Minecraft:Item (entity)|Item entities]] (NBT) || &amp;lt;code&amp;gt;Thrower&amp;lt;/code&amp;gt; || int-array || Player who dropped the item&lt;br /&gt;
|-&lt;br /&gt;
| [[Minecraft:Shulker#Shulker bullet|Shulker bullets]] (NBT) || &amp;lt;code&amp;gt;Target&amp;lt;/code&amp;gt; || int-array || Entity targeted for attack&lt;br /&gt;
|-&lt;br /&gt;
| [[Minecraft:Conduit]]s (NBT) || &amp;lt;code&amp;gt;Target&amp;lt;/code&amp;gt; || int-array || Entity targeted for attack&lt;br /&gt;
|-&lt;br /&gt;
| [[Minecraft:Mob head#Player skins|Player heads]] (NBT) || &amp;lt;code&amp;gt;profile.&amp;lt;/code&amp;gt; || int-array || Owner of the skin&lt;br /&gt;
|-&lt;br /&gt;
| [[Minecraft:Mob head#Player skins|Player heads]] (NBT) || &amp;lt;code&amp;gt;SkullOwner.Properties.textures[].Value.ProfileId&amp;lt;/code&amp;gt; || hexadecimal || Owner of the skin&lt;br /&gt;
|-&lt;br /&gt;
| [[Minecraft:Chunk format#Mobs|Mobs]] (NBT) || &amp;lt;code&amp;gt;Leash.UUID&amp;lt;/code&amp;gt; || int-array || Entity that leashed the mob&lt;br /&gt;
|-&lt;br /&gt;
| [[Minecraft:Chunk format/Breedable|Breedable mobs]] (NBT) || &amp;lt;code&amp;gt;LoveCause&amp;lt;/code&amp;gt; || int-array || Player who fed the mob&lt;br /&gt;
|-&lt;br /&gt;
| [[Minecraft:Warden/ED|Warden]]s (NBT) || &amp;lt;code&amp;gt;anger.suspects[].uuid&amp;lt;/code&amp;gt; || int-array || Target associated with the anger level&lt;br /&gt;
|-&lt;br /&gt;
| [[Minecraft:Zombie Villager]]s (NBT) || &amp;lt;code&amp;gt;ConversionPlayer&amp;lt;/code&amp;gt; || int-array || Player who is converting the Zombie Villager&lt;br /&gt;
|-&lt;br /&gt;
| Most of the neutral mobs (NBT) || &amp;lt;code&amp;gt;AngryAt&amp;lt;/code&amp;gt; || int-array || Entity that hurt the neutral mob&lt;br /&gt;
|-&lt;br /&gt;
| [[Minecraft:Villagers]] (NBT) || &amp;lt;code&amp;gt;Gossips[].Target&amp;lt;/code&amp;gt; || int-array || Player who caused the gossip&lt;br /&gt;
|-&lt;br /&gt;
| [[Minecraft:Player]]s (NBT) || &amp;lt;code&amp;gt;RootVehicle.Attach&amp;lt;/code&amp;gt; || int-array || Identifier of the entity that the player is riding&lt;br /&gt;
|-&lt;br /&gt;
| [[Minecraft:Argument types#minecraft:entity|Target selectors]] (Commands) || - || Hyphenated hexadecimal || Selected entity&lt;br /&gt;
|-&lt;br /&gt;
| [[Minecraft:Server.properties#Keys|server.properties]] || &amp;lt;code&amp;gt;resource-pack-id&amp;lt;/code&amp;gt; || Hyphenated hexadecimal || Identifies the server resource pack with clients&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Player UUID===&lt;br /&gt;
A [[Minecraft:player]] UUID is generated when the user purchases and registers a new &amp;#039;&amp;#039;Minecraft: Java Edition&amp;#039;&amp;#039; account. For &amp;#039;&amp;#039;Bedrock Edition&amp;#039;&amp;#039;, the &amp;#039;&amp;#039;Xbox User ID&amp;#039;&amp;#039;&amp;lt;ref&amp;gt;https://learn.microsoft.com/en-us/gaming/gdk/docs/reference/live/rest/uri/presence/uri-usersxuidget&amp;lt;/ref&amp;gt; (XUID, or &amp;#039;&amp;#039;Xbox services ID&amp;#039;&amp;#039;&amp;lt;ref&amp;gt;https://learn.microsoft.com/en-us/gaming/gdk/docs/features/common/user/player-identity-xuser&amp;lt;/ref&amp;gt;) is used instead as the unique identifier. Users can also play &amp;#039;&amp;#039;Java Edition&amp;#039;&amp;#039; in offline mode with a specified [[Minecraft:username]]; the unique identifier chosen for offline mode players is [[Minecraft:w:Universally_unique_identifier#Versions_3_and_5_(namespace_name-based)|UUID version 3]], generated from the MD5 hash of {{cd|OfflinePlayer:&amp;#039;&amp;#039;&amp;lt;username&amp;gt;&amp;#039;&amp;#039;}}. The community often create sites (most of which are open source) that allow people to search up a name or player UUID to get their [[Minecraft:skin]], player UUID, and name, this is all done with the [[Minecraft:Mojang API]].&lt;br /&gt;
&lt;br /&gt;
{{Calculator|playerUuid}}&lt;br /&gt;
&lt;br /&gt;
==Technical aspects==&lt;br /&gt;
===Value range===&lt;br /&gt;
A UUID can be expressed as a 128-bit number, which means that it supports all integer values from &amp;lt;code&amp;gt;-(2^127)&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;(2^127)-1&amp;lt;/code&amp;gt;. It is important to note that this evaluation does not refer to the range of values generated by the game but instead focuses on the capacity of the format.&lt;br /&gt;
===Hyphenated hexadecimal format section names===&lt;br /&gt;
Hyphenated hexadecimal format UUIDs follow the pattern &amp;lt;code&amp;gt;xxxxxxxx-xxxx-Axxx-Bxxx-xxxxxxxxxxxx&amp;lt;/code&amp;gt;.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Section name !! colspan=&amp;quot;4&amp;quot; | Bit range&lt;br /&gt;
|-&lt;br /&gt;
!  !! From !! To !! Size !! Characters&lt;br /&gt;
|- style=&amp;quot;text-align:right;&amp;quot;&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot; | time-low|| 96 || 127 || 32 || 8&lt;br /&gt;
|- style=&amp;quot;text-align:right;&amp;quot;&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot; | time-mid || 80 || 95 || 16 || 4&lt;br /&gt;
|- style=&amp;quot;text-align:right;&amp;quot;&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot; | time-high-and-version || 54 || 79 || 16 ||4&lt;br /&gt;
|- style=&amp;quot;text-align:right;&amp;quot;&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot; | clock-seq-and-reserved  || 36 || 53 || 8 || 2&lt;br /&gt;
|- style=&amp;quot;text-align:right;&amp;quot;&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot; | clock-seq-low  || 48 || 45 || 8 || 2&lt;br /&gt;
|- style=&amp;quot;text-align:right;&amp;quot;&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot; | node || 0 || 47 || 48 || 12&lt;br /&gt;
|}&lt;br /&gt;
(The names make sense only for version 1 and 2 UUIDs, but it has been passed onto all forms of UUIDs used.)&lt;br /&gt;
&lt;br /&gt;
=== Versions and variants ===&lt;br /&gt;
There are five versions of UUIDs. Versions 1 and 2 are based on current time and MAC address; versions 3 and 5 are based on hashing a string; version 4 is based on completely random generation. The &amp;quot;version&amp;quot; value occupies four bits, and is located in the UUID string format at the position indicated by an &amp;quot;A&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;B&amp;quot; position is the variant (format) of the UUID. Depending on the specific variant, it may occupy the high 1 to 3 bits:&lt;br /&gt;
* 0xx is the &amp;quot;variant 0&amp;quot; of Apollo NCS 1.5, an old type of UUID.&lt;br /&gt;
* 10x is the &amp;quot;variant 1&amp;quot; of IETF RFC 4122 (Leach-Salz). It&amp;#039;s referred to as &amp;quot;variant 2&amp;quot; by Java.&lt;br /&gt;
* 110 is the &amp;quot;variant 2&amp;quot; of old Microsoft products. It&amp;#039;s referred to as &amp;quot;variant 6&amp;quot; by Java.&lt;br /&gt;
* 111 is the &amp;quot;reserved variant&amp;quot;. It&amp;#039;s referred to as &amp;quot;variant 7&amp;quot; by Java.&lt;br /&gt;
&lt;br /&gt;
=== In Minecraft ===&lt;br /&gt;
Minecraft uses version 4, variant 1 (RFC) UUIDs, which means that the entire number with the exception of the bits used for metadata (version and variant) is randomly generated. Java&amp;#039;s {{code|UUID.randomUUID()}} function performs this exact task.&lt;br /&gt;
&lt;br /&gt;
A table with the locations and values of the metadata:&lt;br /&gt;
{{Collapse|title=&amp;#039;&amp;#039;&amp;#039;Bitwise version&amp;#039;&amp;#039;&amp;#039;|content={{/metadata}}}}&lt;br /&gt;
{{Collapse|title=&amp;#039;&amp;#039;&amp;#039;Collapsed version&amp;#039;&amp;#039;&amp;#039;|content={{/metadata1}}}}&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
{{Reflist}}&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
* [https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/util/UUID.html UUID Java class documentation]&lt;br /&gt;
* [https://www.uuidtools.com/generate/minecraft Generate UUIDs in hyphenated hexadecimal format]&lt;br /&gt;
* [https://www.soltoder.com/mc-uuid-converter/ Convert between and generate all different formats, with the exception that the non-hyphenated hexadecimal format is only accepted as input]&lt;br /&gt;
&lt;br /&gt;
== Navigation ==&lt;br /&gt;
{{Navbox Java Edition technical|general}}&lt;br /&gt;
{{Navbox Bedrock Edition}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Game terms]]&lt;br /&gt;
&lt;br /&gt;
[[Minecraft:de:UUID]]&lt;br /&gt;
[[Minecraft:fr:Identifiant unique universel]]&lt;br /&gt;
[[Minecraft:ja:Universally unique identifier]]&lt;br /&gt;
[[Minecraft:pt:UUID]]&lt;br /&gt;
[[Minecraft:ru:Универсальный уникальный идентификатор]]&lt;br /&gt;
[[Minecraft:uk:UUID]]&lt;br /&gt;
[[Minecraft:zh:通用唯一识别码]]&lt;/div&gt;</summary>
		<author><name>~2026-RavagerZombieCreeper7265</name></author>
	</entry>
</feed>