Package net.minecraft.client.gui.screen
Class StatsScreen.ItemStatsListWidget
java.lang.Object
net.minecraft.client.gui.widget.ClickableWidget
net.minecraft.client.gui.widget.ScrollableWidget
net.minecraft.client.gui.widget.ContainerWidget
net.minecraft.client.gui.widget.EntryListWidget<StatsScreen.ItemStatsListWidget.Entry>
net.minecraft.client.gui.widget.AlwaysSelectedEntryListWidget<StatsScreen.ItemStatsListWidget.Entry>
net.minecraft.client.gui.screen.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 - fuq$b
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionprivate classprivate classNested classes/interfaces inherited from interface net.minecraft.client.gui.SelectableSelectable.SelectionType
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected final Comparator<StatsScreen.ItemStatsListWidget.Entry> private static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate final Identifier[]protected intprotected intFields inherited from class net.minecraft.client.gui.widget.EntryListWidgetcenterListVertically, client, headerHeight, itemHeightFields inherited from class net.minecraft.client.gui.widget.ScrollableWidgetSCROLLBAR_WIDTHFields inherited from class net.minecraft.client.gui.widget.ClickableWidgetactive, alpha, height, hovered, visible, widthFields inherited from interface net.minecraft.client.gui.ElementMAX_DOUBLE_CLICK_INTERVAL
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprivate intgetHeaderIndex(StatType<?> statType) (package private) intgetIconX(int index) intprivate StatType<?> getStatType(int headerColumn) booleanmouseClicked(double mouseX, double mouseY, int button) Callback for when a mouse button down event has been captured.protected voidrenderDecorations(DrawContext context, int mouseX, int mouseY) protected voidrenderHeader(DrawContext context, int x, int y) protected booleanselect(int mouseX, int mouseY) protected voidselectStatType(StatType<?> statType) Methods inherited from class net.minecraft.client.gui.widget.AlwaysSelectedEntryListWidgetappendClickableNarrations, getNavigationPathMethods inherited from class net.minecraft.client.gui.widget.EntryListWidgetaddEntry, addEntryToTop, appendNarrations, centerScrollOn, children, clearEntries, drawHeaderAndFooterSeparators, drawMenuListBackground, drawSelectionHighlight, enableScissor, ensureVisible, getContentsHeightWithPadding, getDeltaYPerScroll, getEntry, getEntryAtPosition, getEntryCount, getFirst, getFocused, getHoveredEntry, getNeighboringEntry, getNeighboringEntry, getNeighboringEntry, getRowBottom, getRowLeft, getRowRight, getRowTop, getScrollbarX, getSelectedOrNull, getType, hoveredElement, isSelectedEntry, position, position, remove, removeEntry, removeEntryWithoutScrolling, renderEntry, renderList, renderWidget, replaceEntries, setFocused, setSelected, setSelectedMethods inherited from class net.minecraft.client.gui.widget.ContainerWidgetisDragging, isFocused, mouseDragged, mouseReleased, setDragging, setFocusedMethods inherited from class net.minecraft.client.gui.widget.ScrollableWidgetcheckScrollbarDragged, drawScrollbar, getMaxScrollY, getScrollbarThumbHeight, getScrollbarThumbY, getScrollY, mouseScrolled, onRelease, overflows, refreshScroll, setScrollYMethods inherited from class net.minecraft.client.gui.widget.ClickableWidgetappendDefaultNarrations, appendNarrations, drawScrollableText, drawScrollableText, drawScrollableText, forEachChild, getBottom, getHeight, getMessage, getNarrationMessage, getNarrationMessage, getNavigationFocus, getNavigationOrder, getRight, getTooltip, getWidth, getX, getY, isHovered, isMouseOver, isNarratable, isSelected, isValidClickButton, onClick, onDrag, playClickSound, playDownSound, render, setAlpha, setDimensions, setDimensionsAndPosition, setHeight, setMessage, setNavigationOrder, setTooltip, setTooltipDelay, setWidth, setX, setYMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.ElementgetBorder, getNavigationFocus, isMouseOver, mouseMovedMethods inherited from interface net.minecraft.client.gui.navigation.NavigablegetNavigationOrderMethods inherited from interface net.minecraft.client.gui.ParentElementcharTyped, getFocusedPath, keyPressed, keyReleased, mouseScrolledMethods inherited from interface net.minecraft.client.gui.SelectablegetNarratedPartsMethods inherited from interface net.minecraft.client.gui.widget.WidgetsetPosition
- 
Field Details- 
field_49524private 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- Lfuq$b;s:I
 
- 
field_49525private 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- Lfuq$b;u:I
 
- 
field_49526private 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- Lfuq$b;v:I
 
- 
field_49527private 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- Lfuq$b;w:I
 
- 
field_49528private 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- Lfuq$b;x:I
 
- 
field_49529private 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- Lfuq$b;y:I
 
- 
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- Lfuq$b;z:[Lakv;
 
- 
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- Lfuq$b;a:Ljava/util/List;
 
- 
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- Lfuq$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- Lfuq$b;n:Ljava/util/Comparator;
 
- 
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- Lfuq$b;o:Lawj;
 
- 
selectedHeaderColumnprotected 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- Lfuq$b;p:I
 
- 
listOrderprotected 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- Lfuq$b;q:I
 
 
- 
- 
Constructor Details- 
ItemStatsListWidget- 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>- Lfuq$b;<init>(Lfuq;Lflk;)V
 
 
- 
- 
Method Details- 
getIconXint getIconX(int index) - Mappings:
- Namespace - Name - Mixin selector - named - getIconX- Lnet/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget;getIconX(I)I- intermediary - method_57742- Lnet/minecraft/class_447$class_4200;method_57742(I)I- official - m- Lfuq$b;m(I)I
 
- 
renderHeader- Overrides:
- renderHeaderin 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- Lfon;a(Lfof;II)V
 
- 
mouseClickedpublic boolean mouseClicked(double mouseX, double mouseY, int button) Callback for when a mouse button down event has been captured. The button number is identified by the constants inGLFWclass.- Specified by:
- mouseClickedin interface- Element
- Specified by:
- mouseClickedin interface- ParentElement
- Overrides:
- mouseClickedin class- ContainerWidget
- Parameters:
- mouseX- the X coordinate of the mouse
- mouseY- the Y coordinate of the mouse
- button- the mouse button number
- Returns:
- trueto indicate that the event handling is successful/valid
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - mouseClicked- Lnet/minecraft/client/gui/Element;mouseClicked(DDI)Z- intermediary - method_25402- Lnet/minecraft/class_364;method_25402(DDI)Z- official - a- Lfqr;a(DDI)Z
 
- 
selectprotected boolean select(int mouseX, int mouseY) - Mappings:
- Namespace - Name - Mixin selector - named - select- Lnet/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget;select(II)Z- intermediary - method_65518- Lnet/minecraft/class_447$class_4200;method_65518(II)Z- official - a- Lfuq$b;a(II)Z
 
- 
getRowWidthpublic int getRowWidth()- Overrides:
- getRowWidthin 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 - a- Lfon;a()I
 
- 
getStatType- 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 - n- Lfuq$b;n(I)Lawj;
 
- 
getHeaderIndex- 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- Lfuq$b;b(Lawj;)I
 
- 
renderDecorations- Overrides:
- renderDecorationsin 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- Lfon;b(Lfof;II)V
 
- 
selectStatType- 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- Lfuq$b;a(Lawj;)V
 
 
-