Interface RealmsError

All Known Implementing Classes:
RealmsError.AuthenticationError, RealmsError.DetailedHttpError, RealmsError.RawHttpPayloadError, RealmsError.SimpleHttpError

@Environment(CLIENT) public interface RealmsError
Mappings:
Namespace Name
official eqt
intermediary net/minecraft/class_4345
named net/minecraft/client/realms/RealmsError
  • Field Details

    • NO_DETAILS_TEXT

      static final Text NO_DETAILS_TEXT
      Mappings:
      Namespace Name Mixin selector
      official a Leqt;a:Lvf;
      intermediary field_45233 Lnet/minecraft/class_4345;field_45233:Lnet/minecraft/class_2561;
      named NO_DETAILS_TEXT Lnet/minecraft/client/realms/RealmsError;NO_DETAILS_TEXT:Lnet/minecraft/text/Text;
    • LOGGER

      static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official b Leqt;b:Lorg/slf4j/Logger;
      intermediary field_19593 Lnet/minecraft/class_4345;field_19593:Lorg/slf4j/Logger;
      named LOGGER Lnet/minecraft/client/realms/RealmsError;LOGGER:Lorg/slf4j/Logger;
  • Method Details

    • getErrorCode

      int getErrorCode()
      Mappings:
      Namespace Name Mixin selector
      official a Leqt;a()I
      intermediary method_21037 Lnet/minecraft/class_4345;method_21037()I
      named getErrorCode Lnet/minecraft/client/realms/RealmsError;getErrorCode()I
    • getText

      Text getText()
      Mappings:
      Namespace Name Mixin selector
      official b Leqt;b()Lvf;
      intermediary method_52657 Lnet/minecraft/class_4345;method_52657()Lnet/minecraft/class_2561;
      named getText Lnet/minecraft/client/realms/RealmsError;getText()Lnet/minecraft/text/Text;
    • getErrorMessage

      String getErrorMessage()
      Mappings:
      Namespace Name Mixin selector
      official c Leqt;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;
    • ofHttp

      static RealmsError ofHttp(int statusCode, String response)
      Mappings:
      Namespace Name Mixin selector
      official a Leqt;a(ILjava/lang/String;)Leqt;
      intermediary method_30162 Lnet/minecraft/class_4345;method_30162(ILjava/lang/String;)Lnet/minecraft/class_4345;
      named ofHttp Lnet/minecraft/client/realms/RealmsError;ofHttp(ILjava/lang/String;)Lnet/minecraft/client/realms/RealmsError;