Class LockButtonWidget

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

@Environment(CLIENT) public class LockButtonWidget extends ButtonWidget
Mappings:
Namespace Name
official epw
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 Lepw;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> Lepw;<init>(IILepi$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_ Lepf;aE_()Ltj;
      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 Lepw;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 Lepw;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 Lepf;b(Leox;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