Minecraft wiki entry for Universally_unique_identifier, associated text: 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's UUID.randomUUID() function performs this exact task.