Library for generating UUID strings from an entity's UUID.
Include datapack-registry:lib_uuid/setup in the #minecraft:load tag.
Execute datapack-registry:lib_uuid/action/generate as the entity to generate the uuid for. The result will be stored in the storage datapack-registry:lib_uuid *.out.uuid.
function datapack-registry:lib_uuid/action/generate
data get storage datapack-registry:lib_uuid *.out.uuidRemove the datapack-registry:lib_uuid/setup tag from the #minecraft:load tag. Execute data remove storage datapack-registry:lib_uuid * to remove the storage. Execute scoreboard objectives remove datapack-registry.lib_uuid.main to remove the scoreboard objective.