Class RealmsNotificationsScreen

All Implemented Interfaces:
Drawable, Element, Navigable, ParentElement

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

    • UNSEEN_NOTIFICATION_ICON_TEXTURE

      private static final Identifier UNSEEN_NOTIFICATION_ICON_TEXTURE
      Mappings:
      Namespace Name Mixin selector
      named UNSEEN_NOTIFICATION_ICON_TEXTURE Lnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;UNSEEN_NOTIFICATION_ICON_TEXTURE:Lnet/minecraft/util/Identifier;
      intermediary field_45245 Lnet/minecraft/class_4399;field_45245:Lnet/minecraft/class_2960;
      official a Lfdn;a:Lakk;
    • NEWS_ICON_TEXTURE

      private static final Identifier NEWS_ICON_TEXTURE
      Mappings:
      Namespace Name Mixin selector
      named NEWS_ICON_TEXTURE Lnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;NEWS_ICON_TEXTURE:Lnet/minecraft/util/Identifier;
      intermediary field_45246 Lnet/minecraft/class_4399;field_45246:Lnet/minecraft/class_2960;
      official b Lfdn;b:Lakk;
    • INVITE_ICON_TEXTURE

      private static final Identifier INVITE_ICON_TEXTURE
      Mappings:
      Namespace Name Mixin selector
      named INVITE_ICON_TEXTURE Lnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;INVITE_ICON_TEXTURE:Lnet/minecraft/util/Identifier;
      intermediary field_45247 Lnet/minecraft/class_4399;field_45247:Lnet/minecraft/class_2960;
      official c Lfdn;c:Lakk;
    • TRIAL_AVAILABLE_ICON_TEXTURE

      private static final Identifier TRIAL_AVAILABLE_ICON_TEXTURE
      Mappings:
      Namespace Name Mixin selector
      named TRIAL_AVAILABLE_ICON_TEXTURE Lnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;TRIAL_AVAILABLE_ICON_TEXTURE:Lnet/minecraft/util/Identifier;
      intermediary field_45248 Lnet/minecraft/class_4399;field_45248:Lnet/minecraft/class_2960;
      official A Lfdn;A:Lakk;
    • trialAvailable

      private static boolean trialAvailable
      Mappings:
      Namespace Name Mixin selector
      named trialAvailable Lnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;trialAvailable:Z
      intermediary field_19926 Lnet/minecraft/class_4399;field_19926:Z
      official F Lfdn;F:Z
    • hasUnreadNews

      private static boolean hasUnreadNews
      Mappings:
      Namespace Name Mixin selector
      named hasUnreadNews Lnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;hasUnreadNews:Z
      intermediary field_19928 Lnet/minecraft/class_4399;field_19928:Z
      official G Lfdn;G:Z
    • hasUnseenNotification

      private static boolean hasUnseenNotification
      Mappings:
      Namespace Name Mixin selector
      named hasUnseenNotification Lnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;hasUnseenNotification:Z
      intermediary field_43038 Lnet/minecraft/class_4399;field_43038:Z
      official H Lfdn;H:Z
    • validClient

      private final CompletableFuture<Boolean> validClient
      Mappings:
      Namespace Name Mixin selector
      named validClient Lnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;validClient:Ljava/util/concurrent/CompletableFuture;
      intermediary field_19927 Lnet/minecraft/class_4399;field_19927:Ljava/util/concurrent/CompletableFuture;
      official B Lfdn;B:Ljava/util/concurrent/CompletableFuture;
    • periodicRunnersManager

      @Nullable private PeriodicRunnerFactory.RunnersManager periodicRunnersManager
      Mappings:
      Namespace Name Mixin selector
      named periodicRunnersManager Lnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;periodicRunnersManager:Lnet/minecraft/client/realms/util/PeriodicRunnerFactory$RunnersManager;
      intermediary field_39695 Lnet/minecraft/class_4399;field_39695:Lnet/minecraft/class_7581$class_7584;
      official C Lfdn;C:Lfed$c;
    • currentRunnersFactory

      Mappings:
      Namespace Name Mixin selector
      named currentRunnersFactory Lnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;currentRunnersFactory:Lnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen$NotificationRunnersFactory;
      intermediary field_43037 Lnet/minecraft/class_4399;field_43037:Lnet/minecraft/class_4399$class_8207;
      official D Lfdn;D:Lfdn$a;
    • pendingInvitesCount

      private volatile int pendingInvitesCount
      Mappings:
      Namespace Name Mixin selector
      named pendingInvitesCount Lnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;pendingInvitesCount:I
      intermediary field_19924 Lnet/minecraft/class_4399;field_19924:I
      official E Lfdn;E:I
    • newsAndNotifications

      private final RealmsNotificationsScreen.NotificationRunnersFactory newsAndNotifications
      Mappings:
      Namespace Name Mixin selector
      named newsAndNotifications Lnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;newsAndNotifications:Lnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen$NotificationRunnersFactory;
      intermediary field_43039 Lnet/minecraft/class_4399;field_43039:Lnet/minecraft/class_4399$class_8207;
      official I Lfdn;I:Lfdn$a;
    • notificationsOnly

      Mappings:
      Namespace Name Mixin selector
      named notificationsOnly Lnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;notificationsOnly:Lnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen$NotificationRunnersFactory;
      intermediary field_43040 Lnet/minecraft/class_4399;field_43040:Lnet/minecraft/class_4399$class_8207;
      official J Lfdn;J:Lfdn$a;
  • Constructor Details

    • RealmsNotificationsScreen

      public RealmsNotificationsScreen()
  • 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 aP_ Lfnl;aP_()V
    • onDisplayed

      public void onDisplayed()
      Called when the screen is displayed using
      invalid reference
      MinecraftClient#setScreen
      before init() or Screen.initTabNavigation() is called.
      Overrides:
      onDisplayed in class Screen
      Mappings:
      Namespace Name Mixin selector
      named onDisplayed Lnet/minecraft/client/gui/screen/Screen;onDisplayed()V
      intermediary method_49589 Lnet/minecraft/class_437;method_49589()V
      official aH_ Lfnl;aH_()V
    • getRunnersFactory

      Mappings:
      Namespace Name Mixin selector
      named getRunnersFactory Lnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;getRunnersFactory()Lnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen$NotificationRunnersFactory;
      intermediary method_49584 Lnet/minecraft/class_4399;method_49584()Lnet/minecraft/class_4399$class_8207;
      official D Lfdn;D()Lfdn$a;
    • tick

      public void tick()
      Overrides:
      tick in class Screen
      Mappings:
      Namespace Name Mixin selector
      named tick Lnet/minecraft/client/gui/screen/Screen;tick()V
      intermediary method_25393 Lnet/minecraft/class_437;method_25393()V
      official e Lfnl;e()V
    • shouldShowRealmsNews

      private boolean shouldShowRealmsNews()
      Mappings:
      Namespace Name Mixin selector
      named shouldShowRealmsNews Lnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;shouldShowRealmsNews()Z
      intermediary method_25169 Lnet/minecraft/class_4399;method_25169()Z
      official E Lfdn;E()Z
    • isTitleScreen

      private boolean isTitleScreen()
      Mappings:
      Namespace Name Mixin selector
      named isTitleScreen Lnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;isTitleScreen()Z
      intermediary method_25170 Lnet/minecraft/class_4399;method_25170()Z
      official F Lfdn;F()Z
    • 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 Lfix;a(Lfhh;IIF)V
    • renderBackground

      public void renderBackground(DrawContext context, int mouseX, int mouseY, float delta)
      Renders the background of this screen.

      If the client is in a world, renders the translucent background gradient. Otherwise renders the background texture.

      Overrides:
      renderBackground in class Screen
      Mappings:
      Namespace Name Mixin selector
      named renderBackground Lnet/minecraft/client/gui/screen/Screen;renderBackground(Lnet/minecraft/client/gui/DrawContext;IIF)V
      intermediary method_25420 Lnet/minecraft/class_437;method_25420(Lnet/minecraft/class_332;IIF)V
      official b Lfnl;b(Lfhh;IIF)V
    • drawIcons

      private void drawIcons(DrawContext context)
      Mappings:
      Namespace Name Mixin selector
      named drawIcons Lnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;drawIcons(Lnet/minecraft/client/gui/DrawContext;)V
      intermediary method_21295 Lnet/minecraft/class_4399;method_21295(Lnet/minecraft/class_332;)V
      official c Lfdn;c(Lfhh;)V
    • addRunners

      void addRunners(RealmsPeriodicCheckers checkers, PeriodicRunnerFactory.RunnersManager manager)
      Mappings:
      Namespace Name Mixin selector
      named addRunners Lnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;addRunners(Lnet/minecraft/client/realms/RealmsPeriodicCheckers;Lnet/minecraft/client/realms/util/PeriodicRunnerFactory$RunnersManager;)V
      intermediary method_49586 Lnet/minecraft/class_4399;method_49586(Lnet/minecraft/class_7578;Lnet/minecraft/class_7581$class_7584;)V
      official a Lfdn;a(Lfcu;Lfed$c;)V
    • addNotificationRunner

      void addNotificationRunner(RealmsPeriodicCheckers checkers, PeriodicRunnerFactory.RunnersManager manager)
      Mappings:
      Namespace Name Mixin selector
      named addNotificationRunner Lnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;addNotificationRunner(Lnet/minecraft/client/realms/RealmsPeriodicCheckers;Lnet/minecraft/client/realms/util/PeriodicRunnerFactory$RunnersManager;)V
      intermediary method_49590 Lnet/minecraft/class_4399;method_49590(Lnet/minecraft/class_7578;Lnet/minecraft/class_7581$class_7584;)V
      official b Lfdn;b(Lfcu;Lfed$c;)V