Record Class RealmsError.class_8652

java.lang.Object
java.lang.Record
net.minecraft.client.realms.RealmsError.class_8652
Record Components:
message -
All Implemented Interfaces:
RealmsError
Enclosing interface:
RealmsError

@Environment(CLIENT) public static record RealmsError.class_8652(String message) extends Record implements RealmsError
Mappings:
Namespace Name
official elz$a
intermediary net/minecraft/class_4345$class_8652
named net/minecraft/client/realms/RealmsError$class_8652
official d
intermediary comp_1595
named message
  • Field Details

    • message

      private final String message
      The field for the message record component.
    • field_45234

      public static final int field_45234
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official c Lelz$a;c:I
      intermediary field_45234 Lnet/minecraft/class_4345$class_8652;field_45234:I
      named field_45234 Lnet/minecraft/client/realms/RealmsError$class_8652;field_45234:I
  • Constructor Details

    • class_8652

      public class_8652(String string)
  • Method Details

    • 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. 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.
    • message

      public String message()
      Returns the value of the message record component.
      Returns:
      the value of the message record component