nineMinecraft is a joke site.
nineMinecraft is in no way affiliated with Modrinth or 9minecraft. (And frankly, who wants to be affiliated with the latter?)
Get UUID

Get UUID

Data pack

Simple UUID conversion library

Server LibraryUtility

32 downloads
0 followers

Disclaimer

I did not create this data pack. I simply uploaded this to modrinth for convenience. This does not violate copyright, as the original data pack is licensed under The Unlicense lincense. I'm also aware that this library has already been uploaded to modrinth, but it does not seem to be maintained anymore.


About Get UUID (gu)

This library data pack allows for the conversion UUIDs in an integer-array format (e.g. [I; -1401042019, -1289797294, -1229027734, 88525518]) to hexadecimal (e.g. ac7dcb9d-b31f-4152-b6be-866a0546cace).

How to use

  • function gu:generate - Stores the hexadecimal UUID of the executing entity in the NBT storage gu:main out
  • function gu:convert - Converts the decimal UUID that is input as a function macro argument (e.g. {UUID:[I; -1401042019, -1289797294, -1229027734, 88525518]}) to hexadecimal and stores it in the NBT storage gu:main out

Examples

  • /function gu:generate

    • Stores your hexadecimal UUID in the storage gu:main out, retreivable using /data get storage gu:main out
  • /execute as @n[type=cow] run function gu:generate

    • Stores the hexadecimal UUID of the nearest cow in the storage gu:main out, retreivable using /data get storage gu:main out
  • /function gu:convert {UUID:[I; 1, 2, 3, 4]}

    • Converts the given integer array to a hexadecimal UUID, retreivable using /data get storage gu:main out

External resources


Project members

helmo2019

Member


Technical information

License
Project ID