Package net.minecraft.client
Record Class RunArgs.MultiplayerQuickPlay
java.lang.Object
java.lang.Record
net.minecraft.client.RunArgs.MultiplayerQuickPlay
- Record Components:
serverAddress
-
- All Implemented Interfaces:
RunArgs.QuickPlayVariant
- Enclosing class:
RunArgs
@Environment(CLIENT)
public static record RunArgs.MultiplayerQuickPlay(String serverAddress)
extends Record
implements RunArgs.QuickPlayVariant
- Mappings:
Namespace Name named net/minecraft/client/RunArgs$MultiplayerQuickPlay
intermediary net/minecraft/class_542$class_11393
official gll$e
named serverAddress
intermediary comp_4278
official b
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final String
The field for theserverAddress
record component.Fields inherited from interface net.minecraft.client.RunArgs.QuickPlayVariant
DEFAULT
-
Constructor Summary
Constructors -
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 theserverAddress
record component.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
serverAddress
The field for theserverAddress
record component.
-
-
Constructor Details
-
MultiplayerQuickPlay
-
-
Method Details
-
isEnabled
public boolean isEnabled()- Specified by:
isEnabled
in interfaceRunArgs.QuickPlayVariant
- Mappings:
Namespace Name Mixin selector named isEnabled
Lnet/minecraft/client/RunArgs$QuickPlayVariant;isEnabled()Z
intermediary method_71645
Lnet/minecraft/class_542$class_11396;method_71645()Z
official a
Lgll$h;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)
. -
serverAddress
Returns the value of theserverAddress
record component.- Returns:
- the value of the
serverAddress
record component
-