Package net.minecraft.client
Record Class RunArgs.QuickPlay
java.lang.Object
java.lang.Record
net.minecraft.client.RunArgs.QuickPlay
- Record Components:
path-singleplayer-multiplayer-realms-
- Enclosing class:
RunArgs
@Environment(CLIENT)
public static record RunArgs.QuickPlay(@Nullable String path, @Nullable String singleplayer, @Nullable String multiplayer, @Nullable String realms)
extends Record
- Mappings:
Namespace Name named net/minecraft/client/RunArgs$QuickPlayintermediary net/minecraft/class_542$class_8495official fua$cnamed pathintermediary comp_1476official anamed singleplayerintermediary comp_1477official bnamed multiplayerintermediary comp_1478official cnamed realmsintermediary comp_1479official d
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe field for themultiplayerrecord component.The field for thepathrecord component.The field for therealmsrecord component.The field for thesingleplayerrecord component. -
Constructor Summary
Constructors -
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.booleanReturns the value of themultiplayerrecord component.path()Returns the value of thepathrecord component.realms()Returns the value of therealmsrecord component.Returns the value of thesingleplayerrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
path
The field for thepathrecord component. -
singleplayer
The field for thesingleplayerrecord component. -
multiplayer
The field for themultiplayerrecord component. -
realms
The field for therealmsrecord component.
-
-
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 aLfua$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). -
path
Returns the value of thepathrecord component.- Returns:
- the value of the
pathrecord component
-
singleplayer
Returns the value of thesingleplayerrecord component.- Returns:
- the value of the
singleplayerrecord component
-
multiplayer
Returns the value of themultiplayerrecord component.- Returns:
- the value of the
multiplayerrecord component
-
realms
Returns the value of therealmsrecord component.- Returns:
- the value of the
realmsrecord component
-