Class BeaconScreen.EffectButtonWidget

All Implemented Interfaces:
Drawable, Element, Narratable, Navigable, BeaconScreen.BeaconButtonWidget, Selectable, Widget
Direct Known Subclasses:
BeaconScreen.LevelTwoEffectButtonWidget
Enclosing class:
BeaconScreen

@Environment(CLIENT) private class BeaconScreen.EffectButtonWidget extends BeaconScreen.BaseButtonWidget
Mappings:
Namespace Name
named net/minecraft/client/gui/screen/ingame/BeaconScreen$EffectButtonWidget
intermediary net/minecraft/class_466$class_469
official fur$d
  • Field Details

    • primary

      private final boolean primary
      Mappings:
      Namespace Name Mixin selector
      named primary Lnet/minecraft/client/gui/screen/ingame/BeaconScreen$EffectButtonWidget;primary:Z
      intermediary field_17416 Lnet/minecraft/class_466$class_469;field_17416:Z
      official c Lfur$d;c:Z
    • level

      protected final int level
      Mappings:
      Namespace Name Mixin selector
      named level Lnet/minecraft/client/gui/screen/ingame/BeaconScreen$EffectButtonWidget;level:I
      intermediary field_33833 Lnet/minecraft/class_466$class_469;field_33833:I
      official a Lfur$d;a:I
    • effect

      private RegistryEntry<StatusEffect> effect
      Mappings:
      Namespace Name Mixin selector
      named effect Lnet/minecraft/client/gui/screen/ingame/BeaconScreen$EffectButtonWidget;effect:Lnet/minecraft/registry/entry/RegistryEntry;
      intermediary field_2813 Lnet/minecraft/class_466$class_469;field_2813:Lnet/minecraft/class_6880;
      official d Lfur$d;d:Ljq;
    • sprite

      private Sprite sprite
      Mappings:
      Namespace Name Mixin selector
      named sprite Lnet/minecraft/client/gui/screen/ingame/BeaconScreen$EffectButtonWidget;sprite:Lnet/minecraft/client/texture/Sprite;
      intermediary field_18223 Lnet/minecraft/class_466$class_469;field_18223:Lnet/minecraft/class_1058;
      official f Lfur$d;f:Lhbk;
  • Constructor Details

    • EffectButtonWidget

      public EffectButtonWidget(int x, int y, RegistryEntry<StatusEffect> effect, boolean primary, int level)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gui/screen/ingame/BeaconScreen$EffectButtonWidget;<init>(Lnet/minecraft/client/gui/screen/ingame/BeaconScreen;IILnet/minecraft/registry/entry/RegistryEntry;ZI)V
      intermediary <init> Lnet/minecraft/class_466$class_469;<init>(Lnet/minecraft/class_466;IILnet/minecraft/class_6880;ZI)V
      official <init> Lfur$d;<init>(Lfur;IILjq;ZI)V
  • Method Details

    • init

      protected void init(RegistryEntry<StatusEffect> effect)
      Mappings:
      Namespace Name Mixin selector
      named init Lnet/minecraft/client/gui/screen/ingame/BeaconScreen$EffectButtonWidget;init(Lnet/minecraft/registry/entry/RegistryEntry;)V
      intermediary method_37081 Lnet/minecraft/class_466$class_469;method_37081(Lnet/minecraft/class_6880;)V
      official a Lfur$d;a(Ljq;)V
    • getEffectName

      protected MutableText getEffectName(RegistryEntry<StatusEffect> effect)
      Mappings:
      Namespace Name Mixin selector
      named getEffectName Lnet/minecraft/client/gui/screen/ingame/BeaconScreen$EffectButtonWidget;getEffectName(Lnet/minecraft/registry/entry/RegistryEntry;)Lnet/minecraft/text/MutableText;
      intermediary method_37082 Lnet/minecraft/class_466$class_469;method_37082(Lnet/minecraft/class_6880;)Lnet/minecraft/class_5250;
      official b Lfur$d;b(Ljq;)Lyj;
    • onPress

      public void onPress()
      Specified by:
      onPress in class PressableWidget
      Mappings:
      Namespace Name Mixin selector
      named onPress Lnet/minecraft/client/gui/widget/PressableWidget;onPress()V
      intermediary method_25306 Lnet/minecraft/class_4264;method_25306()V
      official b Lfnv;b()V
    • renderExtra

      protected void renderExtra(DrawContext context)
      Specified by:
      renderExtra in class BeaconScreen.BaseButtonWidget
      Mappings:
      Namespace Name Mixin selector
      named renderExtra Lnet/minecraft/client/gui/screen/ingame/BeaconScreen$BaseButtonWidget;renderExtra(Lnet/minecraft/client/gui/DrawContext;)V
      intermediary method_18641 Lnet/minecraft/class_466$class_470;method_18641(Lnet/minecraft/class_332;)V
      official a Lfur$e;a(Lfnr;)V
    • tick

      public void tick(int level)
      Mappings:
      Namespace Name Mixin selector
      named tick Lnet/minecraft/client/gui/screen/ingame/BeaconScreen$BeaconButtonWidget;tick(I)V
      intermediary method_37080 Lnet/minecraft/class_466$class_6392;method_37080(I)V
      official a Lfur$a;a(I)V
    • getNarrationMessage

      protected MutableText getNarrationMessage()
      Overrides:
      getNarrationMessage in class ClickableWidget
      Mappings:
      Namespace Name Mixin selector
      named getNarrationMessage Lnet/minecraft/client/gui/widget/ClickableWidget;getNarrationMessage()Lnet/minecraft/text/MutableText;
      intermediary method_25360 Lnet/minecraft/class_339;method_25360()Lnet/minecraft/class_5250;
      official aR_ Lfoc;aR_()Lyj;