Class StatsScreen.ItemStatsListWidget

All Implemented Interfaces:
Drawable, Element, Narratable, Navigable, ParentElement, Selectable
Enclosing class:
StatsScreen

@Environment(CLIENT) private class StatsScreen.ItemStatsListWidget extends AlwaysSelectedEntryListWidget<StatsScreen.ItemStatsListWidget.Entry>
Mappings:
Namespace Name
official euz$b
intermediary net/minecraft/class_447$class_4200
named net/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget
  • Field Details

    • blockStatTypes

      protected final List<StatType<Block>> blockStatTypes
      Mappings:
      Namespace Name Mixin selector
      official a Leuz$b;a:Ljava/util/List;
      intermediary field_18754 Lnet/minecraft/class_447$class_4200;field_18754:Ljava/util/List;
      named blockStatTypes Lnet/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget;blockStatTypes:Ljava/util/List;
    • itemStatTypes

      protected final List<StatType<Item>> itemStatTypes
      Mappings:
      Namespace Name Mixin selector
      official l Leuz$b;l:Ljava/util/List;
      intermediary field_18755 Lnet/minecraft/class_447$class_4200;field_18755:Ljava/util/List;
      named itemStatTypes Lnet/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget;itemStatTypes:Ljava/util/List;
    • HEADER_ICON_SPRITE_INDICES

      private final int[] HEADER_ICON_SPRITE_INDICES
      Mappings:
      Namespace Name Mixin selector
      official r Leuz$b;r:[I
      intermediary field_18753 Lnet/minecraft/class_447$class_4200;field_18753:[I
      named HEADER_ICON_SPRITE_INDICES Lnet/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget;HEADER_ICON_SPRITE_INDICES:[I
    • selectedHeaderColumn

      protected int selectedHeaderColumn
      Mappings:
      Namespace Name Mixin selector
      official m Leuz$b;m:I
      intermediary field_18756 Lnet/minecraft/class_447$class_4200;field_18756:I
      named selectedHeaderColumn Lnet/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget;selectedHeaderColumn:I
    • comparator

      Mappings:
      Namespace Name Mixin selector
      official n Leuz$b;n:Ljava/util/Comparator;
      intermediary field_18758 Lnet/minecraft/class_447$class_4200;field_18758:Ljava/util/Comparator;
      named comparator Lnet/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget;comparator:Ljava/util/Comparator;
    • selectedStatType

      @Nullable protected @Nullable StatType<?> selectedStatType
      Mappings:
      Namespace Name Mixin selector
      official o Leuz$b;o:Lamq;
      intermediary field_18759 Lnet/minecraft/class_447$class_4200;field_18759:Lnet/minecraft/class_3448;
      named selectedStatType Lnet/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget;selectedStatType:Lnet/minecraft/stat/StatType;
    • listOrder

      protected int listOrder
      Mappings:
      Namespace Name Mixin selector
      official p Leuz$b;p:I
      intermediary field_18760 Lnet/minecraft/class_447$class_4200;field_18760:I
      named listOrder Lnet/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget;listOrder:I
  • Constructor Details

    • ItemStatsListWidget

      public ItemStatsListWidget(MinecraftClient client)
      Mappings:
      Namespace Name Mixin selector
      official <init> Leuz$b;<init>(Leuz;Lenn;)V
      intermediary <init> Lnet/minecraft/class_447$class_4200;<init>(Lnet/minecraft/class_447;Lnet/minecraft/class_310;)V
      named <init> Lnet/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget;<init>(Lnet/minecraft/client/gui/screen/StatsScreen;Lnet/minecraft/client/MinecraftClient;)V
  • Method Details

    • renderHeader

      protected void renderHeader(DrawContext context, int x, int y)
      Overrides:
      renderHeader in class EntryListWidget<StatsScreen.ItemStatsListWidget.Entry>
      Mappings:
      Namespace Name Mixin selector
      official a Lepc;a(Leox;II)V
      intermediary method_25312 Lnet/minecraft/class_350;method_25312(Lnet/minecraft/class_332;II)V
      named renderHeader Lnet/minecraft/client/gui/widget/EntryListWidget;renderHeader(Lnet/minecraft/client/gui/DrawContext;II)V
    • getRowWidth

      public int getRowWidth()
      Overrides:
      getRowWidth in class EntryListWidget<StatsScreen.ItemStatsListWidget.Entry>
      Mappings:
      Namespace Name Mixin selector
      official b Lepc;b()I
      intermediary method_25322 Lnet/minecraft/class_350;method_25322()I
      named getRowWidth Lnet/minecraft/client/gui/widget/EntryListWidget;getRowWidth()I
    • getScrollbarPositionX

      protected int getScrollbarPositionX()
      Overrides:
      getScrollbarPositionX in class EntryListWidget<StatsScreen.ItemStatsListWidget.Entry>
      Mappings:
      Namespace Name Mixin selector
      official c Lepc;c()I
      intermediary method_25329 Lnet/minecraft/class_350;method_25329()I
      named getScrollbarPositionX Lnet/minecraft/client/gui/widget/EntryListWidget;getScrollbarPositionX()I
    • renderBackground

      protected void renderBackground(DrawContext context)
      Overrides:
      renderBackground in class EntryListWidget<StatsScreen.ItemStatsListWidget.Entry>
      Mappings:
      Namespace Name Mixin selector
      official a Lepc;a(Leox;)V
      intermediary method_25325 Lnet/minecraft/class_350;method_25325(Lnet/minecraft/class_332;)V
      named renderBackground Lnet/minecraft/client/gui/widget/EntryListWidget;renderBackground(Lnet/minecraft/client/gui/DrawContext;)V
    • clickedHeader

      protected void clickedHeader(int x, int y)
      Overrides:
      clickedHeader in class EntryListWidget<StatsScreen.ItemStatsListWidget.Entry>
      Mappings:
      Namespace Name Mixin selector
      official a Lepc;a(II)V
      intermediary method_25310 Lnet/minecraft/class_350;method_25310(II)V
      named clickedHeader Lnet/minecraft/client/gui/widget/EntryListWidget;clickedHeader(II)V
    • getStatType

      private StatType<?> getStatType(int headerColumn)
      Mappings:
      Namespace Name Mixin selector
      official a Leuz$b;a(I)Lamq;
      intermediary method_19410 Lnet/minecraft/class_447$class_4200;method_19410(I)Lnet/minecraft/class_3448;
      named getStatType Lnet/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget;getStatType(I)Lnet/minecraft/stat/StatType;
    • getHeaderIndex

      private int getHeaderIndex(StatType<?> statType)
      Mappings:
      Namespace Name Mixin selector
      official b Leuz$b;b(Lamq;)I
      intermediary method_19409 Lnet/minecraft/class_447$class_4200;method_19409(Lnet/minecraft/class_3448;)I
      named getHeaderIndex Lnet/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget;getHeaderIndex(Lnet/minecraft/stat/StatType;)I
    • renderDecorations

      protected void renderDecorations(DrawContext context, int mouseX, int mouseY)
      Overrides:
      renderDecorations in class EntryListWidget<StatsScreen.ItemStatsListWidget.Entry>
      Mappings:
      Namespace Name Mixin selector
      official b Lepc;b(Leox;II)V
      intermediary method_25320 Lnet/minecraft/class_350;method_25320(Lnet/minecraft/class_332;II)V
      named renderDecorations Lnet/minecraft/client/gui/widget/EntryListWidget;renderDecorations(Lnet/minecraft/client/gui/DrawContext;II)V
    • render

      protected void render(DrawContext drawContext, @Nullable @Nullable Text text, int mouseX, int mouseY)
      Mappings:
      Namespace Name Mixin selector
      official a Leuz$b;a(Leox;Lsw;II)V
      intermediary method_19407 Lnet/minecraft/class_447$class_4200;method_19407(Lnet/minecraft/class_332;Lnet/minecraft/class_2561;II)V
      named render Lnet/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget;render(Lnet/minecraft/client/gui/DrawContext;Lnet/minecraft/text/Text;II)V
    • getText

      protected Text getText(Item item)
      Mappings:
      Namespace Name Mixin selector
      official a Leuz$b;a(Lcfu;)Lsw;
      intermediary method_19406 Lnet/minecraft/class_447$class_4200;method_19406(Lnet/minecraft/class_1792;)Lnet/minecraft/class_2561;
      named getText Lnet/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget;getText(Lnet/minecraft/item/Item;)Lnet/minecraft/text/Text;
    • selectStatType

      protected void selectStatType(StatType<?> statType)
      Mappings:
      Namespace Name Mixin selector
      official a Leuz$b;a(Lamq;)V
      intermediary method_19408 Lnet/minecraft/class_447$class_4200;method_19408(Lnet/minecraft/class_3448;)V
      named selectStatType Lnet/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget;selectStatType(Lnet/minecraft/stat/StatType;)V