Package net.minecraft.core
Class UUIDUtil
java.lang.Object
net.minecraft.core.UUIDUtil
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<UUID> static final com.mojang.serialization.Codec
<UUID> static final com.mojang.serialization.Codec
<UUID> static final StreamCodec
<io.netty.buffer.ByteBuf, UUID> static final com.mojang.serialization.Codec
<UUID> static final int
private static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic UUID
createOfflinePlayerUUID
(String p_235880_) static com.mojang.authlib.GameProfile
createOfflineProfile
(String p_309926_) 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
-
CODEC_SET
-
CODEC_LINKED_SET
-
STRING_CODEC
-
AUTHLIB_CODEC
-
LENIENT_CODEC
-
STREAM_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
-
createOfflinePlayerUUID
-
createOfflineProfile
-