Class MerchantScreen.WidgetButtonPage
java.lang.Object
net.minecraft.client.gui.DrawableHelper
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:
class_6379
,class_6383
,Drawable
,Element
- Enclosing class:
- MerchantScreen
- Mappings:
Namespace Name official eby$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.PressAction, ButtonWidget.TooltipSupplier
Nested classes/interfaces inherited from interface net.minecraft.class_6379
class_6379.class_6380
-
Field Summary
FieldsFields inherited from class net.minecraft.client.gui.widget.ButtonWidget
EMPTY, onPress, tooltipSupplier
Fields inherited from class net.minecraft.client.gui.widget.ClickableWidget
active, alpha, height, hovered, visible, WIDGETS_TEXTURE, width, x, y
Fields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE
-
Constructor Summary
ConstructorsConstructorDescriptionWidgetButtonPage(int x, int y, int index, ButtonWidget.PressAction onPress)
-
Method Summary
Modifier and TypeMethodDescriptionint
getIndex()
void
renderToolTip(MatrixStack matrices, int mouseX, int mouseY)
Methods inherited from class net.minecraft.client.gui.widget.ButtonWidget
method_37020, onPress, renderButton
Methods inherited from class net.minecraft.client.gui.widget.PressableWidget
keyPressed, onClick
Methods inherited from class net.minecraft.client.gui.widget.ClickableWidget
changeFocus, clicked, getHeight, getMessage, getNarrationMessage, getNarrationMessage, getWidth, getYImage, isFocused, isHovered, isMouseOver, isValidClickButton, method_37018, method_37021, mouseClicked, mouseDragged, mouseReleased, onDrag, onFocusedChanged, onRelease, playDownSound, render, renderBackground, setAlpha, setFocused, setMessage, setWidth
Methods inherited from class net.minecraft.client.gui.DrawableHelper
drawCenteredText, drawCenteredText, drawCenteredTextWithShadow, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, drawWithShadow, fill, fillGradient, fillGradient, fillGradient, getZOffset, method_29343, setZOffset
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, keyReleased, mouseMoved, mouseScrolled
-
Field Details
-
index
final int index- Mappings:
Namespace Name Mixin selector official a
Leby$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>
Leby$a;<init>(Leby;IIILdwj$a;)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
Leby$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
- Overrides:
renderToolTip
in classButtonWidget
- Mappings:
Namespace Name Mixin selector official a
Ldwh;a(Ldpu;II)V
intermediary method_25352
Lnet/minecraft/class_339;method_25352(Lnet/minecraft/class_4587;II)V
named renderToolTip
Lnet/minecraft/client/gui/widget/ClickableWidget;renderToolTip(Lnet/minecraft/client/util/math/MatrixStack;II)V
-