Interface RealmsError

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

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

    • NO_DETAILS_TEXT

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

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

    • getErrorCode

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

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

      String getErrorMessage()
      Mappings:
      Namespace Name Mixin selector
      named getErrorMessage Lnet/minecraft/client/realms/RealmsError;getErrorMessage()Ljava/lang/String;
      intermediary method_21036 Lnet/minecraft/class_4345;method_21036()Ljava/lang/String;
      official c Lfar;c()Ljava/lang/String;
    • ofHttp

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