Class BeaconScreen.BaseButtonWidget
java.lang.Object
net.minecraft.client.gui.DrawableHelper
net.minecraft.client.gui.widget.ClickableWidget
net.minecraft.client.gui.widget.PressableWidget
net.minecraft.client.gui.screen.ingame.BeaconScreen.BaseButtonWidget
- All Implemented Interfaces:
Drawable
,Element
,Narratable
,BeaconScreen.BeaconButtonWidget
,Selectable
- Direct Known Subclasses:
BeaconScreen.EffectButtonWidget
,BeaconScreen.IconButtonWidget
- Enclosing class:
BeaconScreen
@Environment(CLIENT)
private abstract static class BeaconScreen.BaseButtonWidget
extends PressableWidget
implements BeaconScreen.BeaconButtonWidget
- Mappings:
Namespace Name official elk$e
intermediary net/minecraft/class_466$class_470
named net/minecraft/client/gui/screen/ingame/BeaconScreen$BaseButtonWidget
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.gui.Selectable
Selectable.SelectionType
-
Field Summary
Fields inherited from class net.minecraft.client.gui.widget.ClickableWidget
active, alpha, height, hovered, visible, WIDGETS_TEXTURE, width, x, y
Fields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
ModifierConstructorDescriptionprotected
BaseButtonWidget
(int x, int y) protected
BaseButtonWidget
(int x, int y, Text message) -
Method Summary
Modifier and TypeMethodDescriptionvoid
appendNarrations
(NarrationMessageBuilder builder) boolean
void
renderButton
(MatrixStack matrices, int mouseX, int mouseY, float delta) protected abstract void
renderExtra
(MatrixStack matrices) void
setDisabled
(boolean disabled) boolean
Methods inherited from class net.minecraft.client.gui.widget.PressableWidget
keyPressed, onClick, onPress
Methods inherited from class net.minecraft.client.gui.widget.ClickableWidget
appendDefaultNarrations, changeFocus, clicked, getHeight, getMessage, getNarrationMessage, getNarrationMessage, getType, getWidth, getYImage, isFocused, isHovered, isMouseOver, isNarratable, isValidClickButton, mouseClicked, mouseDragged, mouseReleased, onDrag, onFocusedChanged, onRelease, playDownSound, render, renderBackground, renderTooltip, setAlpha, setFocused, setMessage, setWidth
Methods inherited from class net.minecraft.client.gui.DrawableHelper
drawCenteredText, drawCenteredText, drawCenteredTextWithShadow, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, drawWithOutline, drawWithShadow, fill, fillGradient, fillGradient, fillGradient, getZOffset, setZOffset
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.screen.ingame.BeaconScreen.BeaconButtonWidget
renderTooltip, tick
Methods inherited from interface net.minecraft.client.gui.Element
charTyped, keyReleased, mouseMoved, mouseScrolled
-
Field Details
-
disabled
private boolean disabled- Mappings:
Namespace Name Mixin selector official a
Lelk$e;a:Z
intermediary field_2815
Lnet/minecraft/class_466$class_470;field_2815:Z
named disabled
Lnet/minecraft/client/gui/screen/ingame/BeaconScreen$BaseButtonWidget;disabled:Z
-
-
Constructor Details
-
BaseButtonWidget
protected BaseButtonWidget(int x, int y) - Mappings:
Namespace Name Mixin selector official <init>
Lelk$e;<init>(II)V
intermediary <init>
Lnet/minecraft/class_466$class_470;<init>(II)V
named <init>
Lnet/minecraft/client/gui/screen/ingame/BeaconScreen$BaseButtonWidget;<init>(II)V
-
BaseButtonWidget
- Mappings:
Namespace Name Mixin selector official <init>
Lelk$e;<init>(IILrm;)V
intermediary <init>
Lnet/minecraft/class_466$class_470;<init>(IILnet/minecraft/class_2561;)V
named <init>
Lnet/minecraft/client/gui/screen/ingame/BeaconScreen$BaseButtonWidget;<init>(IILnet/minecraft/text/Text;)V
-
-
Method Details
-
renderButton
- Overrides:
renderButton
in classClickableWidget
- Mappings:
Namespace Name Mixin selector official b
Legq;b(Ldzt;IIF)V
intermediary method_25359
Lnet/minecraft/class_339;method_25359(Lnet/minecraft/class_4587;IIF)V
named renderButton
Lnet/minecraft/client/gui/widget/ClickableWidget;renderButton(Lnet/minecraft/client/util/math/MatrixStack;IIF)V
-
renderExtra
- Mappings:
Namespace Name Mixin selector official a
Lelk$e;a(Ldzt;)V
intermediary method_18641
Lnet/minecraft/class_466$class_470;method_18641(Lnet/minecraft/class_4587;)V
named renderExtra
Lnet/minecraft/client/gui/screen/ingame/BeaconScreen$BaseButtonWidget;renderExtra(Lnet/minecraft/client/util/math/MatrixStack;)V
-
isDisabled
public boolean isDisabled()- Mappings:
Namespace Name Mixin selector official b
Lelk$e;b()Z
intermediary method_2402
Lnet/minecraft/class_466$class_470;method_2402()Z
named isDisabled
Lnet/minecraft/client/gui/screen/ingame/BeaconScreen$BaseButtonWidget;isDisabled()Z
-
setDisabled
public void setDisabled(boolean disabled) - Mappings:
Namespace Name Mixin selector official e
Lelk$e;e(Z)V
intermediary method_2401
Lnet/minecraft/class_466$class_470;method_2401(Z)V
named setDisabled
Lnet/minecraft/client/gui/screen/ingame/BeaconScreen$BaseButtonWidget;setDisabled(Z)V
-
shouldRenderTooltip
public boolean shouldRenderTooltip()- Specified by:
shouldRenderTooltip
in interfaceBeaconScreen.BeaconButtonWidget
- Mappings:
Namespace Name Mixin selector official a
Lelk$a;a()Z
intermediary method_37079
Lnet/minecraft/class_466$class_6392;method_37079()Z
named shouldRenderTooltip
Lnet/minecraft/client/gui/screen/ingame/BeaconScreen$BeaconButtonWidget;shouldRenderTooltip()Z
-
appendNarrations
- Specified by:
appendNarrations
in interfaceNarratable
- Mappings:
Namespace Name Mixin selector official a
Leiv;a(Leiu;)V
intermediary method_37020
Lnet/minecraft/class_6383;method_37020(Lnet/minecraft/class_6382;)V
named appendNarrations
Lnet/minecraft/client/gui/Narratable;appendNarrations(Lnet/minecraft/client/gui/screen/narration/NarrationMessageBuilder;)V
-