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 dvj$dintermediary net/minecraft/class_466$class_470named net/minecraft/client/gui/screen/ingame/BeaconScreen$BaseButtonWidget
-
Field Summary
Fields Modifier and Type Field Description private booleandisabledFields inherited from class net.minecraft.client.gui.widget.AbstractButtonWidget
active, alpha, height, hovered, nextNarration, visible, WIDGETS_LOCATION, width, x, yFields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE -
Constructor Summary
Constructors Modifier Constructor Description protectedBaseButtonWidget(int x, int y) -
Method Summary
Modifier and Type Method Description booleanisDisabled()voidrenderButton(MatrixStack matrices, int mouseX, int mouseY, float delta)protected abstract voidrenderExtra(MatrixStack matrixStack)voidsetDisabled(boolean disabled)Methods inherited from class net.minecraft.client.gui.widget.AbstractPressableButtonWidget
keyPressed, onClick, onPressMethods inherited from class net.minecraft.client.gui.widget.AbstractButtonWidget
changeFocus, clicked, getHeight, getMessage, getNarrationMessage, getWidth, getYImage, isFocused, isHovered, isMouseOver, isValidClickButton, method_32602, mouseClicked, mouseDragged, mouseReleased, narrate, onDrag, onFocusedChanged, onRelease, playDownSound, queueNarration, render, renderBg, renderToolTip, setAlpha, setFocused, setMessage, setWidthMethods 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, setZOffsetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.Element
charTyped, keyReleased, mouseMoved, mouseScrolled
-
Field Details
-
disabled
private boolean disabled- Mappings:
Namespace Name Mixin selector official aLdvj$d;a:Zintermediary field_2815Lnet/minecraft/class_466$class_470;field_2815:Znamed disabledLnet/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>Ldvj$d;<init>(II)Vintermediary <init>Lnet/minecraft/class_466$class_470;<init>(II)Vnamed <init>Lnet/minecraft/client/gui/screen/ingame/BeaconScreen$BaseButtonWidget;<init>(II)V
-
-
Method Details
-
renderButton
- Overrides:
renderButtonin classAbstractButtonWidget- Mappings:
Namespace Name Mixin selector official bLdqy;b(Ldkx;IIF)Vintermediary method_25359Lnet/minecraft/class_339;method_25359(Lnet/minecraft/class_4587;IIF)Vnamed renderButtonLnet/minecraft/client/gui/widget/AbstractButtonWidget;renderButton(Lnet/minecraft/client/util/math/MatrixStack;IIF)V
-
renderExtra
- Mappings:
Namespace Name Mixin selector official aLdvj$d;a(Ldkx;)Vintermediary method_18641Lnet/minecraft/class_466$class_470;method_18641(Lnet/minecraft/class_4587;)Vnamed renderExtraLnet/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 aLdvj$d;a()Zintermediary method_2402Lnet/minecraft/class_466$class_470;method_2402()Znamed isDisabledLnet/minecraft/client/gui/screen/ingame/BeaconScreen$BaseButtonWidget;isDisabled()Z
-
setDisabled
public void setDisabled(boolean disabled)- Mappings:
Namespace Name Mixin selector official eLdvj$d;e(Z)Vintermediary method_2401Lnet/minecraft/class_466$class_470;method_2401(Z)Vnamed setDisabledLnet/minecraft/client/gui/screen/ingame/BeaconScreen$BaseButtonWidget;setDisabled(Z)V
-