类 RealmsMainScreen.NotificationButton

所有已实现的接口:
GuiEventListener, Renderable, TabOrderedElement, LayoutElement, NarratableEntry, NarrationSupplier
封闭类:
RealmsMainScreen

static class RealmsMainScreen.NotificationButton extends SpriteIconButton.CenteredIcon
  • 字段详细资料

    • NOTIFICATION_ICONS

      private static final ResourceLocation[] NOTIFICATION_ICONS
    • UNKNOWN_COUNT

      private static final int UNKNOWN_COUNT
      另请参阅:
    • SIZE

      private static final int SIZE
      另请参阅:
    • SPRITE_SIZE

      private static final int SPRITE_SIZE
      另请参阅:
    • notificationCount

      private int notificationCount
  • 构造器详细资料

  • 方法详细资料

    • notificationCount

      int notificationCount()
    • setNotificationCount

      public void setNotificationCount(int p_300462_)
    • renderWidget

      public void renderWidget(GuiGraphics p_301337_, int p_300699_, int p_300272_, float p_300587_)
      覆盖:
      renderWidget 在类中 SpriteIconButton.CenteredIcon
    • drawNotificationCounter

      private void drawNotificationCounter(GuiGraphics p_301365_)