Class UUIDUtil

java.lang.Object
net.minecraft.core.UUIDUtil

public final class UUIDUtil extends Object
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<UUID> CODEC
    • CODEC_SET

      public static final com.mojang.serialization.Codec<Set<UUID>> CODEC_SET
    • CODEC_LINKED_SET

      public static final com.mojang.serialization.Codec<Set<UUID>> CODEC_LINKED_SET
    • STRING_CODEC

      public static final com.mojang.serialization.Codec<UUID> STRING_CODEC
    • AUTHLIB_CODEC

      public static final com.mojang.serialization.Codec<UUID> AUTHLIB_CODEC
    • LENIENT_CODEC

      public static final com.mojang.serialization.Codec<UUID> LENIENT_CODEC
    • STREAM_CODEC

      public static final StreamCodec<io.netty.buffer.ByteBuf,UUID> STREAM_CODEC
    • UUID_BYTES

      public static final int UUID_BYTES
      See Also:
    • UUID_PREFIX_OFFLINE_PLAYER

      private static final String UUID_PREFIX_OFFLINE_PLAYER
      See Also:
  • Constructor Details

    • UUIDUtil

      private UUIDUtil()
  • Method Details

    • uuidFromIntArray

      public static UUID uuidFromIntArray(int[] p_235886_)
    • uuidToIntArray

      public static int[] uuidToIntArray(UUID p_235882_)
    • leastMostToIntArray

      private static int[] leastMostToIntArray(long p_235873_, long p_235874_)
    • uuidToByteArray

      public static byte[] uuidToByteArray(UUID p_241285_)
    • readUUID

      public static UUID readUUID(com.mojang.serialization.Dynamic<?> p_235878_)
    • createOfflinePlayerUUID

      public static UUID createOfflinePlayerUUID(String p_235880_)
    • createOfflineProfile

      public static com.mojang.authlib.GameProfile createOfflineProfile(String p_304959_)