Package net.minecraft.client
Record Class RunArgs.SingleplayerQuickPlay
java.lang.Object
java.lang.Record
net.minecraft.client.RunArgs.SingleplayerQuickPlay
- Record Components:
worldId-
- All Implemented Interfaces:
RunArgs.QuickPlayVariant
- Enclosing class:
RunArgs
@Environment(CLIENT)
public static record RunArgs.SingleplayerQuickPlay(@Nullable String worldId)
extends Record
implements RunArgs.QuickPlayVariant
- Mappings:
Namespace Name named net/minecraft/client/RunArgs$SingleplayerQuickPlayintermediary net/minecraft/class_542$class_11395official gtl$gnamed worldIdintermediary comp_4280official b
-
Field Summary
FieldsFields 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.booleanfinal StringtoString()Returns a string representation of this record class.worldId()Returns the value of theworldIdrecord component.
-
Field Details
-
worldId
The field for theworldIdrecord component.
-
-
Constructor Details
-
SingleplayerQuickPlay
-
-
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). -
worldId
Returns the value of theworldIdrecord component.- Returns:
- the value of the
worldIdrecord component
-