Class RealmsSubscriptionInfoScreen

All Implemented Interfaces:
Drawable, Element, Navigable, ParentElement

@Environment(CLIENT) public class RealmsSubscriptionInfoScreen extends RealmsScreen
Mappings:
Namespace Name
official etl
intermediary net/minecraft/class_4425
named net/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen
  • Field Details

    • LOGGER

      static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official a Letl;a:Lorg/slf4j/Logger;
      intermediary field_20146 Lnet/minecraft/class_4425;field_20146:Lorg/slf4j/Logger;
      named LOGGER Lnet/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen;LOGGER:Lorg/slf4j/Logger;
    • SUBSCRIPTION_TITLE

      private static final Text SUBSCRIPTION_TITLE
      Mappings:
      Namespace Name Mixin selector
      official b Letl;b:Lvf;
      intermediary field_20153 Lnet/minecraft/class_4425;field_20153:Lnet/minecraft/class_2561;
      named SUBSCRIPTION_TITLE Lnet/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen;SUBSCRIPTION_TITLE:Lnet/minecraft/text/Text;
    • SUBSCRIPTION_START_LABEL_TEXT

      private static final Text SUBSCRIPTION_START_LABEL_TEXT
      Mappings:
      Namespace Name Mixin selector
      official c Letl;c:Lvf;
      intermediary field_20154 Lnet/minecraft/class_4425;field_20154:Lnet/minecraft/class_2561;
      named SUBSCRIPTION_START_LABEL_TEXT Lnet/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen;SUBSCRIPTION_START_LABEL_TEXT:Lnet/minecraft/text/Text;
    • TIME_LEFT_LABEL_TEXT

      private static final Text TIME_LEFT_LABEL_TEXT
      Mappings:
      Namespace Name Mixin selector
      official v Letl;v:Lvf;
      intermediary field_20155 Lnet/minecraft/class_4425;field_20155:Lnet/minecraft/class_2561;
      named TIME_LEFT_LABEL_TEXT Lnet/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen;TIME_LEFT_LABEL_TEXT:Lnet/minecraft/text/Text;
    • DAYS_LEFT_LABEL_TEXT

      private static final Text DAYS_LEFT_LABEL_TEXT
      Mappings:
      Namespace Name Mixin selector
      official w Letl;w:Lvf;
      intermediary field_20156 Lnet/minecraft/class_4425;field_20156:Lnet/minecraft/class_2561;
      named DAYS_LEFT_LABEL_TEXT Lnet/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen;DAYS_LEFT_LABEL_TEXT:Lnet/minecraft/text/Text;
    • EXPIRED_TEXT

      private static final Text EXPIRED_TEXT
      Mappings:
      Namespace Name Mixin selector
      official x Letl;x:Lvf;
      intermediary field_26517 Lnet/minecraft/class_4425;field_26517:Lnet/minecraft/class_2561;
      named EXPIRED_TEXT Lnet/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen;EXPIRED_TEXT:Lnet/minecraft/text/Text;
    • EXPIRES_IN_LESS_THAN_A_DAY_TEXT

      private static final Text EXPIRES_IN_LESS_THAN_A_DAY_TEXT
      Mappings:
      Namespace Name Mixin selector
      official y Letl;y:Lvf;
      intermediary field_26518 Lnet/minecraft/class_4425;field_26518:Lnet/minecraft/class_2561;
      named EXPIRES_IN_LESS_THAN_A_DAY_TEXT Lnet/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen;EXPIRES_IN_LESS_THAN_A_DAY_TEXT:Lnet/minecraft/text/Text;
    • UNKNOWN_TEXT

      private static final Text UNKNOWN_TEXT
      Mappings:
      Namespace Name Mixin selector
      official z Letl;z:Lvf;
      intermediary field_34033 Lnet/minecraft/class_4425;field_34033:Lnet/minecraft/class_2561;
      named UNKNOWN_TEXT Lnet/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen;UNKNOWN_TEXT:Lnet/minecraft/text/Text;
    • RECURRING_INFO_TEXT

      private static final Text RECURRING_INFO_TEXT
      Mappings:
      Namespace Name Mixin selector
      official A Letl;A:Lvf;
      intermediary field_43152 Lnet/minecraft/class_4425;field_43152:Lnet/minecraft/class_2561;
      named RECURRING_INFO_TEXT Lnet/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen;RECURRING_INFO_TEXT:Lnet/minecraft/text/Text;
    • parent

      private final Screen parent
      Mappings:
      Namespace Name Mixin selector
      official B Letl;B:Lfdb;
      intermediary field_20147 Lnet/minecraft/class_4425;field_20147:Lnet/minecraft/class_437;
      named parent Lnet/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
    • serverData

      final RealmsServer serverData
      Mappings:
      Namespace Name Mixin selector
      official C Letl;C:Leri;
      intermediary field_20148 Lnet/minecraft/class_4425;field_20148:Lnet/minecraft/class_4877;
      named serverData Lnet/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen;serverData:Lnet/minecraft/client/realms/dto/RealmsServer;
    • mainScreen

      final Screen mainScreen
      Mappings:
      Namespace Name Mixin selector
      official D Letl;D:Lfdb;
      intermediary field_20149 Lnet/minecraft/class_4425;field_20149:Lnet/minecraft/class_437;
      named mainScreen Lnet/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen;mainScreen:Lnet/minecraft/client/gui/screen/Screen;
    • daysLeft

      private Text daysLeft
      Mappings:
      Namespace Name Mixin selector
      official E Letl;E:Lvf;
      intermediary field_20157 Lnet/minecraft/class_4425;field_20157:Lnet/minecraft/class_2561;
      named daysLeft Lnet/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen;daysLeft:Lnet/minecraft/text/Text;
    • startDate

      private Text startDate
      Mappings:
      Namespace Name Mixin selector
      official F Letl;F:Lvf;
      intermediary field_20158 Lnet/minecraft/class_4425;field_20158:Lnet/minecraft/class_2561;
      named startDate Lnet/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen;startDate:Lnet/minecraft/text/Text;
    • type

      Mappings:
      Namespace Name Mixin selector
      official G Letl;G:Lerv$a;
      intermediary field_20159 Lnet/minecraft/class_4425;field_20159:Lnet/minecraft/class_4887$class_4322;
      named type Lnet/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen;type:Lnet/minecraft/client/realms/dto/Subscription$SubscriptionType;
  • Constructor Details

    • RealmsSubscriptionInfoScreen

      public RealmsSubscriptionInfoScreen(Screen parent, RealmsServer serverData, Screen mainScreen)
      Mappings:
      Namespace Name Mixin selector
      official <init> Letl;<init>(Lfdb;Leri;Lfdb;)V
      intermediary <init> Lnet/minecraft/class_4425;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_4877;Lnet/minecraft/class_437;)V
      named <init> Lnet/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/client/realms/dto/RealmsServer;Lnet/minecraft/client/gui/screen/Screen;)V
  • Method Details

    • init

      public void init()
      Called when a screen should be initialized.

      This method is called when this screen is opened or resized.

      This should call Screen.setInitialFocus(net.minecraft.client.gui.Element) to set the element that is initially focused.

      Overrides:
      init in class Screen
      Mappings:
      Namespace Name Mixin selector
      official aN_ Lfdb;aN_()V
      intermediary method_25426 Lnet/minecraft/class_437;method_25426()V
      named init Lnet/minecraft/client/gui/screen/Screen;init()V
    • getNarratedTitle

      public Text getNarratedTitle()
      Overrides:
      getNarratedTitle in class Screen
      Mappings:
      Namespace Name Mixin selector
      official h Lfdb;h()Lvf;
      intermediary method_25435 Lnet/minecraft/class_437;method_25435()Lnet/minecraft/class_2561;
      named getNarratedTitle Lnet/minecraft/client/gui/screen/Screen;getNarratedTitle()Lnet/minecraft/text/Text;
    • onDeletionConfirmed

      private void onDeletionConfirmed(boolean delete)
      Mappings:
      Namespace Name Mixin selector
      official c Letl;c(Z)V
      intermediary method_25271 Lnet/minecraft/class_4425;method_25271(Z)V
      named onDeletionConfirmed Lnet/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen;onDeletionConfirmed(Z)V
    • getSubscription

      private void getSubscription(long worldId)
      Mappings:
      Namespace Name Mixin selector
      official a Letl;a(J)V
      intermediary method_21500 Lnet/minecraft/class_4425;method_21500(J)V
      named getSubscription Lnet/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen;getSubscription(J)V
    • localPresentation

      private static Text localPresentation(long time)
      Mappings:
      Namespace Name Mixin selector
      official b Letl;b(J)Lvf;
      intermediary method_21502 Lnet/minecraft/class_4425;method_21502(J)Lnet/minecraft/class_2561;
      named localPresentation Lnet/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen;localPresentation(J)Lnet/minecraft/text/Text;
    • close

      public void close()
      Overrides:
      close in class Screen
      Mappings:
      Namespace Name Mixin selector
      official aE_ Lfdb;aE_()V
      intermediary method_25419 Lnet/minecraft/class_437;method_25419()V
      named close Lnet/minecraft/client/gui/screen/Screen;close()V
    • render

      public void render(DrawContext context, int mouseX, int mouseY, float delta)
      Specified by:
      render in interface Drawable
      Overrides:
      render in class Screen
      Mappings:
      Namespace Name Mixin selector
      official a Leyj;a(Lewu;IIF)V
      intermediary method_25394 Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)V
      named render Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V
    • daysLeftPresentation

      private Text daysLeftPresentation(int daysLeft)
      Mappings:
      Namespace Name Mixin selector
      official a Letl;a(I)Lvf;
      intermediary method_21499 Lnet/minecraft/class_4425;method_21499(I)Lnet/minecraft/class_2561;
      named daysLeftPresentation Lnet/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen;daysLeftPresentation(I)Lnet/minecraft/text/Text;