Class LockIconButton
java.lang.Object
net.minecraft.client.gui.GuiComponent
net.minecraft.client.gui.components.AbstractWidget
net.minecraft.client.gui.components.AbstractButton
net.minecraft.client.gui.components.Button
net.minecraft.client.gui.components.LockIconButton
- All Implemented Interfaces:
GuiEventListener,Widget,NarratableEntry,NarrationSupplier
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class net.minecraft.client.gui.components.Button
Button.OnPress, Button.OnTooltipNested classes/interfaces inherited from interface net.minecraft.client.gui.narration.NarratableEntry
NarratableEntry.NarrationPriority -
Field Summary
FieldsFields inherited from class net.minecraft.client.gui.components.Button
NO_TOOLTIP, onPress, onTooltipFields inherited from class net.minecraft.client.gui.components.AbstractWidget
active, alpha, height, isHovered, packedFGColor, UNSET_FG_COLOR, visible, WIDGETS_LOCATION, width, x, yFields inherited from class net.minecraft.client.gui.GuiComponent
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected MutableComponentbooleanisLocked()voidrenderButton(PoseStack p_94304_, int p_94305_, int p_94306_, float p_94307_)voidsetLocked(boolean p_94310_)Methods inherited from class net.minecraft.client.gui.components.Button
onPress, renderToolTip, updateNarrationMethods inherited from class net.minecraft.client.gui.components.AbstractButton
keyPressed, onClickMethods inherited from class net.minecraft.client.gui.components.AbstractWidget
changeFocus, clearFGColor, clicked, defaultButtonNarrationText, getFGColor, getHeight, getMessage, getWidth, getYImage, isActive, isFocused, isHovered, isMouseOver, isValidClickButton, mouseClicked, mouseDragged, mouseReleased, narrationPriority, onDrag, onFocusedChanged, onRelease, playDownSound, render, renderBg, setAlpha, setFGColor, setFocused, setHeight, setMessage, setWidth, wrapDefaultNarrationMessageMethods inherited from class net.minecraft.client.gui.GuiComponent
blit, blit, blit, blit, blit, blitOutlineBlack, drawCenteredString, drawCenteredString, drawCenteredString, drawString, drawString, drawString, fill, fillGradient, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLineMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
charTyped, keyReleased, mouseMoved, mouseScrolled
-
Field Details
-
locked
private boolean locked
-
-
Constructor Details
-
LockIconButton
-
-
Method Details
-
createNarrationMessage
- Overrides:
createNarrationMessagein classAbstractWidget
-
isLocked
public boolean isLocked() -
setLocked
public void setLocked(boolean p_94310_) -
renderButton
- Overrides:
renderButtonin classButton
-