Class RealmsSubscriptionInfoScreen

All Implemented Interfaces:
Drawable, Element, Navigable, ParentElement

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

    • LOGGER

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

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

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

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

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

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

      private static final Text EXPIRES_IN_LESS_THAN_A_DAY_TEXT
      Mappings:
      Namespace Name Mixin selector
      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;
      intermediary field_26518 Lnet/minecraft/class_4425;field_26518:Lnet/minecraft/class_2561;
      official E Lfdk;E:Lxp;
    • UNKNOWN_TEXT

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

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

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

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

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

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

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

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

    • RealmsSubscriptionInfoScreen

      public RealmsSubscriptionInfoScreen(Screen parent, RealmsServer serverData, Screen mainScreen)
      Mappings:
      Namespace Name Mixin selector
      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
      intermediary <init> Lnet/minecraft/class_4425;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_4877;Lnet/minecraft/class_437;)V
      official <init> Lfdk;<init>(Lfnf;Lfbh;Lfnf;)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() to set the element that is initially focused.

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

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

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

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

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

      public void close()
      Overrides:
      close in class Screen
      Mappings:
      Namespace Name Mixin selector
      named close Lnet/minecraft/client/gui/screen/Screen;close()V
      intermediary method_25419 Lnet/minecraft/class_437;method_25419()V
      official d Lfnf;d()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
      named render Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V
      intermediary method_25394 Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)V
      official a Lfij;a(Lfgt;IIF)V
    • daysLeftPresentation

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