Class BeaconScreen.BeaconSpriteScreenButton
java.lang.Object
net.minecraft.client.gui.GuiComponent
net.minecraft.client.gui.components.AbstractWidget
net.minecraft.client.gui.components.AbstractButton
net.minecraft.client.gui.screens.inventory.BeaconScreen.BeaconScreenButton
net.minecraft.client.gui.screens.inventory.BeaconScreen.BeaconSpriteScreenButton
- All Implemented Interfaces:
GuiEventListener
,Widget
,NarratableEntry
,NarrationSupplier
,BeaconScreen.BeaconButton
- Direct Known Subclasses:
BeaconScreen.BeaconCancelButton
,BeaconScreen.BeaconConfirmButton
- Enclosing class:
- BeaconScreen
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.gui.narration.NarratableEntry
NarratableEntry.NarrationPriority
-
Field Summary
Fields inherited from class net.minecraft.client.gui.components.AbstractWidget
active, alpha, height, isHovered, packedFGColor, UNSET_FG_COLOR, visible, WIDGETS_LOCATION, width, x, y
Fields inherited from class net.minecraft.client.gui.GuiComponent
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
Fields inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS
-
Constructor Summary
ModifierConstructorDescriptionprotected
BeaconSpriteScreenButton
(int p_169663_, int p_169664_, int p_169665_, int p_169666_, Component p_169667_) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
renderIcon
(PoseStack p_98041_) void
renderToolTip
(PoseStack p_169669_, int p_169670_, int p_169671_) Methods inherited from class net.minecraft.client.gui.screens.inventory.BeaconScreen.BeaconScreenButton
isSelected, isShowingTooltip, renderButton, setSelected, updateNarration
Methods inherited from class net.minecraft.client.gui.components.AbstractButton
keyPressed, onClick, onPress
Methods inherited from class net.minecraft.client.gui.components.AbstractWidget
changeFocus, clearFGColor, clicked, createNarrationMessage, defaultButtonNarrationText, getFGColor, getHeight, getMessage, getWidth, getYImage, isActive, isFocused, isHoveredOrFocused, isMouseOver, isValidClickButton, mouseClicked, mouseDragged, mouseReleased, narrationPriority, onDrag, onFocusedChanged, onRelease, playDownSound, render, renderBg, setAlpha, setFGColor, setFocused, setHeight, setMessage, setWidth, wrapDefaultNarrationMessage
Methods inherited from class net.minecraft.client.gui.GuiComponent
blit, blit, blit, blit, blit, blitOutlineBlack, disableScissor, drawCenteredString, drawCenteredString, drawCenteredString, drawString, drawString, drawString, enableScissor, fill, fillGradient, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLine
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.gui.screens.inventory.BeaconScreen.BeaconButton
updateStatus
Methods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
charTyped, keyReleased, mouseMoved, mouseScrolled
-
Field Details
-
iconX
private final int iconX -
iconY
private final int iconY
-
-
Constructor Details
-
BeaconSpriteScreenButton
protected BeaconSpriteScreenButton(int p_169663_, int p_169664_, int p_169665_, int p_169666_, Component p_169667_)
-
-
Method Details
-
renderIcon
- Specified by:
renderIcon
in classBeaconScreen.BeaconScreenButton
-
renderToolTip
- Specified by:
renderToolTip
in interfaceBeaconScreen.BeaconButton
- Overrides:
renderToolTip
in classAbstractWidget
-