Class RealmsNotification.VisitUrl

java.lang.Object
net.minecraft.client.realms.dto.RealmsNotification
net.minecraft.client.realms.dto.RealmsNotification.VisitUrl
Enclosing class:
RealmsNotification

@Environment(CLIENT) public static class RealmsNotification.VisitUrl extends RealmsNotification
Mappings:
Namespace Name
named net/minecraft/client/realms/dto/RealmsNotification$VisitUrl
intermediary net/minecraft/class_8204$class_8205
official fih$c
  • Field Details

    • URL_KEY

      private static final String URL_KEY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named URL_KEY Lnet/minecraft/client/realms/dto/RealmsNotification$VisitUrl;URL_KEY:Ljava/lang/String;
      intermediary field_43025 Lnet/minecraft/class_8204$class_8205;field_43025:Ljava/lang/String;
      official a Lfih$c;a:Ljava/lang/String;
    • BUTTON_TEXT_KEY

      private static final String BUTTON_TEXT_KEY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named BUTTON_TEXT_KEY Lnet/minecraft/client/realms/dto/RealmsNotification$VisitUrl;BUTTON_TEXT_KEY:Ljava/lang/String;
      intermediary field_43026 Lnet/minecraft/class_8204$class_8205;field_43026:Ljava/lang/String;
      official b Lfih$c;b:Ljava/lang/String;
    • MESSAGE_KEY

      private static final String MESSAGE_KEY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named MESSAGE_KEY Lnet/minecraft/client/realms/dto/RealmsNotification$VisitUrl;MESSAGE_KEY:Ljava/lang/String;
      intermediary field_43027 Lnet/minecraft/class_8204$class_8205;field_43027:Ljava/lang/String;
      official c Lfih$c;c:Ljava/lang/String;
    • url

      private final String url
      Mappings:
      Namespace Name Mixin selector
      named url Lnet/minecraft/client/realms/dto/RealmsNotification$VisitUrl;url:Ljava/lang/String;
      intermediary field_43028 Lnet/minecraft/class_8204$class_8205;field_43028:Ljava/lang/String;
      official d Lfih$c;d:Ljava/lang/String;
    • buttonText

      private final RealmsText buttonText
      Mappings:
      Namespace Name Mixin selector
      named buttonText Lnet/minecraft/client/realms/dto/RealmsNotification$VisitUrl;buttonText:Lnet/minecraft/client/realms/dto/RealmsText;
      intermediary field_43029 Lnet/minecraft/class_8204$class_8205;field_43029:Lnet/minecraft/class_8206;
      official e Lfih$c;e:Lfin;
    • message

      private final RealmsText message
      Mappings:
      Namespace Name Mixin selector
      named message Lnet/minecraft/client/realms/dto/RealmsNotification$VisitUrl;message:Lnet/minecraft/client/realms/dto/RealmsText;
      intermediary field_43030 Lnet/minecraft/class_8204$class_8205;field_43030:Lnet/minecraft/class_8206;
      official f Lfih$c;f:Lfin;
  • Constructor Details

    • VisitUrl

      private VisitUrl(RealmsNotification parent, String url, RealmsText buttonText, RealmsText message)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/realms/dto/RealmsNotification$VisitUrl;<init>(Lnet/minecraft/client/realms/dto/RealmsNotification;Ljava/lang/String;Lnet/minecraft/client/realms/dto/RealmsText;Lnet/minecraft/client/realms/dto/RealmsText;)V
      intermediary <init> Lnet/minecraft/class_8204$class_8205;<init>(Lnet/minecraft/class_8204;Ljava/lang/String;Lnet/minecraft/class_8206;Lnet/minecraft/class_8206;)V
      official <init> Lfih$c;<init>(Lfih;Ljava/lang/String;Lfin;Lfin;)V
  • Method Details

    • fromJson

      public static RealmsNotification.VisitUrl fromJson(RealmsNotification parent, JsonObject json)
      Mappings:
      Namespace Name Mixin selector
      named fromJson Lnet/minecraft/client/realms/dto/RealmsNotification$VisitUrl;fromJson(Lnet/minecraft/client/realms/dto/RealmsNotification;Lcom/google/gson/JsonObject;)Lnet/minecraft/client/realms/dto/RealmsNotification$VisitUrl;
      intermediary method_49579 Lnet/minecraft/class_8204$class_8205;method_49579(Lnet/minecraft/class_8204;Lcom/google/gson/JsonObject;)Lnet/minecraft/class_8204$class_8205;
      official a Lfih$c;a(Lfih;Lcom/google/gson/JsonObject;)Lfih$c;
    • getDefaultMessage

      public Text getDefaultMessage()
      Mappings:
      Namespace Name Mixin selector
      named getDefaultMessage Lnet/minecraft/client/realms/dto/RealmsNotification$VisitUrl;getDefaultMessage()Lnet/minecraft/text/Text;
      intermediary method_49581 Lnet/minecraft/class_8204$class_8205;method_49581()Lnet/minecraft/class_2561;
      official d Lfih$c;d()Lxv;
    • createButton

      public ButtonWidget createButton(Screen currentScreen)
      Mappings:
      Namespace Name Mixin selector
      named createButton Lnet/minecraft/client/realms/dto/RealmsNotification$VisitUrl;createButton(Lnet/minecraft/client/gui/screen/Screen;)Lnet/minecraft/client/gui/widget/ButtonWidget;
      intermediary method_49580 Lnet/minecraft/class_8204$class_8205;method_49580(Lnet/minecraft/class_437;)Lnet/minecraft/class_4185;
      official a Lfih$c;a(Lftx;)Lfoe;