Package net.minecraft.client.realms.dto
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/PendingInviteintermediary net/minecraft/class_4871official fyinamed invitationIdintermediary comp_4999official anamed worldNameintermediary comp_5000official bnamed worldOwnerNameintermediary comp_5001official cnamed worldOwnerUuidintermediary comp_5002official dnamed dateintermediary comp_5003official e
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final DateThe field for thedaterecord component.private final StringThe field for theinvitationIdrecord component.private static final Loggerprivate final StringThe field for theworldNamerecord component.private final StringThe field for theworldOwnerNamerecord component.private final UUIDThe field for theworldOwnerUuidrecord component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondate()Returns the value of thedaterecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theinvitationIdrecord component.static @Nullable PendingInviteparse(JsonObject json) final StringtoString()Returns a string representation of this record class.Returns the value of theworldNamerecord component.Returns the value of theworldOwnerNamerecord component.Returns the value of theworldOwnerUuidrecord component.
-
Field Details
-
invitationId
The field for theinvitationIdrecord component. -
worldName
The field for theworldNamerecord component. -
worldOwnerName
The field for theworldOwnerNamerecord component. -
worldOwnerUuid
The field for theworldOwnerUuidrecord component. -
date
The field for thedaterecord component. -
LOGGER
- Mappings:
Namespace Name Mixin selector named LOGGERLnet/minecraft/client/realms/dto/PendingInvite;LOGGER:Lorg/slf4j/Logger;intermediary field_22585Lnet/minecraft/class_4871;field_22585:Lorg/slf4j/Logger;official fLfyi;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;)Vintermediary <init>Lnet/minecraft/class_4871;<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/UUID;Ljava/util/Date;)Vofficial <init>Lfyi;<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/UUID;Ljava/util/Date;)V
-
-
Method Details
-
parse
- Mappings:
Namespace Name Mixin selector named parseLnet/minecraft/client/realms/dto/PendingInvite;parse(Lcom/google/gson/JsonObject;)Lnet/minecraft/client/realms/dto/PendingInvite;intermediary method_25040Lnet/minecraft/class_4871;method_25040(Lcom/google/gson/JsonObject;)Lnet/minecraft/class_4871;official aLfyi;a(Lcom/google/gson/JsonObject;)Lfyi;
-
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). -
invitationId
Returns the value of theinvitationIdrecord component.- Returns:
- the value of the
invitationIdrecord component
-
worldName
Returns the value of theworldNamerecord component.- Returns:
- the value of the
worldNamerecord component
-
worldOwnerName
Returns the value of theworldOwnerNamerecord component.- Returns:
- the value of the
worldOwnerNamerecord component
-
worldOwnerUuid
Returns the value of theworldOwnerUuidrecord component.- Returns:
- the value of the
worldOwnerUuidrecord component
-
date
Returns the value of thedaterecord component.- Returns:
- the value of the
daterecord component
-