Package net.minecraft.client.realms.dto
Record Class PendingInvitesList
java.lang.Object
java.lang.Record
net.minecraft.client.realms.dto.PendingInvitesList
- Record Components:
pendingInvites-
@Environment(CLIENT)
public record PendingInvitesList(List<PendingInvite> pendingInvites)
extends Record
- Mappings:
Namespace Name named net/minecraft/client/realms/dto/PendingInvitesListintermediary net/minecraft/class_4872official fyjnamed pendingInvitesintermediary comp_5004official a
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Loggerprivate final List<PendingInvite> The field for thependingInvitesrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionPendingInvitesList(List<PendingInvite> pendingInvites) Creates an instance of aPendingInvitesListrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.static PendingInvitesListReturns the value of thependingInvitesrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
pendingInvites
The field for thependingInvitesrecord component. -
LOGGER
- Mappings:
Namespace Name Mixin selector named LOGGERLnet/minecraft/client/realms/dto/PendingInvitesList;LOGGER:Lorg/slf4j/Logger;intermediary field_22587Lnet/minecraft/class_4872;field_22587:Lorg/slf4j/Logger;official bLfyj;b:Lorg/slf4j/Logger;
-
-
Constructor Details
-
PendingInvitesList
Creates an instance of aPendingInvitesListrecord class.- Parameters:
pendingInvites- the value for thependingInvitesrecord component
-
-
Method Details
-
parse
- Mappings:
Namespace Name Mixin selector named parseLnet/minecraft/client/realms/dto/PendingInvitesList;parse(Ljava/lang/String;)Lnet/minecraft/client/realms/dto/PendingInvitesList;intermediary method_25041Lnet/minecraft/class_4872;method_25041(Ljava/lang/String;)Lnet/minecraft/class_4872;official aLfyj;a(Ljava/lang/String;)Lfyj;
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
pendingInvites
Returns the value of thependingInvitesrecord component.- Returns:
- the value of the
pendingInvitesrecord component
-