Package net.minecraft.client
Record Class RunArgs.RealmsQuickPlay
java.lang.Object
java.lang.Record
net.minecraft.client.RunArgs.RealmsQuickPlay
- Record Components:
realmId
-
- All Implemented Interfaces:
RunArgs.QuickPlayVariant
- Enclosing class:
RunArgs
@Environment(CLIENT)
public static record RunArgs.RealmsQuickPlay(String realmId)
extends Record
implements RunArgs.QuickPlayVariant
- Mappings:
Namespace Name named net/minecraft/client/RunArgs$RealmsQuickPlay
intermediary net/minecraft/class_542$class_11394
official gll$f
named realmId
intermediary comp_4279
official b
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final String
The field for therealmId
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
realmId()
Returns the value of therealmId
record component.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
realmId
The field for therealmId
record component.
-
-
Constructor Details
-
RealmsQuickPlay
-
-
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)
. -
realmId
Returns the value of therealmId
record component.- Returns:
- the value of the
realmId
record component
-