Package net.minecraft.client
Record Class QuickPlayLogger.Log
java.lang.Object
java.lang.Record
net.minecraft.client.QuickPlayLogger.Log
- Record Components:
- quickPlayWorld-
- lastPlayedTime-
- gameMode-
- Enclosing class:
- QuickPlayLogger
@Environment(CLIENT)
private static record QuickPlayLogger.Log(QuickPlayLogger.QuickPlayWorld quickPlayWorld, Instant lastPlayedTime, GameMode gameMode)
extends Record
- Mappings:
- Namespace - Name - named - net/minecraft/client/QuickPlayLogger$Log- intermediary - net/minecraft/class_8497$class_8498- official - glf$a- named - quickPlayWorld- intermediary - comp_1480- official - b- named - lastPlayedTime- intermediary - comp_1481- official - c- named - gameMode- intermediary - comp_1482- official - d
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<QuickPlayLogger.Log> private final GameModeThe field for thegameModerecord component.private final InstantThe field for thelastPlayedTimerecord component.private final QuickPlayLogger.QuickPlayWorldThe field for thequickPlayWorldrecord component.
- 
Constructor SummaryConstructorsConstructorDescriptionLog(QuickPlayLogger.QuickPlayWorld quickPlayWorld, Instant instant, GameMode gameMode) 
- 
Method SummaryModifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.gameMode()Returns the value of thegameModerecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thelastPlayedTimerecord component.Returns the value of thequickPlayWorldrecord component.final StringtoString()Returns a string representation of this record class.
- 
Field Details- 
quickPlayWorldThe field for thequickPlayWorldrecord component.
- 
lastPlayedTimeThe field for thelastPlayedTimerecord component.
- 
gameModeThe field for thegameModerecord component.
- 
CODEC- Mappings:
- Namespace - Name - Mixin selector - named - CODEC- Lnet/minecraft/client/QuickPlayLogger$Log;CODEC:Lcom/mojang/serialization/Codec;- intermediary - field_44566- Lnet/minecraft/class_8497$class_8498;field_44566:Lcom/mojang/serialization/Codec;- official - a- Lglf$a;a:Lcom/mojang/serialization/Codec;
 
 
- 
- 
Constructor Details- 
LogLog(QuickPlayLogger.QuickPlayWorld quickPlayWorld, Instant instant, GameMode gameMode) 
 
- 
- 
Method Details- 
toStringReturns 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.
- 
hashCodepublic 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.
- 
equalsIndicates 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).
- 
quickPlayWorldReturns the value of thequickPlayWorldrecord component.- Returns:
- the value of the quickPlayWorldrecord component
 
- 
lastPlayedTimeReturns the value of thelastPlayedTimerecord component.- Returns:
- the value of the lastPlayedTimerecord component
 
- 
gameModeReturns the value of thegameModerecord component.- Returns:
- the value of the gameModerecord component
 
 
-