Class RealmsMainScreen.NotificationButtonWidget

All Implemented Interfaces:
Drawable, Element, Narratable, Navigable, Selectable, Widget
Enclosing class:
RealmsMainScreen

@Environment(CLIENT) private static class RealmsMainScreen.NotificationButtonWidget extends TextIconButtonWidget.IconOnly
Mappings:
Namespace Name
official ema$f
intermediary net/minecraft/class_4325$class_8651
named net/minecraft/client/realms/gui/screen/RealmsMainScreen$NotificationButtonWidget
  • Field Details

    • TEXTURES

      private static final Identifier[] TEXTURES
      Mappings:
      Namespace Name Mixin selector
      official d Lema$f;d:[Laew;
      intermediary field_45227 Lnet/minecraft/class_4325$class_8651;field_45227:[Lnet/minecraft/class_2960;
      named TEXTURES Lnet/minecraft/client/realms/gui/screen/RealmsMainScreen$NotificationButtonWidget;TEXTURES:[Lnet/minecraft/util/Identifier;
    • field_45228

      private static final int field_45228
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official s Lema$f;s:I
      intermediary field_45228 Lnet/minecraft/class_4325$class_8651;field_45228:I
      named field_45228 Lnet/minecraft/client/realms/gui/screen/RealmsMainScreen$NotificationButtonWidget;field_45228:I
    • SIZE

      private static final int SIZE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official t Lema$f;t:I
      intermediary field_45229 Lnet/minecraft/class_4325$class_8651;field_45229:I
      named SIZE Lnet/minecraft/client/realms/gui/screen/RealmsMainScreen$NotificationButtonWidget;SIZE:I
    • TEXTURE_SIZE

      private static final int TEXTURE_SIZE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official u Lema$f;u:I
      intermediary field_45230 Lnet/minecraft/class_4325$class_8651;field_45230:I
      named TEXTURE_SIZE Lnet/minecraft/client/realms/gui/screen/RealmsMainScreen$NotificationButtonWidget;TEXTURE_SIZE:I
    • notificationCount

      private int notificationCount
      Mappings:
      Namespace Name Mixin selector
      official v Lema$f;v:I
      intermediary field_45231 Lnet/minecraft/class_4325$class_8651;field_45231:I
      named notificationCount Lnet/minecraft/client/realms/gui/screen/RealmsMainScreen$NotificationButtonWidget;notificationCount:I
  • Constructor Details

    • NotificationButtonWidget

      public NotificationButtonWidget(Text message, Identifier texture, ButtonWidget.PressAction onPress)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lema$f;<init>(Ltl;Laew;Lesq$c;)V
      intermediary <init> Lnet/minecraft/class_4325$class_8651;<init>(Lnet/minecraft/class_2561;Lnet/minecraft/class_2960;Lnet/minecraft/class_4185$class_4241;)V
      named <init> Lnet/minecraft/client/realms/gui/screen/RealmsMainScreen$NotificationButtonWidget;<init>(Lnet/minecraft/text/Text;Lnet/minecraft/util/Identifier;Lnet/minecraft/client/gui/widget/ButtonWidget$PressAction;)V
  • Method Details

    • getNotificationCount

      int getNotificationCount()
      Mappings:
      Namespace Name Mixin selector
      official a Lema$f;a()I
      intermediary method_53794 Lnet/minecraft/class_4325$class_8651;method_53794()I
      named getNotificationCount Lnet/minecraft/client/realms/gui/screen/RealmsMainScreen$NotificationButtonWidget;getNotificationCount()I
    • setNotificationCount

      public void setNotificationCount(int notificationCount)
      Mappings:
      Namespace Name Mixin selector
      official a Lema$f;a(I)V
      intermediary method_52651 Lnet/minecraft/class_4325$class_8651;method_52651(I)V
      named setNotificationCount Lnet/minecraft/client/realms/gui/screen/RealmsMainScreen$NotificationButtonWidget;setNotificationCount(I)V
    • renderButton

      public void renderButton(DrawContext context, int mouseX, int mouseY, float delta)
      Overrides:
      renderButton in class TextIconButtonWidget.IconOnly
      Mappings:
      Namespace Name Mixin selector
      official b Leso;b(Lesf;IIF)V
      intermediary method_48579 Lnet/minecraft/class_339;method_48579(Lnet/minecraft/class_332;IIF)V
      named renderButton Lnet/minecraft/client/gui/widget/ClickableWidget;renderButton(Lnet/minecraft/client/gui/DrawContext;IIF)V
    • render

      private void render(DrawContext context)
      Mappings:
      Namespace Name Mixin selector
      official a Lema$f;a(Lesf;)V
      intermediary method_52652 Lnet/minecraft/class_4325$class_8651;method_52652(Lnet/minecraft/class_332;)V
      named render Lnet/minecraft/client/realms/gui/screen/RealmsMainScreen$NotificationButtonWidget;render(Lnet/minecraft/client/gui/DrawContext;)V