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 official fdw$cintermediary net/minecraft/class_542$class_8495named net/minecraft/client/RunArgs$QuickPlayofficial aintermediary comp_1476named pathofficial bintermediary comp_1477named singleplayerofficial cintermediary comp_1478named multiplayerofficial dintermediary comp_1479named realms
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final @Nullable StringThe field for themultiplayerrecord component.private final @Nullable StringThe field for thepathrecord component.private final @Nullable StringThe field for therealmsrecord component.private final @Nullable StringThe 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.boolean@Nullable StringReturns the value of themultiplayerrecord component.@Nullable Stringpath()Returns the value of thepathrecord component.@Nullable Stringrealms()Returns the value of therealmsrecord component.@Nullable StringReturns 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 official aLfdw$c;a()Zintermediary method_51257Lnet/minecraft/class_542$class_8495;method_51257()Znamed isEnabledLnet/minecraft/client/RunArgs$QuickPlay;isEnabled()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
-