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.class_6392,Selectable
- Direct Known Subclasses:
BeaconScreen.EffectButtonWidget,BeaconScreen.IconButtonWidget
- Enclosing class:
- BeaconScreen
@Environment(CLIENT)
private abstract static class BeaconScreen.BaseButtonWidget
extends PressableWidget
implements BeaconScreen.class_6392
- Mappings:
Namespace Name official ebp$eintermediary net/minecraft/class_466$class_470named 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
FieldsFields inherited from class net.minecraft.client.gui.widget.ClickableWidget
active, alpha, height, hovered, visible, WIDGETS_TEXTURE, width, x, yFields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBaseButtonWidget(int x, int y)protectedBaseButtonWidget(int int2, int int3, Text text) -
Method Summary
Modifier and TypeMethodDescriptionvoidappendNarrations(NarrationMessageBuilder builder)booleanbooleanvoidrenderButton(MatrixStack matrices, int mouseX, int mouseY, float delta)protected abstract voidrenderExtra(MatrixStack matrices)voidsetDisabled(boolean disabled)Methods inherited from class net.minecraft.client.gui.widget.PressableWidget
keyPressed, onClick, onPressMethods inherited from class net.minecraft.client.gui.widget.ClickableWidget
changeFocus, clicked, getHeight, getMessage, getNarrationMessage, getNarrationMessage, getType, getWidth, getYImage, isFocused, isHovered, isMouseOver, isValidClickButton, method_37021, method_37303, mouseClicked, mouseDragged, mouseReleased, onDrag, onFocusedChanged, onRelease, playDownSound, render, renderBackground, renderToolTip, setAlpha, setFocused, setMessage, setWidthMethods 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, 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.screen.ingame.BeaconScreen.class_6392
method_37080, renderToolTipMethods inherited from interface net.minecraft.client.gui.Element
charTyped, keyReleased, mouseMoved, mouseScrolled
-
Field Details
-
disabled
private boolean disabled- Mappings:
Namespace Name Mixin selector official aLebp$e;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>Lebp$e;<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
-
BaseButtonWidget
-
-
Method Details
-
renderButton
- Overrides:
renderButtonin classClickableWidget- Mappings:
Namespace Name Mixin selector official bLdwx;b(Ldqk;IIF)Vintermediary method_25359Lnet/minecraft/class_339;method_25359(Lnet/minecraft/class_4587;IIF)Vnamed renderButtonLnet/minecraft/client/gui/widget/ClickableWidget;renderButton(Lnet/minecraft/client/util/math/MatrixStack;IIF)V
-
renderExtra
- Mappings:
Namespace Name Mixin selector official aLebp$e;a(Ldqk;)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 bLebp$e;b()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 eLebp$e;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
-
method_37079
public boolean method_37079()- Specified by:
method_37079in interfaceBeaconScreen.class_6392- Mappings:
Namespace Name Mixin selector official aLebp$a;a()Zintermediary method_37079Lnet/minecraft/class_466$class_6392;method_37079()Znamed method_37079Lnet/minecraft/client/gui/screen/ingame/BeaconScreen$class_6392;method_37079()Z
-
appendNarrations
- Specified by:
appendNarrationsin interfaceNarratable- Mappings:
Namespace Name Mixin selector official aLdzd;a(Ldzc;)Vintermediary method_37020Lnet/minecraft/class_6383;method_37020(Lnet/minecraft/class_6382;)Vnamed appendNarrationsLnet/minecraft/client/gui/Narratable;appendNarrations(Lnet/minecraft/client/gui/screen/narration/NarrationMessageBuilder;)V
-