Package net.minecraft.client
Record Class RunArgs.QuickPlay
java.lang.Object
java.lang.Record
net.minecraft.client.RunArgs.QuickPlay
- Record Components:
logPath-variant-
- Enclosing class:
RunArgs
@Environment(CLIENT)
public static record RunArgs.QuickPlay(@Nullable String logPath, RunArgs.QuickPlayVariant variant)
extends Record
- Mappings:
Namespace Name named net/minecraft/client/RunArgs$QuickPlayintermediary net/minecraft/class_542$class_8495official gtl$cnamed logPathintermediary comp_4276official anamed variantintermediary comp_4277official b
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionQuickPlay(@Nullable String string, RunArgs.QuickPlayVariant quickPlayVariant) -
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.booleanlogPath()Returns the value of thelogPathrecord component.final StringtoString()Returns a string representation of this record class.variant()Returns the value of thevariantrecord component.
-
Field Details
-
Constructor Details
-
QuickPlay
-
-
Method Details
-
isEnabled
public boolean isEnabled()- Mappings:
Namespace Name Mixin selector named isEnabledLnet/minecraft/client/RunArgs$QuickPlay;isEnabled()Zintermediary method_51257Lnet/minecraft/class_542$class_8495;method_51257()Zofficial aLgtl$c;a()Z
-
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). -
logPath
Returns the value of thelogPathrecord component.- Returns:
- the value of the
logPathrecord component
-
variant
Returns the value of thevariantrecord component.- Returns:
- the value of the
variantrecord component
-