Record Class PendingInvite

java.lang.Object
java.lang.Record
net.minecraft.client.realms.dto.PendingInvite
Record Components:
invitationId -
worldName -
worldOwnerName -
worldOwnerUuid -
date -

@Environment(CLIENT) public record PendingInvite(String invitationId, String worldName, String worldOwnerName, UUID worldOwnerUuid, Date date) extends Record
Mappings:
Namespace Name
named net/minecraft/client/realms/dto/PendingInvite
intermediary net/minecraft/class_4871
official fyi
named invitationId
intermediary comp_4999
official a
named worldName
intermediary comp_5000
official b
named worldOwnerName
intermediary comp_5001
official c
named worldOwnerUuid
intermediary comp_5002
official d
named date
intermediary comp_5003
official e
  • Field Details

    • invitationId

      private final String invitationId
      The field for the invitationId record component.
    • worldName

      private final String worldName
      The field for the worldName record component.
    • worldOwnerName

      private final String worldOwnerName
      The field for the worldOwnerName record component.
    • worldOwnerUuid

      private final UUID worldOwnerUuid
      The field for the worldOwnerUuid record component.
    • date

      private final Date date
      The field for the date record component.
    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      named LOGGER Lnet/minecraft/client/realms/dto/PendingInvite;LOGGER:Lorg/slf4j/Logger;
      intermediary field_22585 Lnet/minecraft/class_4871;field_22585:Lorg/slf4j/Logger;
      official f Lfyi;f:Lorg/slf4j/Logger;
  • Constructor Details

    • PendingInvite

      public PendingInvite(String invitationId, String realmName, String realmOwnerName, UUID realmOwnerUuid, Date date)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/realms/dto/PendingInvite;<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/UUID;Ljava/util/Date;)V
      intermediary <init> Lnet/minecraft/class_4871;<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/UUID;Ljava/util/Date;)V
      official <init> Lfyi;<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/UUID;Ljava/util/Date;)V
  • Method Details

    • parse

      @Nullable public static @Nullable PendingInvite parse(JsonObject json)
      Mappings:
      Namespace Name Mixin selector
      named parse Lnet/minecraft/client/realms/dto/PendingInvite;parse(Lcom/google/gson/JsonObject;)Lnet/minecraft/client/realms/dto/PendingInvite;
      intermediary method_25040 Lnet/minecraft/class_4871;method_25040(Lcom/google/gson/JsonObject;)Lnet/minecraft/class_4871;
      official a Lfyi;a(Lcom/google/gson/JsonObject;)Lfyi;
    • 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.
    • invitationId

      public String invitationId()
      Returns the value of the invitationId record component.
      Returns:
      the value of the invitationId record component
    • worldName

      public String worldName()
      Returns the value of the worldName record component.
      Returns:
      the value of the worldName record component
    • worldOwnerName

      public String worldOwnerName()
      Returns the value of the worldOwnerName record component.
      Returns:
      the value of the worldOwnerName record component
    • worldOwnerUuid

      public UUID worldOwnerUuid()
      Returns the value of the worldOwnerUuid record component.
      Returns:
      the value of the worldOwnerUuid record component
    • date

      public Date date()
      Returns the value of the date record component.
      Returns:
      the value of the date record component