跳到正文

Get UUID

A simple UUID conversion library for minecraft

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

DISCLAIMER I do not claim to own or have created this datapack. I am simply distributing it from its original source: guthub. This does not violate any copywrite as the project is licensed under The Unlicese.
This lisence allows for:

  • Commercial Distibution
  • Free Distribution
  • Modification
  • Private Use

The software is dedicated to the public domain and is free for anyone to do this. I have uplaoded this to moderinth for the purpose of allowing it to be used as a dependancy in projects and be able to be downloaded by DPM (The Datapack Package Manager) which a tutorial of can be found here.

Get UUID (gu) – What Is It?

gu is a simple UUID (Unique Universal Identifier) converison library pack that allows for getting the hexidecimal version of the UUID, typically found in most programs and can be generated for general use here. This is the same style of UUID as you will see when looking at an entity and typing a command that takes an entity (e.g. “kill bdee7f12-4539-444f-8ed0-8b67ae8ffefd`). This is required as even though `/data get entity bdee7f12-4539-444f-8ed0-8b67ae8ffefd UUID` is a thing, it returns like this: `[1362246528346, 32149263498236, 2342349958666, 2346982349797]“ which is not usable in macro commands that affect entities.

Get UUID (gu) – How to use it?

  1. Install the datapack in the conventional way or through dpm.
  2. Reload/reboot the world
  3. execute as the entity you wish to convert the UUID of into hexidecimal notation “function gu:generate“
  4. If you have a hexideimal UUID and you wish to convert it for a summon command or somthing where the entity is not visible run “function gu:convert {UUID:"bdee7f12-4539-444f-8ed0-8b67ae8ffefd"` or use a storage where the uuid is stored in a tag called: `UUID“
  5. After performing either step 3 or 4 the converted UUID will be in “gu:main out“

常见问题

Get UUID 支持哪些 Minecraft 版本?

Get UUID 支持 Minecraft Java 版 1.20.2–1.20.4,共 3 个版本。下载时注意选择和你游戏版本一致的文件。

Get UUID 怎么安装?

新建世界时在「数据包」里把下载的 .zip 拖进去;已有的存档,把文件放进存档目录下的 datapacks 文件夹,进游戏输入 /reload 即可生效。服务器同样放在世界目录的 datapacks 里。

评论

登录后评论和评分

SmoothTurtle872 的其他作品

查看全部 →