java.lang.Object
net.minestom.server.utils.UUIDUtils
An utilities class for
UUID
.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic UUID
fromNbt
(net.kyori.adventure.nbt.IntArrayBinaryTag tag) static UUID
intArrayToUuid
(int[] array) static boolean
Checks whether theinput
string is anUUID
.static net.kyori.adventure.nbt.IntArrayBinaryTag
static int[]
uuidToIntArray
(UUID uuid)
-
Field Details
-
UNIQUE_ID_PATTERN
-
-
Constructor Details
-
UUIDUtils
public UUIDUtils()
-
-
Method Details
-
isUuid
Checks whether theinput
string is anUUID
.- Parameters:
input
- The input string to be checked- Returns:
true
if the input an unique identifier, otherwisefalse
-
fromNbt
-
toNbt
-
uuidToIntArray
-
intArrayToUuid
-