Class DynamicSerializableUuid

java.lang.Object
net.minecraft.util.dynamic.DynamicSerializableUuid

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

    • CODEC

      public static final com.mojang.serialization.Codec<UUID> CODEC
      Mappings:
      Namespace Name Mixin selector
      official a Lhr;a:Lcom/mojang/serialization/Codec;
      intermediary field_25122 Lnet/minecraft/class_4844;field_25122:Lcom/mojang/serialization/Codec;
      named CODEC Lnet/minecraft/util/dynamic/DynamicSerializableUuid;CODEC:Lcom/mojang/serialization/Codec;
    • field_39211

      public static final int field_39211
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Lhr;b:I
      intermediary field_39211 Lnet/minecraft/class_4844;field_39211:I
      named field_39211 Lnet/minecraft/util/dynamic/DynamicSerializableUuid;field_39211:I
    • OFFLINE_PLAYER_UUID_PREFIX

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

    • DynamicSerializableUuid

      private DynamicSerializableUuid()
  • Method Details

    • toUuid

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

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

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

      public static UUID toUuid(com.mojang.serialization.Dynamic<?> dynamic)
      Mappings:
      Namespace Name Mixin selector
      official a Lhr;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/dynamic/DynamicSerializableUuid;toUuid(Lcom/mojang/serialization/Dynamic;)Ljava/util/UUID;
    • getUuidFromProfile

      public static UUID getUuidFromProfile(com.mojang.authlib.GameProfile profile)
      Mappings:
      Namespace Name Mixin selector
      official a Lhr;a(Lcom/mojang/authlib/GameProfile;)Ljava/util/UUID;
      intermediary method_43343 Lnet/minecraft/class_4844;method_43343(Lcom/mojang/authlib/GameProfile;)Ljava/util/UUID;
      named getUuidFromProfile Lnet/minecraft/util/dynamic/DynamicSerializableUuid;getUuidFromProfile(Lcom/mojang/authlib/GameProfile;)Ljava/util/UUID;
    • getOfflinePlayerUuid

      public static UUID getOfflinePlayerUuid(String nickname)
      Mappings:
      Namespace Name Mixin selector
      official a Lhr;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/dynamic/DynamicSerializableUuid;getOfflinePlayerUuid(Ljava/lang/String;)Ljava/util/UUID;