Class RealmsMainScreen.NotificationButton

All Implemented Interfaces:
GuiEventListener, Renderable, TabOrderedElement, LayoutElement, NarratableEntry, NarrationSupplier
Enclosing class:
RealmsMainScreen

static class RealmsMainScreen.NotificationButton extends SpriteIconButton.CenteredIcon
  • Field Details

  • Constructor Details

  • Method Details

    • notificationCount

      int notificationCount()
    • setNotificationCount

      public void setNotificationCount(int pNotificationCount)
    • renderContents

      public void renderContents(GuiGraphics p_458073_, int p_458104_, int p_457964_, float p_457870_)
      Overrides:
      renderContents in class SpriteIconButton.CenteredIcon
    • drawNotificationCounter

      private void drawNotificationCounter(GuiGraphics pGuiGraphics)