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$SingleplayerQuickPlay
intermediary net/minecraft/class_542$class_11395
official gll$g
named worldId
intermediary comp_4280
official b
-
Field Summary
FieldsFields 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
final String
toString()
Returns a string representation of this record class.worldId()
Returns the value of theworldId
record component.
-
Field Details
-
worldId
The field for theworldId
record component.
-
-
Constructor Details
-
SingleplayerQuickPlay
-
-
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)
. -
worldId
Returns the value of theworldId
record component.- Returns:
- the value of the
worldId
record component
-