Package net.minecraft.client
Record Class QuickPlayLogger.QuickPlayWorld
java.lang.Object
java.lang.Record
net.minecraft.client.QuickPlayLogger.QuickPlayWorld
- Record Components:
type
-id
-name
-
- Enclosing class:
QuickPlayLogger
@Environment(CLIENT)
private static record QuickPlayLogger.QuickPlayWorld(QuickPlayLogger.WorldType type, String id, String name)
extends Record
- Mappings:
Namespace Name official fno$b
intermediary net/minecraft/class_8497$class_8499
named net/minecraft/client/QuickPlayLogger$QuickPlayWorld
official b
intermediary comp_1483
named type
official c
intermediary comp_1484
named id
official d
intermediary comp_1485
named name
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<QuickPlayLogger.QuickPlayWorld>
private final String
The field for theid
record component.private final String
The field for thename
record component.private final QuickPlayLogger.WorldType
The field for thetype
record component. -
Constructor Summary
ConstructorDescriptionQuickPlayWorld
(QuickPlayLogger.WorldType worldType, String string, String string2) -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.id()
Returns the value of theid
record component.name()
Returns the value of thename
record component.final String
toString()
Returns a string representation of this record class.type()
Returns the value of thetype
record component.
-
Field Details
-
type
The field for thetype
record component. -
id
The field for theid
record component. -
name
The field for thename
record component. -
CODEC
- Mappings:
Namespace Name Mixin selector official a
Lfno$b;a:Lcom/mojang/serialization/MapCodec;
intermediary field_44567
Lnet/minecraft/class_8497$class_8499;field_44567:Lcom/mojang/serialization/MapCodec;
named CODEC
Lnet/minecraft/client/QuickPlayLogger$QuickPlayWorld;CODEC:Lcom/mojang/serialization/MapCodec;
-
-
Constructor Details
-
QuickPlayWorld
QuickPlayWorld(QuickPlayLogger.WorldType worldType, String string, String string2)
-
-
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)
. -
type
Returns the value of thetype
record component.- Returns:
- the value of the
type
record component
-
id
Returns the value of theid
record component.- Returns:
- the value of the
id
record component
-
name
Returns the value of thename
record component.- Returns:
- the value of the
name
record component
-