How to find uuid in vmware


UUID is the abbreviation for Universally Unique Identifier, which means something like "globally unique identification" (see Wikipedia). This means that elements in distributed systems are clearly identified in software development.

A UUID consists of a 16-byte number that is noted in hexadecimal and divided into five groups. Example of a UUID:.

UUID in Minecraft [edit]

In Minecraft The distributed system consists of Mojang's Authentication Service, which checks the player's login, of the players' clients and of the Minecraft servers around the world on which one is Minecraft can play. In all of these elements of the distributed system, the player (more precisely: a Minecraft account) should be clearly identifiable.

The UUID gives each Minecraft account a unique serial number. The account owner (the player) can then change his player name or his email address and still keep the same UUID.

The own UUID can be found in the file .minecraft / launcher_profiles.json read off. There it is in the section "authenticationDatabase". Attention: There are different IDs, the correct one is the "uuid". In the game, the UUID is displayed in the chat when you move the mouse over a player name.

With a UUID, however, you can not only get players, but any elements mark. In Minecraft, for example, all objects (i.e. all creatures, vehicles, projectiles, drops, etc.) have a UUID. Likewise the attribute modifiers.

Forms of representation [edit]

  • String: A hexadecimal form of the UUID with hyphens separating the different sections.
    The dashes are set to put the UUID in the format, with each number marking the number of hexadecimal digits that fit in the corresponding section. Further details follow in the section Technical Aspects.
    An example of this representation would be.
    • Because each section is evaluated as an individual number, blank digits at the beginning of a section can be ignored.
      For example, can be scored as the same as.
  • String without hyphens: The same as the string representation, but without separating the different sections.
    An example of this representation would be where, in contrast to the normal string representation, it is impossible for the majority of the digits to be omitted.
  • Most / least: A separation of the 64 bits with the highest value from the 64 bits with the lowest value. Both numbers are stored separately and use the data type in the game.
    An example of this representation would be paired with.
  • int array: A separation into four 32 bit numbers. Each part is stored in an integer array and sorted in descending order according to its place value.
    An example of this representation would be

Use [edit]

The following table lists the situations in which UUIDs are used in places that the user has access to:[From 1.16]

Place (general)Place (path)formatuse
All objects (NBT)int arrayOwn UUID
Attribute Modifiers (NBT)int arrayOwn UUID. Used when equipping and dismantling the item to identify the modifier to be removed or added to the creature.
Attribute Modifiers (Loot Tables)StringActivates the UUID of the modifier
Tameable Creatures (NBT)int arrayowner
Projectiles (NBT)int arrayObject that created the projectile
Drops (NBT)int arrayTarget player for the command
Drops (NBT)int arrayPlayer who dropped the item
Shulker bullet (NBT)int arrayObject the attack is aimed at
Aquisers (NBT)int arrayObject that the Aquizer is attacking
Player heads (NBT)int arrayThe player who owns the head
Player heads (NBT)String without hyphensThe player who owns the head
Creatures (NBT)int arrayObject that the creature has on a leash
Creatures That Can Be Paired (NBT)int arrayPlayer who fed the creature
Villager Zombie (NBT)int arrayPlayer who is healing the villager zombie
Bees and Zombified Piglins (NBT)int arrayObject that attacked the creature
Villagers (NBT)int arrayPlayer who caused the gossip
Selectors (commands)-StringAlternative to player names and selector variables
This page is incomplete.
You can help by supplementing them. Missing content: Old UUID format is missing[Until 1.16]

Conversion of UUID into UUIDLeast and UUIDMost [edit]

In the NBT data, UUIDs are not stored as a string, but rather divided into two halves and as signed long numbers UUIDLeast and UUIDMost saved. For the conversion it is easiest to use external tools that can convert into the int-array format in addition to the formats explained here. A good example is this page:
A manual conversion can, however, also be implemented through the following steps:

The UUID is 32 digits long and does not include the hyphens
Halve the UUID: the first 16 digits and the last 16 digits front (most):
back (least):
Convert the first and last 16 digits to a decimal number, e.g. B. with this converter that can handle very large numbers =>
The converted decimal numbers have no sign, i.e. they are in the value range 0 to 18446744073709551615 = 1616-1. The long numbers sought, on the other hand, are signed, i.e. in the value range -9223372036854775808 to 9223372036854775807 = -1616/ 2 to 1616/ 2-1 (see long numbers in NBT format). Therefore you have to subtract 18446744073709551616 from every decimal number that is greater than 9223372036854775807. For this calculation you can z. B. use the Web 2.0 computer is smaller than
, hence: = UUIDMost

is bigger than
, therefore:
= UUIDLeast

And vice versa:

UUIDMost and UUIDLeast are signed long numbers in NBT format UUIDMost:
If UUIDMost or UUIDLeast is negative, then add 18446744073709551616 (with the Web 2.0 calculator) UUIDMost:
Convert to hexadecimal numbers (with the converter) UUIDMost (front):
UUIDLeast (back):
Compose UUID with hyphens

Own use [edit]

Set UUID [edit]

When you spawn an object with the command, the game usually automatically gives it a UUID. However, you can also assign a UUID yourself, which means that the object can be clearly identified using the command, among other things. This procedure has the advantage that the UUID can also be used as a selector, which is extremely high-performance compared to selector variables.

To do this, you simply assign UUIDMost with 0 and UUIDLeast with a small number. Because they are long numbers, you have to append an "L" (see NBT format), otherwise the entry will be ignored and an automatic UUID will be assigned[Until 1.16].



  • The command[Until 1.16] creates a pig with UUID 2.
  • The order names all pigs. If you pressed + beforehand and move the mouse over the names of the pigs (usually they are simply called "Pig"), you can see their UUID.
  • The command[Until 1.16] is successful if there is a pig with UUID 2.
    The same result can be achieved with the command with a better runtime.

However, if objects with the same UUID exist in Minecraft, errors can occur. Among other things, error messages such as "This object cannot be found" can then appear. One can only solve this problem by killing these objects by hand or using the command and reopening the world.

This page is incomplete.
You can help by supplementing them. Missing content: Notes on avoiding already assigned UUIDs by rewriting the metadata are missing

Generating random numbers [edit]

If not set manually, the UUID of objects or attribute modifiers is set at random, which makes them good for generating random numbers.

This page is incomplete.
You can help by supplementing them. Missing content: Explanation is missing; needs additional explanation to avoid the fixed metadata, which are not generated randomly

Manipulation of game mechanics [edit]

Because a large number of game mechanics are based on the reading of UUIDs stored in NBT data, these can be changed by rewriting this data.

This page is incomplete.
You can help by supplementing them. Missing content: Explanation is missing

Find player name for UUID [edit]

The Mojang API is used to find the player name for a UUID. The UUID must be entered without hyphens. Example:

returns the player name "jeb".

Conversely, you can also determine the UUID for a player name:

returns the UUID "f498513ce8c84773be26ecfc7ed5185d".

Technical aspects [edit]

Range of values ​​[edit]

A UUID can be expressed as a 128 bit number, which means that it supports all integer values ​​from to. It is important to know that this evaluation does not refer to the potentially generated area, but instead focuses on the capacity of the format.

String format section names [edit]

String format UUIDs follow the pattern.

Section NameCharacter usedBit range

Generation [edit]

Minecraft uses UUIDs of the fourth version, which means that the entire number, with the exception of the metadata, is generated randomly. A table with the placements and values ​​of the metadata within the UUID:

Long version

Compressed version

History [edit]

Version history of the Java Edition
Full version 1.5(13w03a)
  • The object data (players, creatures, other objects) are given a UUID in two parts
Full version 1.6(13w16a)
Full version 1.7(13w38a)
Full version 1.7.6(1.7.6-pre1)
  • The game now uses the UUID everywhere to uniquely identify a player
Full version 1.8
  • Tooltip added for objects in chat, if you pressed +, you can see the UUID of the object in it
  • In preparation for being able to change the player name, the player names are automatically converted into UUIDs in all player lists
April 14, 2014
  • The Mojang API is released, which can be used to query players' UUID and player names
4th February 2015
  • You can change your player name, the UUID uniquely identifies the player everywhere
Full version 1.13(17w45a)
  • The command can be used to display the property of the player in the game and save it in a score, but it is only supported for the value.
Full version 1.16
  • The property in all NBT data is changed from the data values ​​and to the with array values.