Package net.minecraft.client.gui.screen
Class StatsScreen.ItemStatsListWidget
java.lang.Object
net.minecraft.client.gui.widget.ClickableWidget
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 official fkg$bintermediary net/minecraft/class_447$class_4200named net/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate classprivate classNested classes/interfaces inherited from interface net.minecraft.client.gui.Selectable
Selectable.SelectionType -
Field Summary
FieldsModifier 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.EntryListWidget
centerListVertically, client, field_45909, headerHeight, itemHeightFields inherited from class net.minecraft.client.gui.widget.ClickableWidget
active, alpha, height, hovered, visible, widthFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanclickedHeader(int x, int y) Called when the header is clicked.private intgetHeaderIndex(StatType<?> statType) intprivate StatType<?> getStatType(int headerColumn) (package private) intmethod_57742(int int2) protected voidrenderDecorations(DrawContext context, int mouseX, int mouseY) protected voidrenderHeader(DrawContext context, int x, int y) protected voidselectStatType(StatType<?> statType) Methods inherited from class net.minecraft.client.gui.widget.AlwaysSelectedEntryListWidget
appendClickableNarrations, getNavigationPathMethods inherited from class net.minecraft.client.gui.widget.EntryListWidget
addEntry, addEntryToTop, appendNarrations, centerScrollOn, children, clearEntries, drawHeaderAndFooterSeparators, drawMenuListBackground, drawSelectionHighlight, enableScissor, ensureVisible, getEntry, getEntryAtPosition, getEntryCount, getFirst, getFocused, getHoveredEntry, getMaxPosition, getMaxScroll, getNeighboringEntry, getNeighboringEntry, getNeighboringEntry, getRowBottom, getRowLeft, getRowRight, getRowTop, getScrollAmount, getScrollbarPositionX, getSelectedOrNull, getType, isMouseOver, isScrollbarVisible, isSelectButton, isSelectedEntry, method_57718, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, position, position, remove, removeEntry, removeEntryWithoutScrolling, renderEntry, renderList, renderWidget, replaceEntries, setFocused, setRenderHeader, setScrollAmount, setSelected, updateScrollingStateMethods inherited from class net.minecraft.client.gui.widget.ContainerWidget
isDragging, isFocused, setDragging, setFocusedMethods inherited from class net.minecraft.client.gui.widget.ClickableWidget
appendDefaultNarrations, appendNarrations, clicked, drawBackground, drawScrollableText, drawScrollableText, drawScrollableText, forEachChild, getBottom, getHeight, getMessage, getNarrationMessage, getNarrationMessage, getNavigationFocus, getNavigationOrder, getRight, getTooltip, getWidth, getX, getY, isHovered, isNarratable, isSelected, isValidClickButton, onClick, onDrag, onRelease, playDownSound, render, setAlpha, setDimensions, setDimensionsAndPosition, setHeight, setMessage, setNavigationOrder, setTooltip, setTooltipDelay, setWidth, setX, setYMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.Element
getNavigationFocus, mouseMovedMethods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrderMethods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, getFocusedPath, hoveredElement, keyPressed, keyReleasedMethods inherited from interface net.minecraft.client.gui.widget.Widget
setPosition
-
Field Details
-
field_49524
private static final int field_49524- See Also:
- Mappings:
Namespace Name Mixin selector official sLfkg$b;s:Iintermediary field_49524Lnet/minecraft/class_447$class_4200;field_49524:Inamed field_49524Lnet/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget;field_49524:I
-
field_49525
private static final int field_49525- See Also:
- Mappings:
Namespace Name Mixin selector official uLfkg$b;u:Iintermediary field_49525Lnet/minecraft/class_447$class_4200;field_49525:Inamed field_49525Lnet/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget;field_49525:I
-
field_49526
private static final int field_49526- See Also:
- Mappings:
Namespace Name Mixin selector official vLfkg$b;v:Iintermediary field_49526Lnet/minecraft/class_447$class_4200;field_49526:Inamed field_49526Lnet/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget;field_49526:I
-
field_49527
private static final int field_49527- See Also:
- Mappings:
Namespace Name Mixin selector official wLfkg$b;w:Iintermediary field_49527Lnet/minecraft/class_447$class_4200;field_49527:Inamed field_49527Lnet/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget;field_49527:I
-
field_49528
private static final int field_49528- See Also:
- Mappings:
Namespace Name Mixin selector official xLfkg$b;x:Iintermediary field_49528Lnet/minecraft/class_447$class_4200;field_49528:Inamed field_49528Lnet/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget;field_49528:I
-
field_49529
private static final int field_49529- See Also:
- Mappings:
Namespace Name Mixin selector official yLfkg$b;y:Iintermediary field_49529Lnet/minecraft/class_447$class_4200;field_49529:Inamed field_49529Lnet/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget;field_49529:I
-
headerIconTextures
- Mappings:
Namespace Name Mixin selector official zLfkg$b;z:[Lajv;intermediary field_45422Lnet/minecraft/class_447$class_4200;field_45422:[Lnet/minecraft/class_2960;named headerIconTexturesLnet/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget;headerIconTextures:[Lnet/minecraft/util/Identifier;
-
blockStatTypes
- Mappings:
Namespace Name Mixin selector official aLfkg$b;a:Ljava/util/List;intermediary field_18754Lnet/minecraft/class_447$class_4200;field_18754:Ljava/util/List;named blockStatTypesLnet/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget;blockStatTypes:Ljava/util/List;
-
itemStatTypes
- Mappings:
Namespace Name Mixin selector official mLfkg$b;m:Ljava/util/List;intermediary field_18755Lnet/minecraft/class_447$class_4200;field_18755:Ljava/util/List;named itemStatTypesLnet/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget;itemStatTypes:Ljava/util/List;
-
comparator
- Mappings:
Namespace Name Mixin selector official nLfkg$b;n:Ljava/util/Comparator;intermediary field_18758Lnet/minecraft/class_447$class_4200;field_18758:Ljava/util/Comparator;named comparatorLnet/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget;comparator:Ljava/util/Comparator;
-
selectedStatType
- Mappings:
Namespace Name Mixin selector official oLfkg$b;o:Lauy;intermediary field_18759Lnet/minecraft/class_447$class_4200;field_18759:Lnet/minecraft/class_3448;named selectedStatTypeLnet/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget;selectedStatType:Lnet/minecraft/stat/StatType;
-
selectedHeaderColumn
protected int selectedHeaderColumn- Mappings:
Namespace Name Mixin selector official pLfkg$b;p:Iintermediary field_18756Lnet/minecraft/class_447$class_4200;field_18756:Inamed selectedHeaderColumnLnet/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget;selectedHeaderColumn:I
-
listOrder
protected int listOrder- Mappings:
Namespace Name Mixin selector official qLfkg$b;q:Iintermediary field_18760Lnet/minecraft/class_447$class_4200;field_18760:Inamed listOrderLnet/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget;listOrder:I
-
-
Constructor Details
-
ItemStatsListWidget
- Mappings:
Namespace Name Mixin selector official <init>Lfkg$b;<init>(Lfkg;Lfby;)Vintermediary <init>Lnet/minecraft/class_447$class_4200;<init>(Lnet/minecraft/class_447;Lnet/minecraft/class_310;)Vnamed <init>Lnet/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget;<init>(Lnet/minecraft/client/gui/screen/StatsScreen;Lnet/minecraft/client/MinecraftClient;)V
-
-
Method Details
-
method_57742
int method_57742(int int2) - Mappings:
Namespace Name Mixin selector official aLfkg$b;a(I)Iintermediary method_57742Lnet/minecraft/class_447$class_4200;method_57742(I)Inamed method_57742Lnet/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget;method_57742(I)I
-
renderHeader
- Overrides:
renderHeaderin classEntryListWidget<StatsScreen.ItemStatsListWidget.Entry>- Mappings:
Namespace Name Mixin selector official aLfdt;a(Lfdl;II)Vintermediary method_25312Lnet/minecraft/class_350;method_25312(Lnet/minecraft/class_332;II)Vnamed renderHeaderLnet/minecraft/client/gui/widget/EntryListWidget;renderHeader(Lnet/minecraft/client/gui/DrawContext;II)V
-
getRowWidth
public int getRowWidth()- Overrides:
getRowWidthin classEntryListWidget<StatsScreen.ItemStatsListWidget.Entry>- Mappings:
Namespace Name Mixin selector official bLfdt;b()Iintermediary method_25322Lnet/minecraft/class_350;method_25322()Inamed getRowWidthLnet/minecraft/client/gui/widget/EntryListWidget;getRowWidth()I
-
clickedHeader
protected boolean clickedHeader(int x, int y) Called when the header is clicked.- Overrides:
clickedHeaderin classEntryListWidget<StatsScreen.ItemStatsListWidget.Entry>- Returns:
trueto indicate that the event handling is successful/valid- Mappings:
Namespace Name Mixin selector official aLfdt;a(II)Zintermediary method_25310Lnet/minecraft/class_350;method_25310(II)Znamed clickedHeaderLnet/minecraft/client/gui/widget/EntryListWidget;clickedHeader(II)Z
-
getStatType
- Mappings:
Namespace Name Mixin selector official bLfkg$b;b(I)Lauy;intermediary method_19410Lnet/minecraft/class_447$class_4200;method_19410(I)Lnet/minecraft/class_3448;named getStatTypeLnet/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget;getStatType(I)Lnet/minecraft/stat/StatType;
-
getHeaderIndex
- Mappings:
Namespace Name Mixin selector official bLfkg$b;b(Lauy;)Iintermediary method_19409Lnet/minecraft/class_447$class_4200;method_19409(Lnet/minecraft/class_3448;)Inamed getHeaderIndexLnet/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget;getHeaderIndex(Lnet/minecraft/stat/StatType;)I
-
renderDecorations
- Overrides:
renderDecorationsin classEntryListWidget<StatsScreen.ItemStatsListWidget.Entry>- Mappings:
Namespace Name Mixin selector official bLfdt;b(Lfdl;II)Vintermediary method_25320Lnet/minecraft/class_350;method_25320(Lnet/minecraft/class_332;II)Vnamed renderDecorationsLnet/minecraft/client/gui/widget/EntryListWidget;renderDecorations(Lnet/minecraft/client/gui/DrawContext;II)V
-
selectStatType
- Mappings:
Namespace Name Mixin selector official aLfkg$b;a(Lauy;)Vintermediary method_19408Lnet/minecraft/class_447$class_4200;method_19408(Lnet/minecraft/class_3448;)Vnamed selectStatTypeLnet/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget;selectStatType(Lnet/minecraft/stat/StatType;)V
-