Package net.minecraft.client.gui.widget
Class LockButtonWidget
java.lang.Object
net.minecraft.client.gui.DrawableHelper
net.minecraft.client.gui.widget.ButtonWidget
net.minecraft.client.gui.widget.LockButtonWidget
- All Implemented Interfaces:
class_4122
- Mappings:
Namespace Name official chfintermediary net/minecraft/class_2298named net/minecraft/client/gui/widget/LockButtonWidget
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from class net.minecraft.client.gui.widget.ButtonWidget
active, height, hovered, id, message, visible, WIDGETS_LOCATION, width, x, yFields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE, zOffset -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisLocked()voidmethod_891(int int2, int int3, float float2) voidsetLocked(boolean locked) Methods inherited from class net.minecraft.client.gui.widget.ButtonWidget
getWidth, getYImage, isHovered, method_18374, method_18375, method_18376, method_18377, mouseClicked, mouseDragged, mouseReleased, playDownSound, renderBg, renderToolTip, setWidthMethods inherited from class net.minecraft.client.gui.DrawableHelper
drawCenteredString, drawHorizontalLine, drawSprite, drawTexture, drawTexture, drawTexture, drawTexture, drawVerticalLine, drawWithShadow, fill, fillGradientMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.class_4122
charTyped, keyPressed, keyReleased, method_18427, method_18428, mouseScrolled
-
Field Details
-
locked
private boolean locked- Mappings:
Namespace Name Mixin selector official oLchf;o:Zintermediary field_10370Lnet/minecraft/class_2298;field_10370:Znamed lockedLnet/minecraft/client/gui/widget/LockButtonWidget;locked:Z
-
-
Constructor Details
-
LockButtonWidget
public LockButtonWidget(int id, int x, int y) - Mappings:
Namespace Name Mixin selector official <init>Lchf;<init>(III)Vintermediary <init>Lnet/minecraft/class_2298;<init>(III)Vnamed <init>Lnet/minecraft/client/gui/widget/LockButtonWidget;<init>(III)V
-
-
Method Details
-
isLocked
public boolean isLocked()- Mappings:
Namespace Name Mixin selector official cLchf;c()Zintermediary method_9470Lnet/minecraft/class_2298;method_9470()Znamed isLockedLnet/minecraft/client/gui/widget/LockButtonWidget;isLocked()Z
-
setLocked
public void setLocked(boolean locked) - Mappings:
Namespace Name Mixin selector official cLchf;c(Z)Vintermediary method_9469Lnet/minecraft/class_2298;method_9469(Z)Vnamed setLockedLnet/minecraft/client/gui/widget/LockButtonWidget;setLocked(Z)V
-
method_891
public void method_891(int int2, int int3, float float2) - Overrides:
method_891in classButtonWidget- Mappings:
Namespace Name Mixin selector official aLcgu;a(IIF)Vintermediary method_891Lnet/minecraft/class_356;method_891(IIF)Vnamed method_891Lnet/minecraft/client/gui/widget/ButtonWidget;method_891(IIF)V
-