Class BeaconScreen.BaseButtonWidget
java.lang.Object
net.minecraft.client.gui.DrawableHelper
net.minecraft.client.gui.widget.AbstractButtonWidget
net.minecraft.client.gui.widget.AbstractPressableButtonWidget
net.minecraft.client.gui.screen.ingame.BeaconScreen.BaseButtonWidget
- Direct Known Subclasses:
BeaconScreen.EffectButtonWidget
,BeaconScreen.IconButtonWidget
- Enclosing class:
- BeaconScreen
@Environment(CLIENT) abstract static class BeaconScreen.BaseButtonWidget extends AbstractPressableButtonWidget
- Mappings:
Namespace Name official dwd$d
intermediary net/minecraft/class_466$class_470
named net/minecraft/client/gui/screen/ingame/BeaconScreen$BaseButtonWidget
-
Field Summary
Fields Modifier and Type Field Description private boolean
disabled
Fields inherited from class net.minecraft.client.gui.widget.AbstractButtonWidget
active, alpha, height, hovered, nextNarration, visible, WIDGETS_LOCATION, width, x, y
Fields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE
-
Constructor Summary
Constructors Modifier Constructor Description protected
BaseButtonWidget(int x, int y)
-
Method Summary
Modifier and Type Method Description boolean
isDisabled()
void
renderButton(MatrixStack matrices, int mouseX, int mouseY, float delta)
protected abstract void
renderExtra(MatrixStack matrices)
void
setDisabled(boolean disabled)
Methods inherited from class net.minecraft.client.gui.widget.AbstractPressableButtonWidget
keyPressed, onClick, onPress
Methods inherited from class net.minecraft.client.gui.widget.AbstractButtonWidget
changeFocus, clicked, getHeight, getMessage, getNarrationMessage, getNarrationMessage, getWidth, getYImage, isFocused, isHovered, isMouseOver, isValidClickButton, mouseClicked, mouseDragged, mouseReleased, narrate, onDrag, onFocusedChanged, onRelease, playDownSound, queueNarration, render, renderBg, renderToolTip, setAlpha, setFocused, setMessage, setWidth
Methods inherited from class net.minecraft.client.gui.DrawableHelper
drawCenteredString, drawCenteredText, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, fill, fillGradient, fillGradient, getZOffset, method_29343, method_33284, 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.Element
charTyped, keyReleased, mouseMoved, mouseScrolled
-
Field Details
-
disabled
private boolean disabled- Mappings:
Namespace Name Mixin selector official a
Ldwd$d;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>
Ldwd$d;<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
-
-
Method Details
-
renderButton
- Overrides:
renderButton
in classAbstractButtonWidget
- Mappings:
Namespace Name Mixin selector official b
Ldrs;b(Ldlr;IIF)V
intermediary method_25359
Lnet/minecraft/class_339;method_25359(Lnet/minecraft/class_4587;IIF)V
named renderButton
Lnet/minecraft/client/gui/widget/AbstractButtonWidget;renderButton(Lnet/minecraft/client/util/math/MatrixStack;IIF)V
-
renderExtra
- Mappings:
Namespace Name Mixin selector official a
Ldwd$d;a(Ldlr;)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 a
Ldwd$d;a()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
Ldwd$d;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
-