Package net.minecraft

Record Class class_9296

java.lang.Object
java.lang.Record
net.minecraft.class_9296
Record Components:
name -
id -
properties -
gameProfile -

public record class_9296(String name, Optional<UUID> id, com.mojang.authlib.properties.PropertyMap properties, com.mojang.authlib.GameProfile gameProfile) extends Record
Mappings:
Namespace Name
official cug
intermediary net/minecraft/class_9296
named net/minecraft/class_9296
official c
intermediary comp_2410
named name
official d
intermediary comp_2411
named id
official e
intermediary comp_2412
named properties
official f
intermediary comp_2413
named gameProfile
  • Field Details

    • name

      private final String name
      The field for the name record component.
    • id

      private final Optional<UUID> id
      The field for the id record component.
    • properties

      private final com.mojang.authlib.properties.PropertyMap properties
      The field for the properties record component.
    • gameProfile

      private final com.mojang.authlib.GameProfile gameProfile
      The field for the gameProfile record component.
    • field_49359

      public static final com.mojang.serialization.Codec<class_9296> field_49359
      Mappings:
      Namespace Name Mixin selector
      official a Lcug;a:Lcom/mojang/serialization/Codec;
      intermediary field_49359 Lnet/minecraft/class_9296;field_49359:Lcom/mojang/serialization/Codec;
      named field_49359 Lnet/minecraft/class_9296;field_49359:Lcom/mojang/serialization/Codec;
    • field_49360

      public static final PacketCodec<ByteBuf,class_9296> field_49360
      Mappings:
      Namespace Name Mixin selector
      official b Lcug;b:Lye;
      intermediary field_49360 Lnet/minecraft/class_9296;field_49360:Lnet/minecraft/class_9139;
      named field_49360 Lnet/minecraft/class_9296;field_49360:Lnet/minecraft/network/codec/PacketCodec;
  • Constructor Details

    • class_9296

      public class_9296(String string, Optional<UUID> optional, com.mojang.authlib.properties.PropertyMap propertyMap)
    • class_9296

      public class_9296(com.mojang.authlib.GameProfile gameProfile)
    • class_9296

      public class_9296(String string, Optional<UUID> optional, com.mojang.authlib.properties.PropertyMap propertyMap, com.mojang.authlib.GameProfile gameProfile)
  • Method Details

    • method_57507

      public CompletableFuture<class_9296> method_57507()
      Mappings:
      Namespace Name Mixin selector
      official a Lcug;a()Ljava/util/concurrent/CompletableFuture;
      intermediary method_57507 Lnet/minecraft/class_9296;method_57507()Ljava/util/concurrent/CompletableFuture;
      named method_57507 Lnet/minecraft/class_9296;method_57507()Ljava/util/concurrent/CompletableFuture;
    • method_57509

      private static com.mojang.authlib.GameProfile method_57509(String string, Optional<UUID> optional, com.mojang.authlib.properties.PropertyMap propertyMap)
      Mappings:
      Namespace Name Mixin selector
      official a Lcug;a(Ljava/lang/String;Ljava/util/Optional;Lcom/mojang/authlib/properties/PropertyMap;)Lcom/mojang/authlib/GameProfile;
      intermediary method_57509 Lnet/minecraft/class_9296;method_57509(Ljava/lang/String;Ljava/util/Optional;Lcom/mojang/authlib/properties/PropertyMap;)Lcom/mojang/authlib/GameProfile;
      named method_57509 Lnet/minecraft/class_9296;method_57509(Ljava/lang/String;Ljava/util/Optional;Lcom/mojang/authlib/properties/PropertyMap;)Lcom/mojang/authlib/GameProfile;
    • method_57511

      public boolean method_57511()
      Mappings:
      Namespace Name Mixin selector
      official b Lcug;b()Z
      intermediary method_57511 Lnet/minecraft/class_9296;method_57511()Z
      named method_57511 Lnet/minecraft/class_9296;method_57511()Z
    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object object)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      object - the object with which to compare
      Returns:
      true if this object is the same as the object argument; false otherwise.
    • name

      public String name()
      Returns the value of the name record component.
      Returns:
      the value of the name record component
    • id

      public Optional<UUID> id()
      Returns the value of the id record component.
      Returns:
      the value of the id record component
    • properties

      public com.mojang.authlib.properties.PropertyMap properties()
      Returns the value of the properties record component.
      Returns:
      the value of the properties record component
    • gameProfile

      public com.mojang.authlib.GameProfile gameProfile()
      Returns the value of the gameProfile record component.
      Returns:
      the value of the gameProfile record component