Record Class RealmsAvailability.Info

java.lang.Object
java.lang.Record
net.minecraft.client.realms.RealmsAvailability.Info
Record Components:
type -
exception -
Enclosing class:
RealmsAvailability

@Environment(CLIENT) public static record RealmsAvailability.Info(RealmsAvailability.Type type, @Nullable RealmsServiceException exception) extends Record
Mappings:
Namespace Name
official elz$a
intermediary net/minecraft/class_8647$class_8648
named net/minecraft/client/realms/RealmsAvailability$Info
official a
intermediary comp_1593
named type
official b
intermediary comp_1594
named exception
  • Field Details

  • Constructor Details

    • Info

      public Info(RealmsAvailability.Type type)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lelz$a;<init>(Lelz$b;)V
      intermediary <init> Lnet/minecraft/class_8647$class_8648;<init>(Lnet/minecraft/class_8647$class_8649;)V
      named <init> Lnet/minecraft/client/realms/RealmsAvailability$Info;<init>(Lnet/minecraft/client/realms/RealmsAvailability$Type;)V
    • Info

      public Info(RealmsServiceException exception)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lelz$a;<init>(Lens;)V
      intermediary <init> Lnet/minecraft/class_8647$class_8648;<init>(Lnet/minecraft/class_4355;)V
      named <init> Lnet/minecraft/client/realms/RealmsAvailability$Info;<init>(Lnet/minecraft/client/realms/exception/RealmsServiceException;)V
    • Info

      public Info(RealmsAvailability.Type type, @Nullable @Nullable RealmsServiceException realmsServiceException)
  • Method Details

    • createScreen

      @Nullable public @Nullable Screen createScreen(Screen parent)
      Mappings:
      Namespace Name Mixin selector
      official a Lelz$a;a(Leyk;)Leyk;
      intermediary method_52628 Lnet/minecraft/class_8647$class_8648;method_52628(Lnet/minecraft/class_437;)Lnet/minecraft/class_437;
      named createScreen Lnet/minecraft/client/realms/RealmsAvailability$Info;createScreen(Lnet/minecraft/client/gui/screen/Screen;)Lnet/minecraft/client/gui/screen/Screen;
    • 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.
    • type

      public RealmsAvailability.Type type()
      Returns the value of the type record component.
      Returns:
      the value of the type record component
    • exception

      @Nullable public @Nullable RealmsServiceException exception()
      Returns the value of the exception record component.
      Returns:
      the value of the exception record component