Class RealmsNotificationsScreen

All Implemented Interfaces:
ContainerEventHandler, GuiEventListener, Renderable, TabOrderedElement

public class RealmsNotificationsScreen extends RealmsScreen
  • Field Details

  • Constructor Details

    • RealmsNotificationsScreen

      public RealmsNotificationsScreen()
  • Method Details

    • init

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

      public void added()
      Overrides:
      added in class Screen
    • getConfiguration

      private @Nullable RealmsNotificationsScreen.DataFetcherConfiguration getConfiguration()
    • tick

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

      private boolean getRealmsNotificationsEnabled()
    • inTitleScreen

      private boolean inTitleScreen()
    • render

      public void render(GuiGraphics p_282587_, int p_282992_, int p_283028_, float p_281605_)
      Description copied from interface: Renderable
      Renders the graphical user interface (GUI) element.
      Specified by:
      render in interface Renderable
      Overrides:
      render in class Screen
      Parameters:
      p_282587_ - the GuiGraphics object used for rendering.
      p_282992_ - the x-coordinate of the mouse cursor.
      p_283028_ - the y-coordinate of the mouse cursor.
      p_281605_ - the partial tick time.
    • renderBackground

      public void renderBackground(GuiGraphics p_294179_, int p_294689_, int p_294445_, float p_294874_)
      Overrides:
      renderBackground in class Screen
    • drawIcons

      private void drawIcons(GuiGraphics pGuiGraphics)
    • addNewsAndInvitesSubscriptions

      void addNewsAndInvitesSubscriptions(RealmsDataFetcher pDataFetcher, DataFetcher.Subscription pSubscription)
    • addNotificationsSubscriptions

      void addNotificationsSubscriptions(RealmsDataFetcher pDataFetcher, DataFetcher.Subscription pSubscription)