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
    • 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_)
    • getOrCreatePlayerUUID

      public static UUID getOrCreatePlayerUUID(com.mojang.authlib.GameProfile p_235876_)
    • createOfflinePlayerUUID

      public static UUID createOfflinePlayerUUID(String p_235880_)