Package net.minecraft.client.gui.widget
Class LockButtonWidget
java.lang.Object
net.minecraft.client.gui.widget.ClickableWidget
net.minecraft.client.gui.widget.ClickableWidget.class_12230
net.minecraft.client.gui.widget.PressableWidget
net.minecraft.client.gui.widget.ButtonWidget
net.minecraft.client.gui.widget.LockButtonWidget
- All Implemented Interfaces:
Drawable,Element,Narratable,Navigable,Selectable,Widget
- Mappings:
Namespace Name named net/minecraft/client/gui/widget/LockButtonWidgetintermediary net/minecraft/class_347official ghh
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class net.minecraft.client.gui.widget.ButtonWidget
ButtonWidget.Builder, ButtonWidget.class_12231, ButtonWidget.NarrationSupplier, ButtonWidget.PressActionNested classes/interfaces inherited from class net.minecraft.client.gui.widget.ClickableWidget
ClickableWidget.class_12230Nested classes/interfaces inherited from interface net.minecraft.client.gui.Selectable
Selectable.SelectionType -
Field Summary
FieldsFields inherited from class net.minecraft.client.gui.widget.ButtonWidget
DEFAULT_HEIGHT, DEFAULT_NARRATION_SUPPLIER, DEFAULT_WIDTH, DEFAULT_WIDTH_SMALL, field_46856, field_49479, narrationSupplier, onPressFields inherited from class net.minecraft.client.gui.widget.PressableWidget
field_43050 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected MutableTextbooleanisLocked()voidmethod_75752(DrawContext drawContext, int int2, int int3, float float2) voidsetLocked(boolean locked) Methods inherited from class net.minecraft.client.gui.widget.ButtonWidget
appendClickableNarrations, builder, onPressMethods inherited from class net.minecraft.client.gui.widget.PressableWidget
keyPressed, method_75793, method_75794, onClick, renderWidgetMethods inherited from class net.minecraft.client.gui.widget.ClickableWidget.class_12230
getMessage, method_75800, setMessageMethods inherited from class net.minecraft.client.gui.widget.ClickableWidget
appendDefaultNarrations, appendNarrations, forEachChild, getBottom, getHeight, getNarrationMessage, getNavigationFocus, getNavigationOrder, getNavigationPath, getRight, getType, getWidth, getX, getY, isFocused, isHovered, isInteractable, isMouseOver, isSelected, isValidClickButton, method_75798, method_75799, mouseClicked, mouseDragged, mouseReleased, onDrag, onRelease, playClickSound, playDownSound, render, setAlpha, setDimensions, setDimensionsAndPosition, setFocused, setHeight, setNavigationOrder, setTooltip, setTooltipDelay, setWidth, setX, setYMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.Element
charTyped, getBorder, getFocusedPath, isClickable, keyReleased, mouseMoved, mouseScrolledMethods inherited from interface net.minecraft.client.gui.Selectable
getNarratedPartsMethods inherited from interface net.minecraft.client.gui.widget.Widget
setPosition
-
Field Details
-
locked
private boolean locked- Mappings:
Namespace Name Mixin selector named lockedLnet/minecraft/client/gui/widget/LockButtonWidget;locked:Zintermediary field_2131Lnet/minecraft/class_347;field_2131:Zofficial aLghh;a:Z
-
-
Constructor Details
-
LockButtonWidget
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/gui/widget/LockButtonWidget;<init>(IILnet/minecraft/client/gui/widget/ButtonWidget$PressAction;)Vintermediary <init>Lnet/minecraft/class_347;<init>(IILnet/minecraft/class_4185$class_4241;)Vofficial <init>Lghh;<init>(IILggq$c;)V
-
-
Method Details
-
getNarrationMessage
- Overrides:
getNarrationMessagein classButtonWidget- Mappings:
Namespace Name Mixin selector named getNarrationMessageLnet/minecraft/client/gui/widget/ClickableWidget;getNarrationMessage()Lnet/minecraft/text/MutableText;intermediary method_25360Lnet/minecraft/class_339;method_25360()Lnet/minecraft/class_5250;official fLggo;f()Lzb;
-
isLocked
public boolean isLocked()- Mappings:
Namespace Name Mixin selector named isLockedLnet/minecraft/client/gui/widget/LockButtonWidget;isLocked()Zintermediary method_1896Lnet/minecraft/class_347;method_1896()Zofficial aLghh;a()Z
-
setLocked
public void setLocked(boolean locked) - Mappings:
Namespace Name Mixin selector named setLockedLnet/minecraft/client/gui/widget/LockButtonWidget;setLocked(Z)Vintermediary method_1895Lnet/minecraft/class_347;method_1895(Z)Vofficial aLghh;a(Z)V
-
method_75752
- Specified by:
method_75752in classPressableWidget- Mappings:
Namespace Name Mixin selector named method_75752Lnet/minecraft/client/gui/widget/PressableWidget;method_75752(Lnet/minecraft/client/gui/DrawContext;IIF)Vintermediary method_75752Lnet/minecraft/class_4264;method_75752(Lnet/minecraft/class_332;IIF)Vofficial bLggg;b(Lggd;IIF)V
-