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 official fiv$aintermediary net/minecraft/class_8497$class_8498named net/minecraft/client/QuickPlayLogger$Logofficial bintermediary comp_1480named quickPlayWorldofficial cintermediary comp_1481named lastPlayedTimeofficial dintermediary comp_1482named gameMode
-
Field Summary
FieldsModifier 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 Summary
ConstructorsConstructorDescriptionLog(QuickPlayLogger.QuickPlayWorld quickPlayWorld, Instant instant, GameMode gameMode) -
Method Summary
Modifier 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
-
quickPlayWorld
The field for thequickPlayWorldrecord component. -
lastPlayedTime
The field for thelastPlayedTimerecord component. -
gameMode
The field for thegameModerecord component. -
CODEC
- Mappings:
Namespace Name Mixin selector official aLfiv$a;a:Lcom/mojang/serialization/Codec;intermediary field_44566Lnet/minecraft/class_8497$class_8498;field_44566:Lcom/mojang/serialization/Codec;named CODECLnet/minecraft/client/QuickPlayLogger$Log;CODEC:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
Log
Log(QuickPlayLogger.QuickPlayWorld quickPlayWorld, Instant instant, GameMode gameMode)
-
-
Method Details
-
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). -
quickPlayWorld
Returns the value of thequickPlayWorldrecord component.- Returns:
- the value of the
quickPlayWorldrecord component
-
lastPlayedTime
Returns the value of thelastPlayedTimerecord component.- Returns:
- the value of the
lastPlayedTimerecord component
-
gameMode
Returns the value of thegameModerecord component.- Returns:
- the value of the
gameModerecord component
-