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/PendingInvitesList
intermediary net/minecraft/class_4872
official fyj
named pendingInvites
intermediary comp_5004
official a
  • Field Details

    • pendingInvites

      private final List<PendingInvite> pendingInvites
      The field for the pendingInvites record component.
    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      named LOGGER Lnet/minecraft/client/realms/dto/PendingInvitesList;LOGGER:Lorg/slf4j/Logger;
      intermediary field_22587 Lnet/minecraft/class_4872;field_22587:Lorg/slf4j/Logger;
      official b Lfyj;b:Lorg/slf4j/Logger;
  • Constructor Details

    • PendingInvitesList

      public PendingInvitesList(List<PendingInvite> pendingInvites)
      Creates an instance of a PendingInvitesList record class.
      Parameters:
      pendingInvites - the value for the pendingInvites record component
  • Method Details

    • parse

      public static PendingInvitesList parse(String json)
      Mappings:
      Namespace Name Mixin selector
      named parse Lnet/minecraft/client/realms/dto/PendingInvitesList;parse(Ljava/lang/String;)Lnet/minecraft/client/realms/dto/PendingInvitesList;
      intermediary method_25041 Lnet/minecraft/class_4872;method_25041(Ljava/lang/String;)Lnet/minecraft/class_4872;
      official a Lfyj;a(Ljava/lang/String;)Lfyj;
    • 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.
    • pendingInvites

      public List<PendingInvite> pendingInvites()
      Returns the value of the pendingInvites record component.
      Returns:
      the value of the pendingInvites record component