Record Class RunArgs.QuickPlay

java.lang.Object
java.lang.Record
net.minecraft.client.RunArgs.QuickPlay
Record Components:
path -
singleplayer -
multiplayer -
realms -
Enclosing class:
RunArgs

@Environment(CLIENT) public static record RunArgs.QuickPlay(@Nullable String path, @Nullable String singleplayer, @Nullable String multiplayer, @Nullable String realms) extends Record
Mappings:
Namespace Name
named net/minecraft/client/RunArgs$QuickPlay
intermediary net/minecraft/class_542$class_8495
official fss$c
named path
intermediary comp_1476
official a
named singleplayer
intermediary comp_1477
official b
named multiplayer
intermediary comp_1478
official c
named realms
intermediary comp_1479
official d
  • Field Details

  • Constructor Details

  • Method Details

    • isEnabled

      public boolean isEnabled()
      Mappings:
      Namespace Name Mixin selector
      named isEnabled Lnet/minecraft/client/RunArgs$QuickPlay;isEnabled()Z
      intermediary method_51257 Lnet/minecraft/class_542$class_8495;method_51257()Z
      official a Lfss$c;a()Z
    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object object)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      object - the object with which to compare
      Returns:
      true if this object is the same as the object argument; false otherwise.
    • path

      @Nullable public @Nullable String path()
      Returns the value of the path record component.
      Returns:
      the value of the path record component
    • singleplayer

      @Nullable public @Nullable String singleplayer()
      Returns the value of the singleplayer record component.
      Returns:
      the value of the singleplayer record component
    • multiplayer

      @Nullable public @Nullable String multiplayer()
      Returns the value of the multiplayer record component.
      Returns:
      the value of the multiplayer record component
    • realms

      @Nullable public @Nullable String realms()
      Returns the value of the realms record component.
      Returns:
      the value of the realms record component