Class LockButtonWidget

All Implemented Interfaces:
Drawable, Element, Narratable, Selectable

@Environment(CLIENT) public class LockButtonWidget extends ButtonWidget
Mappings:
Namespace Name
official ehd
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 Lehd;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> Lehd;<init>(IILegs$a;)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 ClickableWidget
      Mappings:
      Namespace Name Mixin selector
      official ak_ Legq;ak_()Lrt;
      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 Lehd;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 e Lehd;e(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 ButtonWidget
      Mappings:
      Namespace Name Mixin selector
      official b Legq;b(Ldzt;IIF)V
      intermediary method_25359 Lnet/minecraft/class_339;method_25359(Lnet/minecraft/class_4587;IIF)V
      named renderButton Lnet/minecraft/client/gui/widget/ClickableWidget;renderButton(Lnet/minecraft/client/util/math/MatrixStack;IIF)V