Class BeaconScreen.BaseButtonWidget
java.lang.Object
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,Navigable,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 named net/minecraft/client/gui/screen/ingame/BeaconScreen$BaseButtonWidgetintermediary net/minecraft/class_466$class_470official gak$e
-
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.PressableWidget
field_43050Fields inherited from class net.minecraft.client.gui.widget.ClickableWidget
active, alpha, height, hovered, visible, widthFields 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 TypeMethodDescriptionvoidbooleanprotected abstract voidrenderExtra(DrawContext context) voidrenderWidget(DrawContext context, int mouseX, int mouseY, float deltaTicks) voidsetDisabled(boolean disabled) Methods inherited from class net.minecraft.client.gui.widget.PressableWidget
drawMessage, keyPressed, onClick, onPressMethods inherited from class net.minecraft.client.gui.widget.ClickableWidget
appendDefaultNarrations, appendNarrations, drawScrollableText, drawScrollableText, drawScrollableText, forEachChild, getBottom, getHeight, getMessage, getNarrationMessage, getNarrationMessage, getNavigationFocus, getNavigationOrder, getNavigationPath, getRight, getTooltip, getType, getWidth, getX, getY, isFocused, isHovered, isMouseOver, isNarratable, isSelected, isValidClickButton, mouseClicked, mouseDragged, mouseReleased, onDrag, onRelease, playClickSound, playDownSound, render, setAlpha, setDimensions, setDimensionsAndPosition, setFocused, setHeight, setMessage, setNavigationOrder, setTooltip, setTooltipDelay, setWidth, setX, setYMethods 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, getBorder, getFocusedPath, keyReleased, mouseMoved, mouseScrolledMethods inherited from interface net.minecraft.client.gui.Selectable
getNarratedPartsMethods inherited from interface net.minecraft.client.gui.widget.Widget
setPosition
-
Field Details
-
disabled
private boolean disabled- Mappings:
Namespace Name Mixin selector named disabledLnet/minecraft/client/gui/screen/ingame/BeaconScreen$BaseButtonWidget;disabled:Zintermediary field_2815Lnet/minecraft/class_466$class_470;field_2815:Zofficial aLgak$e;a:Z
-
-
Constructor Details
-
BaseButtonWidget
protected BaseButtonWidget(int x, int y) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/gui/screen/ingame/BeaconScreen$BaseButtonWidget;<init>(II)Vintermediary <init>Lnet/minecraft/class_466$class_470;<init>(II)Vofficial <init>Lgak$e;<init>(II)V
-
BaseButtonWidget
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/gui/screen/ingame/BeaconScreen$BaseButtonWidget;<init>(IILnet/minecraft/text/Text;)Vintermediary <init>Lnet/minecraft/class_466$class_470;<init>(IILnet/minecraft/class_2561;)Vofficial <init>Lgak$e;<init>(IILxg;)V
-
-
Method Details
-
renderWidget
- Overrides:
renderWidgetin classPressableWidget- Mappings:
Namespace Name Mixin selector named renderWidgetLnet/minecraft/client/gui/widget/ClickableWidget;renderWidget(Lnet/minecraft/client/gui/DrawContext;IIF)Vintermediary method_48579Lnet/minecraft/class_339;method_48579(Lnet/minecraft/class_332;IIF)Vofficial bLftw;b(Lftk;IIF)V
-
renderExtra
- Mappings:
Namespace Name Mixin selector named renderExtraLnet/minecraft/client/gui/screen/ingame/BeaconScreen$BaseButtonWidget;renderExtra(Lnet/minecraft/client/gui/DrawContext;)Vintermediary method_18641Lnet/minecraft/class_466$class_470;method_18641(Lnet/minecraft/class_332;)Vofficial aLgak$e;a(Lftk;)V
-
isDisabled
public boolean isDisabled()- Mappings:
Namespace Name Mixin selector named isDisabledLnet/minecraft/client/gui/screen/ingame/BeaconScreen$BaseButtonWidget;isDisabled()Zintermediary method_2402Lnet/minecraft/class_466$class_470;method_2402()Zofficial aLgak$e;a()Z
-
setDisabled
public void setDisabled(boolean disabled) - Mappings:
Namespace Name Mixin selector named setDisabledLnet/minecraft/client/gui/screen/ingame/BeaconScreen$BaseButtonWidget;setDisabled(Z)Vintermediary method_2401Lnet/minecraft/class_466$class_470;method_2401(Z)Vofficial bLgak$e;b(Z)V
-
appendClickableNarrations
- Specified by:
appendClickableNarrationsin classClickableWidget- Mappings:
Namespace Name Mixin selector named appendClickableNarrationsLnet/minecraft/client/gui/widget/ClickableWidget;appendClickableNarrations(Lnet/minecraft/client/gui/screen/narration/NarrationMessageBuilder;)Vintermediary method_47399Lnet/minecraft/class_339;method_47399(Lnet/minecraft/class_6382;)Vofficial aLftw;a(Lfxv;)V
-