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 ezh$c
intermediary net/minecraft/class_542$class_8495
named net/minecraft/client/RunArgs$QuickPlay
official a
intermediary comp_1476
named path
official b
intermediary comp_1477
named singleplayer
official c
intermediary comp_1478
named multiplayer
official d
intermediary comp_1479
named realms
-
Field Summary
Modifier and TypeFieldDescriptionThe field for themultiplayer
record component.The field for thepath
record component.The field for therealms
record component.The field for thesingleplayer
record component. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.boolean
Returns the value of themultiplayer
record component.path()
Returns the value of thepath
record component.realms()
Returns the value of therealms
record component.Returns the value of thesingleplayer
record component.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
path
The field for thepath
record component. -
singleplayer
The field for thesingleplayer
record component. -
multiplayer
The field for themultiplayer
record component. -
realms
The field for therealms
record component.
-
-
Constructor Details
-
QuickPlay
-
-
Method Details
-
isEnabled
public boolean isEnabled()- Mappings:
Namespace Name Mixin selector official a
Lezh$c;a()Z
intermediary method_51257
Lnet/minecraft/class_542$class_8495;method_51257()Z
named isEnabled
Lnet/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 thepath
record component.- Returns:
- the value of the
path
record component
-
singleplayer
Returns the value of thesingleplayer
record component.- Returns:
- the value of the
singleplayer
record component
-
multiplayer
Returns the value of themultiplayer
record component.- Returns:
- the value of the
multiplayer
record component
-
realms
Returns the value of therealms
record component.- Returns:
- the value of the
realms
record component
-