Record Class RealmsError.class_8653

java.lang.Object
java.lang.Record
net.minecraft.client.realms.RealmsError.class_8653
Record Components:
httpCode -
payload -
All Implemented Interfaces:
RealmsError
Enclosing interface:
RealmsError

@Environment(CLIENT) public static record RealmsError.class_8653(int httpCode, @Nullable Text payload) extends Record implements RealmsError
Mappings:
Namespace Name
official elz$b
intermediary net/minecraft/class_4345$class_8653
named net/minecraft/client/realms/RealmsError$class_8653
official e
intermediary comp_1596
named httpCode
official f
intermediary comp_1597
named payload
  • Field Details

    • httpCode

      private final int httpCode
      The field for the httpCode record component.
    • payload

      @Nullable private final @Nullable Text payload
      The field for the payload record component.
    • field_45235

      public static final RealmsError.class_8653 field_45235
      Mappings:
      Namespace Name Mixin selector
      official c Lelz$b;c:Lelz$b;
      intermediary field_45235 Lnet/minecraft/class_4345$class_8653;field_45235:Lnet/minecraft/class_4345$class_8653;
      named field_45235 Lnet/minecraft/client/realms/RealmsError$class_8653;field_45235:Lnet/minecraft/client/realms/RealmsError$class_8653;
    • field_45236

      public static final Text field_45236
      Mappings:
      Namespace Name Mixin selector
      official d Lelz$b;d:Lte;
      intermediary field_45236 Lnet/minecraft/class_4345$class_8653;field_45236:Lnet/minecraft/class_2561;
      named field_45236 Lnet/minecraft/client/realms/RealmsError$class_8653;field_45236:Lnet/minecraft/text/Text;
  • Constructor Details

  • Method Details

    • method_52660

      public static RealmsError.class_8653 method_52660(String string)
      Mappings:
      Namespace Name Mixin selector
      official a Lelz$b;a(Ljava/lang/String;)Lelz$b;
      intermediary method_52660 Lnet/minecraft/class_4345$class_8653;method_52660(Ljava/lang/String;)Lnet/minecraft/class_4345$class_8653;
      named method_52660 Lnet/minecraft/client/realms/RealmsError$class_8653;method_52660(Ljava/lang/String;)Lnet/minecraft/client/realms/RealmsError$class_8653;
    • method_52659

      public static RealmsError.class_8653 method_52659(RealmsHttpException realmsHttpException)
      Mappings:
      Namespace Name Mixin selector
      official a Lelz$b;a(Lenj;)Lelz$b;
      intermediary method_52659 Lnet/minecraft/class_4345$class_8653;method_52659(Lnet/minecraft/class_4354;)Lnet/minecraft/class_4345$class_8653;
      named method_52659 Lnet/minecraft/client/realms/RealmsError$class_8653;method_52659(Lnet/minecraft/client/realms/exception/RealmsHttpException;)Lnet/minecraft/client/realms/RealmsError$class_8653;
    • method_52658

      public static RealmsError.class_8653 method_52658(int int2)
      Mappings:
      Namespace Name Mixin selector
      official a Lelz$b;a(I)Lelz$b;
      intermediary method_52658 Lnet/minecraft/class_4345$class_8653;method_52658(I)Lnet/minecraft/class_4345$class_8653;
      named method_52658 Lnet/minecraft/client/realms/RealmsError$class_8653;method_52658(I)Lnet/minecraft/client/realms/RealmsError$class_8653;
    • method_52661

      public static RealmsError.class_8653 method_52661(int int2)
      Mappings:
      Namespace Name Mixin selector
      official b Lelz$b;b(I)Lelz$b;
      intermediary method_52661 Lnet/minecraft/class_4345$class_8653;method_52661(I)Lnet/minecraft/class_4345$class_8653;
      named method_52661 Lnet/minecraft/client/realms/RealmsError$class_8653;method_52661(I)Lnet/minecraft/client/realms/RealmsError$class_8653;
    • getErrorCode

      public int getErrorCode()
      Specified by:
      getErrorCode in interface RealmsError
      Mappings:
      Namespace Name Mixin selector
      official a Lelz;a()I
      intermediary method_21037 Lnet/minecraft/class_4345;method_21037()I
      named getErrorCode Lnet/minecraft/client/realms/RealmsError;getErrorCode()I
    • method_52657

      public Text method_52657()
      Specified by:
      method_52657 in interface RealmsError
      Mappings:
      Namespace Name Mixin selector
      official b Lelz;b()Lte;
      intermediary method_52657 Lnet/minecraft/class_4345;method_52657()Lnet/minecraft/class_2561;
      named method_52657 Lnet/minecraft/client/realms/RealmsError;method_52657()Lnet/minecraft/text/Text;
    • getErrorMessage

      public String getErrorMessage()
      Specified by:
      getErrorMessage in interface RealmsError
      Mappings:
      Namespace Name Mixin selector
      official c Lelz;c()Ljava/lang/String;
      intermediary method_21036 Lnet/minecraft/class_4345;method_21036()Ljava/lang/String;
      named getErrorMessage Lnet/minecraft/client/realms/RealmsError;getErrorMessage()Ljava/lang/String;
    • 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. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      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.
    • httpCode

      public int httpCode()
      Returns the value of the httpCode record component.
      Returns:
      the value of the httpCode record component
    • payload

      @Nullable public @Nullable Text payload()
      Returns the value of the payload record component.
      Returns:
      the value of the payload record component