Package net.minecraft

Record Class class_8792

java.lang.Object
java.lang.Record
net.minecraft.class_8792
Record Components:
gameProfile -
latency -
clientInformation -

public record class_8792(com.mojang.authlib.GameProfile gameProfile, int latency, class_8791 clientInformation) extends Record
Mappings:
Namespace Name
official alg
intermediary net/minecraft/class_8792
named net/minecraft/class_8792
official a
intermediary comp_1959
named gameProfile
official b
intermediary comp_1960
named latency
official c
intermediary comp_1961
named clientInformation
  • Field Details

    • gameProfile

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

      private final int latency
      The field for the latency record component.
    • clientInformation

      private final class_8791 clientInformation
      The field for the clientInformation record component.
  • Constructor Details

    • class_8792

      public class_8792(com.mojang.authlib.GameProfile gameProfile, int int2, class_8791 class_8791)
  • Method Details

    • method_53824

      public static class_8792 method_53824(com.mojang.authlib.GameProfile gameProfile)
      Mappings:
      Namespace Name Mixin selector
      official a Lalg;a(Lcom/mojang/authlib/GameProfile;)Lalg;
      intermediary method_53824 Lnet/minecraft/class_8792;method_53824(Lcom/mojang/authlib/GameProfile;)Lnet/minecraft/class_8792;
      named method_53824 Lnet/minecraft/class_8792;method_53824(Lcom/mojang/authlib/GameProfile;)Lnet/minecraft/class_8792;
    • 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. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      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.
    • gameProfile

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

      public int latency()
      Returns the value of the latency record component.
      Returns:
      the value of the latency record component
    • clientInformation

      public class_8791 clientInformation()
      Returns the value of the clientInformation record component.
      Returns:
      the value of the clientInformation record component