Class Uuids

java.lang.Object
net.minecraft.util.Uuids

public final class Uuids extends Object
Mappings:
Namespace Name
official hx
intermediary net/minecraft/class_4844
named net/minecraft/util/Uuids
  • Field Details

    • INT_STREAM_CODEC

      public static final com.mojang.serialization.Codec<UUID> INT_STREAM_CODEC
      Mappings:
      Namespace Name Mixin selector
      official a Lhx;a:Lcom/mojang/serialization/Codec;
      intermediary field_25122 Lnet/minecraft/class_4844;field_25122:Lcom/mojang/serialization/Codec;
      named INT_STREAM_CODEC Lnet/minecraft/util/Uuids;INT_STREAM_CODEC:Lcom/mojang/serialization/Codec;
    • STRING_CODEC

      public static final com.mojang.serialization.Codec<UUID> STRING_CODEC
      Mappings:
      Namespace Name Mixin selector
      official b Lhx;b:Lcom/mojang/serialization/Codec;
      intermediary field_41525 Lnet/minecraft/class_4844;field_41525:Lcom/mojang/serialization/Codec;
      named STRING_CODEC Lnet/minecraft/util/Uuids;STRING_CODEC:Lcom/mojang/serialization/Codec;
    • CODEC

      public static com.mojang.serialization.Codec<UUID> CODEC
      Mappings:
      Namespace Name Mixin selector
      official c Lhx;c:Lcom/mojang/serialization/Codec;
      intermediary field_40825 Lnet/minecraft/class_4844;field_40825:Lcom/mojang/serialization/Codec;
      named CODEC Lnet/minecraft/util/Uuids;CODEC:Lcom/mojang/serialization/Codec;
    • BYTE_ARRAY_SIZE

      public static final int BYTE_ARRAY_SIZE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official d Lhx;d:I
      intermediary field_39211 Lnet/minecraft/class_4844;field_39211:I
      named BYTE_ARRAY_SIZE Lnet/minecraft/util/Uuids;BYTE_ARRAY_SIZE:I
    • OFFLINE_PLAYER_UUID_PREFIX

      private static final String OFFLINE_PLAYER_UUID_PREFIX
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official e Lhx;e:Ljava/lang/String;
      intermediary field_38907 Lnet/minecraft/class_4844;field_38907:Ljava/lang/String;
      named OFFLINE_PLAYER_UUID_PREFIX Lnet/minecraft/util/Uuids;OFFLINE_PLAYER_UUID_PREFIX:Ljava/lang/String;
  • Constructor Details

    • Uuids

      private Uuids()
  • Method Details

    • toUuid

      public static UUID toUuid(int[] array)
      Mappings:
      Namespace Name Mixin selector
      official a Lhx;a([I)Ljava/util/UUID;
      intermediary method_26276 Lnet/minecraft/class_4844;method_26276([I)Ljava/util/UUID;
      named toUuid Lnet/minecraft/util/Uuids;toUuid([I)Ljava/util/UUID;
    • toIntArray

      public static int[] toIntArray(UUID uuid)
      Mappings:
      Namespace Name Mixin selector
      official a Lhx;a(Ljava/util/UUID;)[I
      intermediary method_26275 Lnet/minecraft/class_4844;method_26275(Ljava/util/UUID;)[I
      named toIntArray Lnet/minecraft/util/Uuids;toIntArray(Ljava/util/UUID;)[I
    • toIntArray

      private static int[] toIntArray(long uuidMost, long uuidLeast)
      Mappings:
      Namespace Name Mixin selector
      official a Lhx;a(JJ)[I
      intermediary method_26274 Lnet/minecraft/class_4844;method_26274(JJ)[I
      named toIntArray Lnet/minecraft/util/Uuids;toIntArray(JJ)[I
    • toByteArray

      public static byte[] toByteArray(UUID uuid)
      Mappings:
      Namespace Name Mixin selector
      official b Lhx;b(Ljava/util/UUID;)[B
      intermediary method_44827 Lnet/minecraft/class_4844;method_44827(Ljava/util/UUID;)[B
      named toByteArray Lnet/minecraft/util/Uuids;toByteArray(Ljava/util/UUID;)[B
    • toUuid

      public static UUID toUuid(com.mojang.serialization.Dynamic<?> dynamic)
      Mappings:
      Namespace Name Mixin selector
      official a Lhx;a(Lcom/mojang/serialization/Dynamic;)Ljava/util/UUID;
      intermediary method_35848 Lnet/minecraft/class_4844;method_35848(Lcom/mojang/serialization/Dynamic;)Ljava/util/UUID;
      named toUuid Lnet/minecraft/util/Uuids;toUuid(Lcom/mojang/serialization/Dynamic;)Ljava/util/UUID;
    • getOfflinePlayerUuid

      public static UUID getOfflinePlayerUuid(String nickname)
      Mappings:
      Namespace Name Mixin selector
      official a Lhx;a(Ljava/lang/String;)Ljava/util/UUID;
      intermediary method_43344 Lnet/minecraft/class_4844;method_43344(Ljava/lang/String;)Ljava/util/UUID;
      named getOfflinePlayerUuid Lnet/minecraft/util/Uuids;getOfflinePlayerUuid(Ljava/lang/String;)Ljava/util/UUID;