Package net.minecraft.client.realms.dto
Record Class BackupList
java.lang.Object
java.lang.Record
net.minecraft.client.realms.dto.BackupList
- Record Components:
backups-
- Mappings:
Namespace Name named net/minecraft/client/realms/dto/BackupListintermediary net/minecraft/class_4868official fydnamed backupsintermediary comp_4997official a
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionBackupList(List<Backup> backups) Creates an instance of aBackupListrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbackups()Returns the value of thebackupsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.static BackupListfinal StringtoString()Returns a string representation of this record class.
-
Field Details
-
backups
The field for thebackupsrecord component. -
LOGGER
- Mappings:
Namespace Name Mixin selector named LOGGERLnet/minecraft/client/realms/dto/BackupList;LOGGER:Lorg/slf4j/Logger;intermediary field_22577Lnet/minecraft/class_4868;field_22577:Lorg/slf4j/Logger;official bLfyd;b:Lorg/slf4j/Logger;
-
-
Constructor Details
-
BackupList
Creates an instance of aBackupListrecord class.- Parameters:
backups- the value for thebackupsrecord component
-
-
Method Details
-
parse
- Mappings:
Namespace Name Mixin selector named parseLnet/minecraft/client/realms/dto/BackupList;parse(Ljava/lang/String;)Lnet/minecraft/client/realms/dto/BackupList;intermediary method_25036Lnet/minecraft/class_4868;method_25036(Ljava/lang/String;)Lnet/minecraft/class_4868;official aLfyd;a(Ljava/lang/String;)Lfyd;
-
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). -
backups
Returns the value of thebackupsrecord component.- Returns:
- the value of the
backupsrecord component
-