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 gda$a
named quickPlayWorld
intermediary comp_1480
official b
named lastPlayedTime
intermediary comp_1481
official c
named gameMode
intermediary comp_1482
official d
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<QuickPlayLogger.Log> private final GameMode
The field for thegameMode
record component.private final Instant
The field for thelastPlayedTime
record component.private final QuickPlayLogger.QuickPlayWorld
The field for thequickPlayWorld
record component. -
Constructor Summary
ConstructorDescriptionLog
(QuickPlayLogger.QuickPlayWorld quickPlayWorld, Instant instant, GameMode gameMode) -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.gameMode()
Returns the value of thegameMode
record component.final int
hashCode()
Returns a hash code value for this object.Returns the value of thelastPlayedTime
record component.Returns the value of thequickPlayWorld
record component.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
quickPlayWorld
The field for thequickPlayWorld
record component. -
lastPlayedTime
The field for thelastPlayedTime
record component. -
gameMode
The field for thegameMode
record 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
Lgda$a;a: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 thequickPlayWorld
record component.- Returns:
- the value of the
quickPlayWorld
record component
-
lastPlayedTime
Returns the value of thelastPlayedTime
record component.- Returns:
- the value of the
lastPlayedTime
record component
-
gameMode
Returns the value of thegameMode
record component.- Returns:
- the value of the
gameMode
record component
-