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$RealmsQuickPlayintermediary net/minecraft/class_542$class_11394official gtl$fnamed realmIdintermediary comp_4279official b
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final StringThe field for therealmIdrecord component.Fields inherited from interface net.minecraft.client.RunArgs.QuickPlayVariant
DEFAULT -
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.booleanrealmId()Returns the value of therealmIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
realmId
The field for therealmIdrecord component.
-
-
Constructor Details
-
RealmsQuickPlay
-
-
Method Details
-
isEnabled
public boolean isEnabled()- Specified by:
isEnabledin interfaceRunArgs.QuickPlayVariant- Mappings:
Namespace Name Mixin selector named isEnabledLnet/minecraft/client/RunArgs$QuickPlayVariant;isEnabled()Zintermediary method_71645Lnet/minecraft/class_542$class_11396;method_71645()Zofficial aLgtl$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 therealmIdrecord component.- Returns:
- the value of the
realmIdrecord component
-