Class EaglercraftUUID

  • All Implemented Interfaces:
    java.lang.Comparable<EaglercraftUUID>

    public class EaglercraftUUID
    extends java.lang.Object
    implements java.lang.Comparable<EaglercraftUUID>
    Copyright (c) 2022-2023 LAX1DUDE. All Rights Reserved. WITH THE EXCEPTION OF PATCH FILES, MINIFIED JAVASCRIPT, AND ALL FILES NORMALLY FOUND IN AN UNMODIFIED MINECRAFT RESOURCE PACK, YOU ARE NOT ALLOWED TO SHARE, DISTRIBUTE, OR REPURPOSE ANY FILE USED BY OR PRODUCED BY THE SOFTWARE IN THIS REPOSITORY WITHOUT PRIOR PERMISSION FROM THE PROJECT AUTHOR. NOT FOR COMMERCIAL OR MALICIOUS USE (please read the 'LICENSE' file this repo's root directory for more info)
    • Field Detail

      • msb

        public final long msb
      • lsb

        public final long lsb
    • Constructor Detail

      • EaglercraftUUID

        public EaglercraftUUID​(long msb,
                               long lsb)
      • EaglercraftUUID

        public EaglercraftUUID​(byte[] uuid)
      • EaglercraftUUID

        public EaglercraftUUID​(java.lang.String uuid)
    • Method Detail

      • getBytes

        public byte[] getBytes()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • getMostSignificantBits

        public long getMostSignificantBits()
      • getLeastSignificantBits

        public long getLeastSignificantBits()
      • fromString

        public static EaglercraftUUID fromString​(java.lang.String name)
      • nameUUIDFromBytes

        public static EaglercraftUUID nameUUIDFromBytes​(byte[] bytes)