Class BeaconScreen.EffectButtonWidget

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

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

    • primary

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

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

      private StatusEffect effect
      Mappings:
      Namespace Name Mixin selector
      official d Leqd$d;d:Lbdi;
      intermediary field_2813 Lnet/minecraft/class_466$class_469;field_2813:Lnet/minecraft/class_1291;
      named effect Lnet/minecraft/client/gui/screen/ingame/BeaconScreen$EffectButtonWidget;effect:Lnet/minecraft/entity/effect/StatusEffect;
    • sprite

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

    • EffectButtonWidget

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

    • init

      protected void init(StatusEffect statusEffect)
      Mappings:
      Namespace Name Mixin selector
      official a Leqd$d;a(Lbdi;)V
      intermediary method_37081 Lnet/minecraft/class_466$class_469;method_37081(Lnet/minecraft/class_1291;)V
      named init Lnet/minecraft/client/gui/screen/ingame/BeaconScreen$EffectButtonWidget;init(Lnet/minecraft/entity/effect/StatusEffect;)V
    • getEffectName

      protected MutableText getEffectName(StatusEffect statusEffect)
      Mappings:
      Namespace Name Mixin selector
      official b Leqd$d;b(Lbdi;)Ltf;
      intermediary method_37082 Lnet/minecraft/class_466$class_469;method_37082(Lnet/minecraft/class_1291;)Lnet/minecraft/class_5250;
      named getEffectName Lnet/minecraft/client/gui/screen/ingame/BeaconScreen$EffectButtonWidget;getEffectName(Lnet/minecraft/entity/effect/StatusEffect;)Lnet/minecraft/text/MutableText;
    • onPress

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

      protected void renderExtra(MatrixStack matrices)
      Specified by:
      renderExtra in class BeaconScreen.BaseButtonWidget
      Mappings:
      Namespace Name Mixin selector
      official a Leqd$e;a(Leed;)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
    • tick

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

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