Package net.minecraft.client.gui.widget
Class LockButtonWidget
java.lang.Object
net.minecraft.client.gui.DrawableHelper
net.minecraft.client.gui.widget.ClickableWidget
net.minecraft.client.gui.widget.PressableWidget
net.minecraft.client.gui.widget.ButtonWidget
net.minecraft.client.gui.widget.LockButtonWidget
- All Implemented Interfaces:
class_8083,Drawable,Element,Narratable,Selectable,Widget
- Mappings:
Namespace Name official emuintermediary net/minecraft/class_347named net/minecraft/client/gui/widget/LockButtonWidget
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class net.minecraft.client.gui.widget.ButtonWidget
ButtonWidget.Builder, ButtonWidget.NarrationSupplier, ButtonWidget.PressActionNested 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, narrationSupplier, onPressFields inherited from class net.minecraft.client.gui.widget.ClickableWidget
active, alpha, field_41797, field_42117, field_42118, field_42119, field_42120, height, hovered, visible, WIDGETS_TEXTURE, widthFields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTUREFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected MutableTextbooleanisLocked()voidmethod_48579(MatrixStack matrixStack, 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, onClickMethods inherited from class net.minecraft.client.gui.widget.ClickableWidget
appendDefaultNarrations, appendNarrations, clicked, forEachChild, getHeight, getMessage, getNarrationMessage, getNavigationFocus, getNavigationPath, getTexture, getTooltipPositioner, getType, getWidth, getX, getY, getYImage, isFocused, isHovered, isMouseOver, isNarratable, isValidClickButton, method_48588, method_48589, method_48590, method_48591, mouseClicked, mouseDragged, mouseReleased, onDrag, onRelease, playDownSound, render, renderBackground, renderButton, setAlpha, setFocused, setMessage, setTooltip, setTooltipDelay, setWidth, setX, setYMethods inherited from class net.minecraft.client.gui.DrawableHelper
disableScissor, drawCenteredText, drawCenteredText, drawCenteredTextWithShadow, drawHorizontalLine, drawSprite, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, drawWithOutline, drawWithShadow, enableScissor, fill, fill, fillGradient, fillGradient, fillGradient, getZOffset, method_48585, method_48586, method_48587, setZOffsetMethods 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, getFocusedPath, keyReleased, mouseMoved, mouseScrolledMethods inherited from interface net.minecraft.client.gui.widget.Widget
setPosition
-
Field Details
-
locked
private boolean locked- Mappings:
Namespace Name Mixin selector official aLemu;a:Zintermediary field_2131Lnet/minecraft/class_347;field_2131:Znamed lockedLnet/minecraft/client/gui/widget/LockButtonWidget;locked:Z
-
-
Constructor Details
-
LockButtonWidget
- Mappings:
Namespace Name Mixin selector official <init>Lemu;<init>(IILemi$c;)Vintermediary <init>Lnet/minecraft/class_347;<init>(IILnet/minecraft/class_4185$class_4241;)Vnamed <init>Lnet/minecraft/client/gui/widget/LockButtonWidget;<init>(IILnet/minecraft/client/gui/widget/ButtonWidget$PressAction;)V
-
-
Method Details
-
getNarrationMessage
- Overrides:
getNarrationMessagein classButtonWidget- Mappings:
Namespace Name Mixin selector official ax_Lemf;ax_()Ltn;intermediary method_25360Lnet/minecraft/class_339;method_25360()Lnet/minecraft/class_5250;named getNarrationMessageLnet/minecraft/client/gui/widget/ClickableWidget;getNarrationMessage()Lnet/minecraft/text/MutableText;
-
isLocked
public boolean isLocked()- Mappings:
Namespace Name Mixin selector official aLemu;a()Zintermediary method_1896Lnet/minecraft/class_347;method_1896()Znamed isLockedLnet/minecraft/client/gui/widget/LockButtonWidget;isLocked()Z
-
setLocked
public void setLocked(boolean locked) - Mappings:
Namespace Name Mixin selector official bLemu;b(Z)Vintermediary method_1895Lnet/minecraft/class_347;method_1895(Z)Vnamed setLockedLnet/minecraft/client/gui/widget/LockButtonWidget;setLocked(Z)V
-
method_48579
- Overrides:
method_48579in classClickableWidget- Mappings:
Namespace Name Mixin selector official bLemf;b(Lefn;IIF)Vintermediary method_48579Lnet/minecraft/class_339;method_48579(Lnet/minecraft/class_4587;IIF)Vnamed method_48579Lnet/minecraft/client/gui/widget/ClickableWidget;method_48579(Lnet/minecraft/client/util/math/MatrixStack;IIF)V
-