Class BeaconScreen.BaseButtonWidget

All Implemented Interfaces:
Drawable, Element, Narratable, BeaconScreen.BeaconButtonWidget, Selectable
Direct Known Subclasses:
BeaconScreen.EffectButtonWidget, BeaconScreen.IconButtonWidget
Enclosing class:
BeaconScreen

@Environment(CLIENT) private abstract static class BeaconScreen.BaseButtonWidget extends PressableWidget implements BeaconScreen.BeaconButtonWidget
Mappings:
Namespace Name
official edf$e
intermediary net/minecraft/class_466$class_470
named net/minecraft/client/gui/screen/ingame/BeaconScreen$BaseButtonWidget
  • Field Details

    • disabled

      private boolean disabled
      Mappings:
      Namespace Name Mixin selector
      official a Ledf$e;a:Z
      intermediary field_2815 Lnet/minecraft/class_466$class_470;field_2815:Z
      named disabled Lnet/minecraft/client/gui/screen/ingame/BeaconScreen$BaseButtonWidget;disabled:Z
  • Constructor Details

    • BaseButtonWidget

      protected BaseButtonWidget(int x, int y)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ledf$e;<init>(II)V
      intermediary <init> Lnet/minecraft/class_466$class_470;<init>(II)V
      named <init> Lnet/minecraft/client/gui/screen/ingame/BeaconScreen$BaseButtonWidget;<init>(II)V
    • BaseButtonWidget

      protected BaseButtonWidget(int x, int y, Text message)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ledf$e;<init>(IILpt;)V
      intermediary <init> Lnet/minecraft/class_466$class_470;<init>(IILnet/minecraft/class_2561;)V
      named <init> Lnet/minecraft/client/gui/screen/ingame/BeaconScreen$BaseButtonWidget;<init>(IILnet/minecraft/text/Text;)V
  • Method Details

    • renderButton

      public void renderButton(MatrixStack matrices, int mouseX, int mouseY, float delta)
      Overrides:
      renderButton in class ClickableWidget
      Mappings:
      Namespace Name Mixin selector
      official b Ldyl;b(Ldrw;IIF)V
      intermediary method_25359 Lnet/minecraft/class_339;method_25359(Lnet/minecraft/class_4587;IIF)V
      named renderButton Lnet/minecraft/client/gui/widget/ClickableWidget;renderButton(Lnet/minecraft/client/util/math/MatrixStack;IIF)V
    • renderExtra

      protected abstract void renderExtra(MatrixStack matrices)
      Mappings:
      Namespace Name Mixin selector
      official a Ledf$e;a(Ldrw;)V
      intermediary method_18641 Lnet/minecraft/class_466$class_470;method_18641(Lnet/minecraft/class_4587;)V
      named renderExtra Lnet/minecraft/client/gui/screen/ingame/BeaconScreen$BaseButtonWidget;renderExtra(Lnet/minecraft/client/util/math/MatrixStack;)V
    • isDisabled

      public boolean isDisabled()
      Mappings:
      Namespace Name Mixin selector
      official b Ledf$e;b()Z
      intermediary method_2402 Lnet/minecraft/class_466$class_470;method_2402()Z
      named isDisabled Lnet/minecraft/client/gui/screen/ingame/BeaconScreen$BaseButtonWidget;isDisabled()Z
    • setDisabled

      public void setDisabled(boolean disabled)
      Mappings:
      Namespace Name Mixin selector
      official e Ledf$e;e(Z)V
      intermediary method_2401 Lnet/minecraft/class_466$class_470;method_2401(Z)V
      named setDisabled Lnet/minecraft/client/gui/screen/ingame/BeaconScreen$BaseButtonWidget;setDisabled(Z)V
    • shouldRenderTooltip

      public boolean shouldRenderTooltip()
      Specified by:
      shouldRenderTooltip in interface BeaconScreen.BeaconButtonWidget
      Mappings:
      Namespace Name Mixin selector
      official a Ledf$a;a()Z
      intermediary method_37079 Lnet/minecraft/class_466$class_6392;method_37079()Z
      named shouldRenderTooltip Lnet/minecraft/client/gui/screen/ingame/BeaconScreen$BeaconButtonWidget;shouldRenderTooltip()Z
    • appendNarrations

      public void appendNarrations(NarrationMessageBuilder builder)
      Specified by:
      appendNarrations in interface Narratable
      Mappings:
      Namespace Name Mixin selector
      official a Lear;a(Leaq;)V
      intermediary method_37020 Lnet/minecraft/class_6383;method_37020(Lnet/minecraft/class_6382;)V
      named appendNarrations Lnet/minecraft/client/gui/Narratable;appendNarrations(Lnet/minecraft/client/gui/screen/narration/NarrationMessageBuilder;)V