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:
class_8083,Drawable,Element,Narratable,BeaconScreen.BeaconButtonWidget,Selectable,Widget
- 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 esg$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, field_41797, field_42117, field_42118, field_42119, field_42120, height, hovered, visible, WIDGETS_TEXTURE, widthFields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTUREFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBaseButtonWidget(int x, int y) protectedBaseButtonWidget(int x, int y, Text message) -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanvoidmethod_48579(MatrixStack matrixStack, int int2, int int3, float float2) 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
appendDefaultNarrations, appendNarrations, clicked, forEachChild, getHeight, getMessage, getNarrationMessage, getNarrationMessage, getNavigationFocus, getNavigationPath, getTexture, getTooltipPositioner, getType, getWidth, getX, getY, getYImage, isFocused, isHovered, isMouseOver, isNarratable, isValidClickButton, method_48588, method_48589, method_48590, method_48591, mouseClicked, mouseDragged, mouseReleased, onDrag, onRelease, playDownSound, render, renderBackground, renderButton, setAlpha, setFocused, setMessage, setTooltip, setTooltipDelay, setWidth, setX, setYMethods inherited from class net.minecraft.client.gui.DrawableHelper
disableScissor, drawCenteredText, drawCenteredText, drawCenteredTextWithShadow, drawHorizontalLine, drawSprite, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, drawWithOutline, drawWithShadow, enableScissor, fill, fill, fillGradient, fillGradient, fillGradient, getZOffset, method_48585, method_48586, method_48587, 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.BeaconButtonWidget
tickMethods inherited from interface net.minecraft.client.gui.Element
charTyped, getFocusedPath, keyReleased, mouseMoved, mouseScrolledMethods inherited from interface net.minecraft.client.gui.widget.Widget
setPosition
-
Field Details
-
disabled
private boolean disabled- Mappings:
Namespace Name Mixin selector official aLesg$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>Lesg$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
- Mappings:
Namespace Name Mixin selector official <init>Lesg$e;<init>(IILta;)Vintermediary <init>Lnet/minecraft/class_466$class_470;<init>(IILnet/minecraft/class_2561;)Vnamed <init>Lnet/minecraft/client/gui/screen/ingame/BeaconScreen$BaseButtonWidget;<init>(IILnet/minecraft/text/Text;)V
-
-
Method Details
-
method_48579
- Overrides:
method_48579in classClickableWidget- Mappings:
Namespace Name Mixin selector official bLemf;b(Lefn;IIF)Vintermediary method_48579Lnet/minecraft/class_339;method_48579(Lnet/minecraft/class_4587;IIF)Vnamed method_48579Lnet/minecraft/client/gui/widget/ClickableWidget;method_48579(Lnet/minecraft/client/util/math/MatrixStack;IIF)V
-
renderExtra
- Mappings:
Namespace Name Mixin selector official aLesg$e;a(Lefn;)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 aLesg$e;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 bLesg$e;b(Z)Vintermediary method_2401Lnet/minecraft/class_466$class_470;method_2401(Z)Vnamed setDisabledLnet/minecraft/client/gui/screen/ingame/BeaconScreen$BaseButtonWidget;setDisabled(Z)V
-
appendClickableNarrations
- Specified by:
appendClickableNarrationsin classClickableWidget- Mappings:
Namespace Name Mixin selector official aLemf;a(Lepg;)Vintermediary method_47399Lnet/minecraft/class_339;method_47399(Lnet/minecraft/class_6382;)Vnamed appendClickableNarrationsLnet/minecraft/client/gui/widget/ClickableWidget;appendClickableNarrations(Lnet/minecraft/client/gui/screen/narration/NarrationMessageBuilder;)V
-