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 named net/minecraft/client/gui/screen/ingame/MerchantScreen$WidgetButtonPage
intermediary net/minecraft/class_492$class_493
official fpt$a
-
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, field_46856, field_49479, 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, renderWidget
Methods inherited from class net.minecraft.client.gui.widget.ClickableWidget
appendDefaultNarrations, appendNarrations, clicked, drawScrollableText, drawScrollableText, drawScrollableText, forEachChild, getBottom, getHeight, getMessage, 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.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 named index
Lnet/minecraft/client/gui/screen/ingame/MerchantScreen$WidgetButtonPage;index:I
intermediary field_19165
Lnet/minecraft/class_492$class_493;field_19165:I
official a
Lfpt$a;a:I
-
-
Constructor Details
-
WidgetButtonPage
- Mappings:
Namespace Name Mixin selector 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
intermediary <init>
Lnet/minecraft/class_492$class_493;<init>(Lnet/minecraft/class_492;IIILnet/minecraft/class_4185$class_4241;)V
official <init>
Lfpt$a;<init>(Lfpt;IIILfig$c;)V
-
-
Method Details
-
getIndex
public int getIndex()- Mappings:
Namespace Name Mixin selector named getIndex
Lnet/minecraft/client/gui/screen/ingame/MerchantScreen$WidgetButtonPage;getIndex()I
intermediary method_20228
Lnet/minecraft/class_492$class_493;method_20228()I
official a
Lfpt$a;a()I
-
renderTooltip
- Mappings:
Namespace Name Mixin selector named renderTooltip
Lnet/minecraft/client/gui/screen/ingame/MerchantScreen$WidgetButtonPage;renderTooltip(Lnet/minecraft/client/gui/DrawContext;II)V
intermediary method_25352
Lnet/minecraft/class_492$class_493;method_25352(Lnet/minecraft/class_332;II)V
official a
Lfpt$a;a(Lfht;II)V
-