Class BeaconScreen.EffectButtonWidget

All Implemented Interfaces:
class_6379, class_6383, Drawable, Element, BeaconScreen.class_6392
Direct Known Subclasses:
BeaconScreen.class_6393
Enclosing class:
BeaconScreen

@Environment(CLIENT) private class BeaconScreen.EffectButtonWidget extends BeaconScreen.BaseButtonWidget
Mappings:
Namespace Name
official eaz$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 Leaz$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
    • field_33833

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

      private StatusEffect effect
      Mappings:
      Namespace Name Mixin selector
      official d Leaz$d;d:Lash;
      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 Leaz$d;e:Lexe;
      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;
    • tooltip

      private Text tooltip
      Mappings:
      Namespace Name Mixin selector
      official r Leaz$d;r:Lon;
      intermediary field_26562 Lnet/minecraft/class_466$class_469;field_26562:Lnet/minecraft/class_2561;
      named tooltip Lnet/minecraft/client/gui/screen/ingame/BeaconScreen$EffectButtonWidget;tooltip:Lnet/minecraft/text/Text;
  • Constructor Details

    • EffectButtonWidget

      public EffectButtonWidget(int x, int y, StatusEffect statusEffect, boolean primary, int int2)
      Mappings:
      Namespace Name Mixin selector
      official <init> Leaz$d;<init>(Leaz;IILash;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

    • method_37081

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

      protected MutableText method_37082(StatusEffect statusEffect)
      Mappings:
      Namespace Name Mixin selector
      official b Leaz$d;b(Lash;)Lot;
      intermediary method_37082 Lnet/minecraft/class_466$class_469;method_37082(Lnet/minecraft/class_1291;)Lnet/minecraft/class_5250;
      named method_37082 Lnet/minecraft/client/gui/screen/ingame/BeaconScreen$EffectButtonWidget;method_37082(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 Ldwd;c()V
      intermediary method_25306 Lnet/minecraft/class_4264;method_25306()V
      named onPress Lnet/minecraft/client/gui/widget/PressableWidget;onPress()V
    • renderToolTip

      public void renderToolTip(MatrixStack matrices, int mouseX, int mouseY)
      Specified by:
      renderToolTip in interface BeaconScreen.class_6392
      Overrides:
      renderToolTip in class ClickableWidget
      Mappings:
      Namespace Name Mixin selector
      official a Ldwh;a(Ldpu;II)V
      intermediary method_25352 Lnet/minecraft/class_339;method_25352(Lnet/minecraft/class_4587;II)V
      named renderToolTip Lnet/minecraft/client/gui/widget/ClickableWidget;renderToolTip(Lnet/minecraft/client/util/math/MatrixStack;II)V
    • renderExtra

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

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

      protected MutableText getNarrationMessage()
      Overrides:
      getNarrationMessage in class ClickableWidget
      Mappings:
      Namespace Name Mixin selector
      official aj_ Ldwh;aj_()Lot;
      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;