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 named net/minecraft/client/QuickPlayLogger$QuickPlayWorldintermediary net/minecraft/class_8497$class_8499official gej$bnamed typeintermediary comp_1483official bnamed idintermediary comp_1484official cnamed nameintermediary comp_1485official d
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<QuickPlayLogger.QuickPlayWorld> private final StringThe field for theidrecord component.private final StringThe field for thenamerecord component.private final QuickPlayLogger.WorldTypeThe field for thetyperecord component. -
Constructor Summary
ConstructorsConstructorDescriptionQuickPlayWorld(QuickPlayLogger.WorldType worldType, String string, String string2) -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.name()Returns the value of thenamerecord component.final StringtoString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.
-
Field Details
-
type
The field for thetyperecord component. -
id
The field for theidrecord component. -
name
The field for thenamerecord component. -
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/client/QuickPlayLogger$QuickPlayWorld;CODEC:Lcom/mojang/serialization/MapCodec;intermediary field_44567Lnet/minecraft/class_8497$class_8499;field_44567:Lcom/mojang/serialization/MapCodec;official aLgej$b;a: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 thetyperecord component.- Returns:
- the value of the
typerecord component
-
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-