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 algintermediary net/minecraft/class_8792named net/minecraft/class_8792official aintermediary comp_1959named gameProfileofficial bintermediary comp_1960named latencyofficial cintermediary comp_1961named clientInformation
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final class_8791The field for theclientInformationrecord component.private final com.mojang.authlib.GameProfileThe field for thegameProfilerecord component.private final intThe field for thelatencyrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_8792(com.mojang.authlib.GameProfile gameProfile, int int2, class_8791 class_8791) -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theclientInformationrecord component.final booleanIndicates whether some other object is "equal to" this one.com.mojang.authlib.GameProfileReturns the value of thegameProfilerecord component.final inthashCode()Returns a hash code value for this object.intlatency()Returns the value of thelatencyrecord component.static class_8792method_53824(com.mojang.authlib.GameProfile gameProfile) final StringtoString()Returns a string representation of this record class.
-
Field Details
-
gameProfile
private final com.mojang.authlib.GameProfile gameProfileThe field for thegameProfilerecord component. -
latency
private final int latencyThe field for thelatencyrecord component. -
clientInformation
The field for theclientInformationrecord component.
-
-
Constructor Details
-
class_8792
-
-
Method Details
-
method_53824
- Mappings:
Namespace Name Mixin selector official aLalg;a(Lcom/mojang/authlib/GameProfile;)Lalg;intermediary method_53824Lnet/minecraft/class_8792;method_53824(Lcom/mojang/authlib/GameProfile;)Lnet/minecraft/class_8792;named method_53824Lnet/minecraft/class_8792;method_53824(Lcom/mojang/authlib/GameProfile;)Lnet/minecraft/class_8792;
-
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. -
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. -
equals
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 withObjects::equals(Object,Object); primitive components are compared with '=='. -
gameProfile
public com.mojang.authlib.GameProfile gameProfile()Returns the value of thegameProfilerecord component.- Returns:
- the value of the
gameProfilerecord component
-
latency
public int latency()Returns the value of thelatencyrecord component.- Returns:
- the value of the
latencyrecord component
-
clientInformation
Returns the value of theclientInformationrecord component.- Returns:
- the value of the
clientInformationrecord component
-