Class RealmsNotificationsScreen

All Implemented Interfaces:
Drawable, Element, ParentElement, TickableElement

@Environment(CLIENT)
public class RealmsNotificationsScreen
extends RealmsScreen
  • Field Details

    • INVITE_ICON

      private static final Identifier INVITE_ICON
    • TRIAL_ICON

      private static final Identifier TRIAL_ICON
    • field_22700

      private static final Identifier field_22700
    • REALMS_DATA_FETCHER

      private static final RealmsDataFetcher REALMS_DATA_FETCHER
    • checkedMcoAvailability

      private static boolean checkedMcoAvailability
    • trialAvailable

      private static boolean trialAvailable
    • validClient

      private static boolean validClient
    • hasUnreadNews

      private static boolean hasUnreadNews
    • numberOfPendingInvites

      private volatile int numberOfPendingInvites
  • 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.

      Overrides:
      init in class Screen
    • tick

      public void tick()
      Specified by:
      tick in interface TickableElement
      Overrides:
      tick in class RealmsScreen
    • method_25169

      private boolean method_25169()
    • method_25170

      private boolean method_25170()
    • checkIfMcoEnabled

      private void checkIfMcoEnabled()
    • render

      public void render​(MatrixStack matrices, int mouseX, int mouseY, float delta)
      Specified by:
      render in interface Drawable
      Overrides:
      render in class Screen
    • drawIcons

      private void drawIcons​(MatrixStack matrices, int mouseX, int mouseY)
    • removed

      public void removed()
      Overrides:
      removed in class Screen