Class RealmsNotificationsScreen

All Implemented Interfaces:
Drawable, Element, Navigable, ParentElement

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

    • UNSEEN_NOTIFICATION_ICON_TEXTURE

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

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

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

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

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

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

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

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

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

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

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

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

      Mappings:
      Namespace Name Mixin selector
      official H Leoo;H:Leoo$a;
      intermediary field_43040 Lnet/minecraft/class_4399;field_43040:Lnet/minecraft/class_4399$class_8207;
      named notificationsOnly Lnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;notificationsOnly:Lnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen$NotificationRunnersFactory;
  • 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(net.minecraft.client.gui.Element) to set the element that is initially focused.

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

      public void onDisplayed()
      Overrides:
      onDisplayed in class Screen
      Mappings:
      Namespace Name Mixin selector
      official aA_ Leyk;aA_()V
      intermediary method_49589 Lnet/minecraft/class_437;method_49589()V
      named onDisplayed Lnet/minecraft/client/gui/screen/Screen;onDisplayed()V
    • getRunnersFactory

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

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

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

      private boolean isTitleScreen()
      Mappings:
      Namespace Name Mixin selector
      official F Leoo;F()Z
      intermediary method_25170 Lnet/minecraft/class_4399;method_25170()Z
      named isTitleScreen Lnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;isTitleScreen()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
      official a Lets;a(Lesf;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
    • 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
      official b Leyk;b(Lesf;IIF)V
      intermediary method_25420 Lnet/minecraft/class_437;method_25420(Lnet/minecraft/class_332;IIF)V
      named renderBackground Lnet/minecraft/client/gui/screen/Screen;renderBackground(Lnet/minecraft/client/gui/DrawContext;IIF)V
    • drawIcons

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

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

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