Class StatsScreen.ItemStatsListWidget

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

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

    • field_49524

      private static final int field_49524
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_49524 Lnet/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget;field_49524:I
      intermediary field_49524 Lnet/minecraft/class_447$class_4200;field_49524:I
      official s Lfno$b;s:I
    • field_49525

      private static final int field_49525
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_49525 Lnet/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget;field_49525:I
      intermediary field_49525 Lnet/minecraft/class_447$class_4200;field_49525:I
      official u Lfno$b;u:I
    • field_49526

      private static final int field_49526
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_49526 Lnet/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget;field_49526:I
      intermediary field_49526 Lnet/minecraft/class_447$class_4200;field_49526:I
      official v Lfno$b;v:I
    • field_49527

      private static final int field_49527
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_49527 Lnet/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget;field_49527:I
      intermediary field_49527 Lnet/minecraft/class_447$class_4200;field_49527:I
      official w Lfno$b;w:I
    • field_49528

      private static final int field_49528
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_49528 Lnet/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget;field_49528:I
      intermediary field_49528 Lnet/minecraft/class_447$class_4200;field_49528:I
      official x Lfno$b;x:I
    • field_49529

      private static final int field_49529
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_49529 Lnet/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget;field_49529:I
      intermediary field_49529 Lnet/minecraft/class_447$class_4200;field_49529:I
      official y Lfno$b;y:I
    • headerIconTextures

      private final Identifier[] headerIconTextures
      Mappings:
      Namespace Name Mixin selector
      named headerIconTextures Lnet/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget;headerIconTextures:[Lnet/minecraft/util/Identifier;
      intermediary field_45422 Lnet/minecraft/class_447$class_4200;field_45422:[Lnet/minecraft/class_2960;
      official z Lfno$b;z:[Lalf;
    • blockStatTypes

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

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

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

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

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

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

    • ItemStatsListWidget

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

    • method_57742

      int method_57742(int int2)
      Mappings:
      Namespace Name Mixin selector
      named method_57742 Lnet/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget;method_57742(I)I
      intermediary method_57742 Lnet/minecraft/class_447$class_4200;method_57742(I)I
      official a Lfno$b;a(I)I
    • renderHeader

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

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

      protected boolean clickedHeader(int x, int y)
      Called when the header is clicked.
      Overrides:
      clickedHeader in class EntryListWidget<StatsScreen.ItemStatsListWidget.Entry>
      Returns:
      true to indicate that the event handling is successful/valid
      Mappings:
      Namespace Name Mixin selector
      named clickedHeader Lnet/minecraft/client/gui/widget/EntryListWidget;clickedHeader(II)Z
      intermediary method_25310 Lnet/minecraft/class_350;method_25310(II)Z
      official a Lfhb;a(II)Z
    • getStatType

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

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

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

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