Package net.minecraft.core
Class UUIDUtil
java.lang.Object
net.minecraft.core.UUIDUtil
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic UUID
createOfflinePlayerUUID
(String p_235880_) static UUID
getOrCreatePlayerUUID
(com.mojang.authlib.GameProfile p_235876_) private static int[]
leastMostToIntArray
(long p_235873_, long p_235874_) static UUID
readUUID
(com.mojang.serialization.Dynamic<?> p_235878_) static UUID
uuidFromIntArray
(int[] p_235886_) static byte[]
uuidToByteArray
(UUID p_241285_) static int[]
uuidToIntArray
(UUID p_235882_)
-
Field Details
-
CODEC
-
STRING_CODEC
-
AUTHLIB_CODEC
-
UUID_BYTES
public static final int UUID_BYTES- See Also:
-
UUID_PREFIX_OFFLINE_PLAYER
- See Also:
-
-
Constructor Details
-
UUIDUtil
private UUIDUtil()
-
-
Method Details
-
uuidFromIntArray
-
uuidToIntArray
-
leastMostToIntArray
private static int[] leastMostToIntArray(long p_235873_, long p_235874_) -
uuidToByteArray
-
readUUID
-
getOrCreatePlayerUUID
-
createOfflinePlayerUUID
-