Class MerchantScreen.WidgetButtonPage

All Implemented Interfaces:
Drawable, Element
Enclosing class:
MerchantScreen

@Environment(CLIENT)
class MerchantScreen.WidgetButtonPage
extends ButtonWidget
Mappings:
Namespace Name
official dxc$a
intermediary net/minecraft/class_492$class_493
named net/minecraft/client/gui/screen/ingame/MerchantScreen$WidgetButtonPage
  • Field Details

    • index

      final int index
      Mappings:
      Namespace Name Mixin selector
      official a Ldxc$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

      public WidgetButtonPage​(int x, int y, int index, ButtonWidget.PressAction onPress)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldxc$a;<init>(Ldxc;IIILdru$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 Ldxc$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

      public void renderToolTip​(MatrixStack matrices, int mouseX, int mouseY)
      Overrides:
      renderToolTip in class ButtonWidget
      Mappings:
      Namespace Name Mixin selector
      official a Ldrs;a(Ldlr;II)V
      intermediary method_25352 Lnet/minecraft/class_339;method_25352(Lnet/minecraft/class_4587;II)V
      named renderToolTip Lnet/minecraft/client/gui/widget/AbstractButtonWidget;renderToolTip(Lnet/minecraft/client/util/math/MatrixStack;II)V