Class RealmsNotificationsScreen

All Implemented Interfaces:
IGuiEventListener, INestedGuiEventHandler, IRenderable, IScreen

public class RealmsNotificationsScreen extends RealmsScreen
  • Field Details

    • INVITE_ICON_LOCATION

      private static final ResourceLocation INVITE_ICON_LOCATION
    • TRIAL_ICON_LOCATION

      private static final ResourceLocation TRIAL_ICON_LOCATION
    • NEWS_ICON_LOCATION

      private static final ResourceLocation NEWS_ICON_LOCATION
    • REALMS_DATA_FETCHER

      private static final RealmsDataFetcher REALMS_DATA_FETCHER
    • numberOfPendingInvites

      private volatile int numberOfPendingInvites
    • checkedMcoAvailability

      private static boolean checkedMcoAvailability
    • trialAvailable

      private static boolean trialAvailable
    • validClient

      private static boolean validClient
    • hasUnreadNews

      private static boolean hasUnreadNews
  • Constructor Details

    • RealmsNotificationsScreen

      public RealmsNotificationsScreen()
  • Method Details

    • init

      public void init()
      Overrides:
      init in class Screen
    • tick

      public void tick()
      Specified by:
      tick in interface IScreen
      Overrides:
      tick in class RealmsScreen
    • getRealmsNotificationsEnabled

      private boolean getRealmsNotificationsEnabled()
    • inTitleScreen

      private boolean inTitleScreen()
    • checkIfMcoEnabled

      private void checkIfMcoEnabled()
    • render

      public void render(MatrixStack p_230430_1_, int p_230430_2_, int p_230430_3_, float p_230430_4_)
      Specified by:
      render in interface IRenderable
      Overrides:
      render in class Screen
    • drawIcons

      private void drawIcons(MatrixStack p_237857_1_, int p_237857_2_, int p_237857_3_)
    • removed

      public void removed()
      Overrides:
      removed in class Screen