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
official ejb$a
intermediary net/minecraft/class_8204$class_8205
named net/minecraft/client/realms/dto/RealmsNotification$VisitUrl
  • Field Details

    • URL_KEY

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

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

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

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

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

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

    • VisitUrl

      private VisitUrl(RealmsNotification parent, String url, RealmsText buttonText, RealmsText message)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lejb$a;<init>(Lejb;Ljava/lang/String;Leji;Leji;)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
      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
  • Method Details

    • fromJson

      public static RealmsNotification.VisitUrl fromJson(RealmsNotification parent, JsonObject json)
      Mappings:
      Namespace Name Mixin selector
      official a Lejb$a;a(Lejb;Lcom/google/gson/JsonObject;)Lejb$a;
      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;
      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;
    • getDefaultMessage

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

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