Package net.minecraft
Record Class class_8497.class_8498
java.lang.Object
java.lang.Record
net.minecraft.class_8497.class_8498
- Record Components:
quickPlayWorld-lastPlayedTime-gamemode-
- Enclosing class:
class_8497
@Environment(CLIENT)
private static record class_8497.class_8498(class_8497.class_8499 quickPlayWorld, Instant lastPlayedTime, GameMode gamemode)
extends Record
- Mappings:
Namespace Name official fic$aintermediary net/minecraft/class_8497$class_8498named net/minecraft/class_8497$class_8498official bintermediary comp_1480named quickPlayWorldofficial cintermediary comp_1481named lastPlayedTimeofficial dintermediary comp_1482named gamemode
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<class_8497.class_8498>private final GameModeThe field for thegamemoderecord component.private final InstantThe field for thelastPlayedTimerecord component.private final class_8497.class_8499The field for thequickPlayWorldrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_8498(class_8497.class_8499 class_8499, 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. -
field_44566
- Mappings:
Namespace Name Mixin selector official aLfic$a;a:Lcom/mojang/serialization/Codec;intermediary field_44566Lnet/minecraft/class_8497$class_8498;field_44566:Lcom/mojang/serialization/Codec;named field_44566Lnet/minecraft/class_8497$class_8498;field_44566:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
class_8498
class_8498(class_8497.class_8499 class_8499, 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
-