Class MerchantScreen.WidgetButtonPage

All Implemented Interfaces:
Drawable, Element, Narratable, Navigable, Selectable, Widget
Enclosing class:
MerchantScreen

@Environment(CLIENT) private class MerchantScreen.WidgetButtonPage extends ButtonWidget
Mappings:
Namespace Name
named net/minecraft/client/gui/screen/ingame/MerchantScreen$WidgetButtonPage
intermediary net/minecraft/class_492$class_493
official fpt$a
  • 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

      public WidgetButtonPage(int x, int y, int index, ButtonWidget.PressAction onPress)
      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

      public void renderTooltip(DrawContext context, int x, int y)
      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