Class UUIDCodec


  • public final class UUIDCodec
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static com.mojang.serialization.Codec<java.util.UUID> CODEC  
    • Constructor Summary

      Constructors 
      Constructor Description
      UUIDCodec()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      private static int[] leastMostToIntArray​(long p_239776_0_, long p_239776_2_)  
      static java.util.UUID uuidFromIntArray​(int[] p_239779_0_)  
      static int[] uuidToIntArray​(java.util.UUID p_239777_0_)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • CODEC

        public static final com.mojang.serialization.Codec<java.util.UUID> CODEC
    • Constructor Detail

      • UUIDCodec

        public UUIDCodec()
    • Method Detail

      • uuidFromIntArray

        public static java.util.UUID uuidFromIntArray​(int[] p_239779_0_)
      • uuidToIntArray

        public static int[] uuidToIntArray​(java.util.UUID p_239777_0_)
      • leastMostToIntArray

        private static int[] leastMostToIntArray​(long p_239776_0_,
                                                 long p_239776_2_)