Class LockButtonWidget

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

@Environment(CLIENT) public class LockButtonWidget extends ButtonWidget
Mappings:
Namespace Name
official eop
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 Leop;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> Leop;<init>(IILeoc$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 aH_ Lenz;aH_()Ltw;
      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 Leop;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 Leop;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(MatrixStack matrices, int mouseX, int mouseY, float delta)
      Overrides:
      renderButton in class PressableWidget
      Mappings:
      Namespace Name Mixin selector
      official b Lenz;b(Lehe;IIF)V
      intermediary method_48579 Lnet/minecraft/class_339;method_48579(Lnet/minecraft/class_4587;IIF)V
      named renderButton Lnet/minecraft/client/gui/widget/ClickableWidget;renderButton(Lnet/minecraft/client/util/math/MatrixStack;IIF)V