Class DynamicSerializableUuid

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

public final class DynamicSerializableUuid extends Object
Mappings:
Namespace Name
official hg
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 Lhg;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;
  • Constructor Details

    • DynamicSerializableUuid

      private DynamicSerializableUuid()
  • Method Details

    • toUuid

      public static UUID toUuid(int[] array)
      Mappings:
      Namespace Name Mixin selector
      official a Lhg;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 Lhg;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 Lhg;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 Lhg;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;