Class LockButtonWidget

All Implemented Interfaces:
Drawable, Element, Narratable, Navigable, Selectable, Widget

@Environment(CLIENT) public class LockButtonWidget extends ButtonWidget
Mappings:
Namespace Name
official etg
intermediary net/minecraft/class_347
named net/minecraft/client/gui/widget/LockButtonWidget
  • Field Details

    • locked

      private boolean locked
      Mappings:
      Namespace Name Mixin selector
      official a Letg;a:Z
      intermediary field_2131 Lnet/minecraft/class_347;field_2131:Z
      named locked Lnet/minecraft/client/gui/widget/LockButtonWidget;locked:Z
  • Constructor Details

    • LockButtonWidget

      public LockButtonWidget(int x, int y, ButtonWidget.PressAction action)
      Mappings:
      Namespace Name Mixin selector
      official <init> Letg;<init>(IILesq$c;)V
      intermediary <init> Lnet/minecraft/class_347;<init>(IILnet/minecraft/class_4185$class_4241;)V
      named <init> Lnet/minecraft/client/gui/widget/LockButtonWidget;<init>(IILnet/minecraft/client/gui/widget/ButtonWidget$PressAction;)V
  • Method Details

    • getNarrationMessage

      protected MutableText getNarrationMessage()
      Overrides:
      getNarrationMessage in class ButtonWidget
      Mappings:
      Namespace Name Mixin selector
      official aE_ Leso;aE_()Lty;
      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;
    • isLocked

      public boolean isLocked()
      Mappings:
      Namespace Name Mixin selector
      official a Letg;a()Z
      intermediary method_1896 Lnet/minecraft/class_347;method_1896()Z
      named isLocked Lnet/minecraft/client/gui/widget/LockButtonWidget;isLocked()Z
    • setLocked

      public void setLocked(boolean locked)
      Mappings:
      Namespace Name Mixin selector
      official b Letg;b(Z)V
      intermediary method_1895 Lnet/minecraft/class_347;method_1895(Z)V
      named setLocked Lnet/minecraft/client/gui/widget/LockButtonWidget;setLocked(Z)V
    • renderButton

      public void renderButton(DrawContext context, int mouseX, int mouseY, float delta)
      Overrides:
      renderButton in class PressableWidget
      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