Class Uuids

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

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

    • INT_STREAM_CODEC

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

      public static final com.mojang.serialization.Codec<Set<UUID>> SET_CODEC
      Mappings:
      Namespace Name Mixin selector
      named SET_CODEC Lnet/minecraft/util/Uuids;SET_CODEC:Lcom/mojang/serialization/Codec;
      intermediary field_47491 Lnet/minecraft/class_4844;field_47491:Lcom/mojang/serialization/Codec;
      official b Lkk;b:Lcom/mojang/serialization/Codec;
    • LINKED_SET_CODEC

      public static final com.mojang.serialization.Codec<Set<UUID>> LINKED_SET_CODEC
      Mappings:
      Namespace Name Mixin selector
      named LINKED_SET_CODEC Lnet/minecraft/util/Uuids;LINKED_SET_CODEC:Lcom/mojang/serialization/Codec;
      intermediary field_48974 Lnet/minecraft/class_4844;field_48974:Lcom/mojang/serialization/Codec;
      official c Lkk;c:Lcom/mojang/serialization/Codec;
    • STRING_CODEC

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

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

      public static final com.mojang.serialization.Codec<UUID> STRICT_CODEC
      Mappings:
      Namespace Name Mixin selector
      named STRICT_CODEC Lnet/minecraft/util/Uuids;STRICT_CODEC:Lcom/mojang/serialization/Codec;
      intermediary field_46588 Lnet/minecraft/class_4844;field_46588:Lcom/mojang/serialization/Codec;
      official f Lkk;f:Lcom/mojang/serialization/Codec;
    • PACKET_CODEC

      public static final PacketCodec<ByteBuf,UUID> PACKET_CODEC
      Mappings:
      Namespace Name Mixin selector
      named PACKET_CODEC Lnet/minecraft/util/Uuids;PACKET_CODEC:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_48453 Lnet/minecraft/class_4844;field_48453:Lnet/minecraft/class_9139;
      official g Lkk;g:Lzt;
    • BYTE_ARRAY_SIZE

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

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

    • Uuids

      private Uuids()
  • Method Details

    • toUuid

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

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

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

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

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

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

      public static com.mojang.authlib.GameProfile getOfflinePlayerProfile(String nickname)
      Mappings:
      Namespace Name Mixin selector
      named getOfflinePlayerProfile Lnet/minecraft/util/Uuids;getOfflinePlayerProfile(Ljava/lang/String;)Lcom/mojang/authlib/GameProfile;
      intermediary method_54140 Lnet/minecraft/class_4844;method_54140(Ljava/lang/String;)Lcom/mojang/authlib/GameProfile;
      official b Lkk;b(Ljava/lang/String;)Lcom/mojang/authlib/GameProfile;