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 - fjg$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 SummaryFieldsModifier 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 SummaryConstructorsConstructorDescriptionQuickPlayWorld(QuickPlayLogger.WorldType worldType, String string, String string2) 
- 
Method SummaryModifier 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- 
typeThe field for thetyperecord component.
- 
idThe field for theidrecord component.
- 
nameThe field for thenamerecord component.
- 
CODEC- Mappings:
- Namespace - Name - Mixin selector - official - a- Lfjg$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- 
QuickPlayWorldQuickPlayWorld(QuickPlayLogger.WorldType worldType, String string, String string2) 
 
- 
- 
Method Details- 
toStringReturns 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.
- 
hashCodepublic 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.
- 
equalsIndicates 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).
- 
typeReturns the value of thetyperecord component.- Returns:
- the value of the typerecord component
 
- 
idReturns the value of theidrecord component.- Returns:
- the value of the idrecord component
 
- 
nameReturns the value of thenamerecord component.- Returns:
- the value of the namerecord component
 
 
-