Class MerchantScreen.WidgetButtonPage
java.lang.Object
net.minecraft.client.gui.widget.ClickableWidget
net.minecraft.client.gui.widget.PressableWidget
net.minecraft.client.gui.widget.ButtonWidget
net.minecraft.client.gui.screen.ingame.MerchantScreen.WidgetButtonPage
- All Implemented Interfaces:
Drawable
,Element
,Narratable
,Navigable
,Selectable
,Widget
- Enclosing class:
MerchantScreen
- Mappings:
Namespace Name official fan$a
intermediary net/minecraft/class_492$class_493
named net/minecraft/client/gui/screen/ingame/MerchantScreen$WidgetButtonPage
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.widget.ButtonWidget
ButtonWidget.Builder, ButtonWidget.NarrationSupplier, ButtonWidget.PressAction
Nested classes/interfaces inherited from interface net.minecraft.client.gui.Selectable
Selectable.SelectionType
-
Field Summary
Fields inherited from class net.minecraft.client.gui.widget.ButtonWidget
DEFAULT_HEIGHT, DEFAULT_NARRATION_SUPPLIER, DEFAULT_WIDTH, DEFAULT_WIDTH_SMALL, narrationSupplier, onPress
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
-
Method Summary
Modifier and TypeMethodDescriptionint
getIndex()
void
renderTooltip
(DrawContext context, int x, int y) Methods inherited from class net.minecraft.client.gui.widget.ButtonWidget
appendClickableNarrations, builder, getNarrationMessage, onPress
Methods inherited from class net.minecraft.client.gui.widget.PressableWidget
drawMessage, keyPressed, onClick, renderButton
Methods inherited from class net.minecraft.client.gui.widget.ClickableWidget
appendDefaultNarrations, appendNarrations, clicked, drawScrollableText, drawScrollableText, drawScrollableText, forEachChild, getHeight, getMessage, getNarrationMessage, getNavigationFocus, getNavigationOrder, getNavigationPath, getTooltip, getTooltipPositioner, getType, getWidth, getX, getY, isFocused, isHovered, isMouseOver, isNarratable, isSelected, isValidClickButton, mouseClicked, mouseDragged, mouseReleased, onDrag, onRelease, playDownSound, render, setAlpha, 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.Element
charTyped, getFocusedPath, keyReleased, mouseMoved, mouseScrolled
Methods inherited from interface net.minecraft.client.gui.widget.Widget
setPosition
-
Field Details
-
index
final int index- Mappings:
Namespace Name Mixin selector official a
Lfan$a;a:I
intermediary field_19165
Lnet/minecraft/class_492$class_493;field_19165:I
named index
Lnet/minecraft/client/gui/screen/ingame/MerchantScreen$WidgetButtonPage;index:I
-
-
Constructor Details
-
WidgetButtonPage
- Mappings:
Namespace Name Mixin selector official <init>
Lfan$a;<init>(Lfan;IIILesq$c;)V
intermediary <init>
Lnet/minecraft/class_492$class_493;<init>(Lnet/minecraft/class_492;IIILnet/minecraft/class_4185$class_4241;)V
named <init>
Lnet/minecraft/client/gui/screen/ingame/MerchantScreen$WidgetButtonPage;<init>(Lnet/minecraft/client/gui/screen/ingame/MerchantScreen;IIILnet/minecraft/client/gui/widget/ButtonWidget$PressAction;)V
-
-
Method Details
-
getIndex
public int getIndex()- Mappings:
Namespace Name Mixin selector official a
Lfan$a;a()I
intermediary method_20228
Lnet/minecraft/class_492$class_493;method_20228()I
named getIndex
Lnet/minecraft/client/gui/screen/ingame/MerchantScreen$WidgetButtonPage;getIndex()I
-
renderTooltip
- Mappings:
Namespace Name Mixin selector official a
Lfan$a;a(Lesf;II)V
intermediary method_25352
Lnet/minecraft/class_492$class_493;method_25352(Lnet/minecraft/class_332;II)V
named renderTooltip
Lnet/minecraft/client/gui/screen/ingame/MerchantScreen$WidgetButtonPage;renderTooltip(Lnet/minecraft/client/gui/DrawContext;II)V
-