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$BaseButtonWidget
intermediary net/minecraft/class_466$class_470
official fox$e
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.gui.Selectable
Selectable.SelectionType
-
Field Summary
Fields inherited from class net.minecraft.client.gui.widget.PressableWidget
field_43050
Fields inherited from class net.minecraft.client.gui.widget.ClickableWidget
active, alpha, height, hovered, visible, width
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
ModifierConstructorDescriptionprotected
BaseButtonWidget
(int x, int y) protected
BaseButtonWidget
(int x, int y, Text message) -
Method Summary
Modifier and TypeMethodDescriptionvoid
boolean
protected abstract void
renderExtra
(DrawContext context) void
renderWidget
(DrawContext context, int mouseX, int mouseY, float delta) void
setDisabled
(boolean disabled) Methods inherited from class net.minecraft.client.gui.widget.PressableWidget
drawMessage, keyPressed, onClick, onPress
Methods inherited from class net.minecraft.client.gui.widget.ClickableWidget
appendDefaultNarrations, appendNarrations, clicked, 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, playDownSound, render, setAlpha, setDimensions, setDimensionsAndPosition, setFocused, setHeight, setMessage, setNavigationOrder, setTooltip, setTooltipDelay, setWidth, setX, setY
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.screen.ingame.BeaconScreen.BeaconButtonWidget
tick
Methods inherited from interface net.minecraft.client.gui.Element
charTyped, getFocusedPath, keyReleased, mouseMoved, mouseScrolled
Methods inherited from interface net.minecraft.client.gui.widget.Widget
setPosition
-
Field Details
-
disabled
private boolean disabled- Mappings:
Namespace Name Mixin selector named disabled
Lnet/minecraft/client/gui/screen/ingame/BeaconScreen$BaseButtonWidget;disabled:Z
intermediary field_2815
Lnet/minecraft/class_466$class_470;field_2815:Z
official a
Lfox$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)V
intermediary <init>
Lnet/minecraft/class_466$class_470;<init>(II)V
official <init>
Lfox$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;)V
intermediary <init>
Lnet/minecraft/class_466$class_470;<init>(IILnet/minecraft/class_2561;)V
official <init>
Lfox$e;<init>(IILwz;)V
-
-
Method Details
-
renderWidget
- Overrides:
renderWidget
in classPressableWidget
- Mappings:
Namespace Name Mixin selector named renderWidget
Lnet/minecraft/client/gui/widget/ClickableWidget;renderWidget(Lnet/minecraft/client/gui/DrawContext;IIF)V
intermediary method_48579
Lnet/minecraft/class_339;method_48579(Lnet/minecraft/class_332;IIF)V
official b
Lfik;b(Lfhz;IIF)V
-
renderExtra
- Mappings:
Namespace Name Mixin selector named renderExtra
Lnet/minecraft/client/gui/screen/ingame/BeaconScreen$BaseButtonWidget;renderExtra(Lnet/minecraft/client/gui/DrawContext;)V
intermediary method_18641
Lnet/minecraft/class_466$class_470;method_18641(Lnet/minecraft/class_332;)V
official a
Lfox$e;a(Lfhz;)V
-
isDisabled
public boolean isDisabled()- Mappings:
Namespace Name Mixin selector named isDisabled
Lnet/minecraft/client/gui/screen/ingame/BeaconScreen$BaseButtonWidget;isDisabled()Z
intermediary method_2402
Lnet/minecraft/class_466$class_470;method_2402()Z
official a
Lfox$e;a()Z
-
setDisabled
public void setDisabled(boolean disabled) - Mappings:
Namespace Name Mixin selector named setDisabled
Lnet/minecraft/client/gui/screen/ingame/BeaconScreen$BaseButtonWidget;setDisabled(Z)V
intermediary method_2401
Lnet/minecraft/class_466$class_470;method_2401(Z)V
official b
Lfox$e;b(Z)V
-
appendClickableNarrations
- Specified by:
appendClickableNarrations
in classClickableWidget
- Mappings:
Namespace Name Mixin selector named appendClickableNarrations
Lnet/minecraft/client/gui/widget/ClickableWidget;appendClickableNarrations(Lnet/minecraft/client/gui/screen/narration/NarrationMessageBuilder;)V
intermediary method_47399
Lnet/minecraft/class_339;method_47399(Lnet/minecraft/class_6382;)V
official a
Lfik;a(Lfmi;)V
-