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.class_11772>
net.minecraft.client.gui.widget.ElementListWidget<StatsScreen.ItemStatsListWidget.class_11772>
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 ElementListWidget<StatsScreen.ItemStatsListWidget.class_11772>
- Mappings:
Namespace Name named net/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidgetintermediary net/minecraft/class_447$class_4200official gmo$b
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static classprivate classprivate 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 intprotected intFields inherited from class net.minecraft.client.gui.widget.EntryListWidget
centerListVertically, client, itemHeightFields inherited from class net.minecraft.client.gui.widget.ScrollableWidget
SCROLLBAR_WIDTH -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddrawHeaderAndFooterSeparators(DrawContext context) protected voiddrawMenuListBackground(DrawContext context) (package private) intgetHeaderIndex(StatType<?> statType) (package private) intgetIconX(int index) int(package private) StatType<?> getStatType(int headerColumn) protected voidmethod_73423(Comparator<StatsScreen.ItemStatsListWidget.Entry> comparator) protected voidselectStatType(StatType<?> statType) Methods inherited from class net.minecraft.client.gui.widget.ElementListWidget
appendClickableNarrations, getNavigationPath, getType, isEntrySelectionAllowed, setFocusedMethods inherited from class net.minecraft.client.gui.widget.EntryListWidget
addEntry, addEntry, addEntryToTop, addEntryToTop, appendNarrations, centerScrollOn, children, clearEntries, clearEntriesExcept, drawSelectionHighlight, enableScissor, getContentsHeightWithPadding, getDeltaYPerScroll, getEntryAtPosition, getEntryCount, getFocused, getHoveredEntry, getNeighboringEntry, getNeighboringEntry, getNeighboringEntry, getRowBottom, getRowLeft, getRowRight, getRowTop, getScrollbarX, getSelectedOrNull, getYOfNextEntry, hoveredElement, position, position, position, removeEntries, removeEntry, removeEntryWithoutScrolling, renderEntry, renderList, renderWidget, replaceEntries, scrollTo, setFocused, setScrollY, setSelected, sort, swapEntriesOnPositionsMethods inherited from class net.minecraft.client.gui.widget.ContainerWidget
isDragging, isFocused, mouseClicked, mouseDragged, mouseReleased, setDraggingMethods inherited from class net.minecraft.client.gui.widget.ScrollableWidget
checkScrollbarDragged, drawScrollbar, getMaxScrollY, getScrollbarThumbHeight, getScrollbarThumbY, getScrollY, method_74038, mouseScrolled, onRelease, overflows, refreshScrollMethods inherited from class net.minecraft.client.gui.widget.ClickableWidget
appendDefaultNarrations, appendNarrations, drawScrollableText, drawScrollableText, drawScrollableText, forEachChild, getBottom, getHeight, getMessage, getNarrationMessage, getNarrationMessage, getNavigationFocus, getNavigationOrder, getRight, getWidth, getX, getY, isHovered, isInteractable, isMouseOver, isSelected, isValidClickButton, onClick, onDrag, playClickSound, 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
getBorder, getNavigationFocus, isClickable, isMouseOver, mouseMovedMethods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrderMethods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, getFocusedPath, keyPressed, keyReleased, mouseScrolledMethods inherited from interface net.minecraft.client.gui.Selectable
getNarratedPartsMethods 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 named field_49524Lnet/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget;field_49524:Iintermediary field_49524Lnet/minecraft/class_447$class_4200;field_49524:Iofficial qLgmo$b;q:I
-
field_49525
private static final int field_49525- See Also:
- Mappings:
Namespace Name Mixin selector named field_49525Lnet/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget;field_49525:Iintermediary field_49525Lnet/minecraft/class_447$class_4200;field_49525:Iofficial rLgmo$b;r:I
-
field_49526
private static final int field_49526- See Also:
- Mappings:
Namespace Name Mixin selector named field_49526Lnet/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget;field_49526:Iintermediary field_49526Lnet/minecraft/class_447$class_4200;field_49526:Iofficial sLgmo$b;s:I
-
field_49527
private static final int field_49527- See Also:
- Mappings:
Namespace Name Mixin selector named field_49527Lnet/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget;field_49527:Iintermediary field_49527Lnet/minecraft/class_447$class_4200;field_49527:Iofficial tLgmo$b;t:I
-
field_49528
private static final int field_49528- See Also:
- Mappings:
Namespace Name Mixin selector named field_49528Lnet/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget;field_49528:Iintermediary field_49528Lnet/minecraft/class_447$class_4200;field_49528:Iofficial uLgmo$b;u:I
-
field_49529
private static final int field_49529- See Also:
- Mappings:
Namespace Name Mixin selector named field_49529Lnet/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget;field_49529:Iintermediary field_49529Lnet/minecraft/class_447$class_4200;field_49529:Iofficial vLgmo$b;v:I
-
blockStatTypes
- Mappings:
Namespace Name Mixin selector named blockStatTypesLnet/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget;blockStatTypes:Ljava/util/List;intermediary field_18754Lnet/minecraft/class_447$class_4200;field_18754:Ljava/util/List;official aLgmo$b;a:Ljava/util/List;
-
itemStatTypes
- Mappings:
Namespace Name Mixin selector named itemStatTypesLnet/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget;itemStatTypes:Ljava/util/List;intermediary field_18755Lnet/minecraft/class_447$class_4200;field_18755:Ljava/util/List;official lLgmo$b;l:Ljava/util/List;
-
comparator
- Mappings:
Namespace Name Mixin selector named comparatorLnet/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget;comparator:Ljava/util/Comparator;intermediary field_18758Lnet/minecraft/class_447$class_4200;field_18758:Ljava/util/Comparator;official mLgmo$b;m:Ljava/util/Comparator;
-
selectedStatType
- Mappings:
Namespace Name Mixin selector named selectedStatTypeLnet/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget;selectedStatType:Lnet/minecraft/stat/StatType;intermediary field_18759Lnet/minecraft/class_447$class_4200;field_18759:Lnet/minecraft/class_3448;official nLgmo$b;n:Lbco;
-
listOrder
protected int listOrder- Mappings:
Namespace Name Mixin selector named listOrderLnet/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget;listOrder:Iintermediary field_18760Lnet/minecraft/class_447$class_4200;field_18760:Iofficial oLgmo$b;o: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;)Vintermediary <init>Lnet/minecraft/class_447$class_4200;<init>(Lnet/minecraft/class_447;Lnet/minecraft/class_310;)Vofficial <init>Lgmo$b;<init>(Lgmo;Lgaa;)V
-
-
Method Details
-
drawMenuListBackground
- Overrides:
drawMenuListBackgroundin classEntryListWidget<StatsScreen.ItemStatsListWidget.class_11772>- Mappings:
Namespace Name Mixin selector named drawMenuListBackgroundLnet/minecraft/client/gui/widget/EntryListWidget;drawMenuListBackground(Lnet/minecraft/client/gui/DrawContext;)Vintermediary method_57715Lnet/minecraft/class_350;method_57715(Lnet/minecraft/class_332;)Vofficial aLgdk;a(Lgde;)V
-
getIconX
int getIconX(int index) - Mappings:
Namespace Name Mixin selector named getIconXLnet/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget;getIconX(I)Iintermediary method_57742Lnet/minecraft/class_447$class_4200;method_57742(I)Iofficial hLgmo$b;h(I)I
-
getRowWidth
public int getRowWidth()- Overrides:
getRowWidthin classEntryListWidget<StatsScreen.ItemStatsListWidget.class_11772>- Mappings:
Namespace Name Mixin selector named getRowWidthLnet/minecraft/client/gui/widget/EntryListWidget;getRowWidth()Iintermediary method_25322Lnet/minecraft/class_350;method_25322()Iofficial aLgdk;a()I
-
getStatType
- Mappings:
Namespace Name Mixin selector named getStatTypeLnet/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget;getStatType(I)Lnet/minecraft/stat/StatType;intermediary method_19410Lnet/minecraft/class_447$class_4200;method_19410(I)Lnet/minecraft/class_3448;official iLgmo$b;i(I)Lbco;
-
getHeaderIndex
- Mappings:
Namespace Name Mixin selector named getHeaderIndexLnet/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget;getHeaderIndex(Lnet/minecraft/stat/StatType;)Iintermediary method_19409Lnet/minecraft/class_447$class_4200;method_19409(Lnet/minecraft/class_3448;)Iofficial bLgmo$b;b(Lbco;)I
-
selectStatType
- Mappings:
Namespace Name Mixin selector named selectStatTypeLnet/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget;selectStatType(Lnet/minecraft/stat/StatType;)Vintermediary method_19408Lnet/minecraft/class_447$class_4200;method_19408(Lnet/minecraft/class_3448;)Vofficial aLgmo$b;a(Lbco;)V
-
method_73423
- Mappings:
Namespace Name Mixin selector named method_73423Lnet/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget;method_73423(Ljava/util/Comparator;)Vintermediary method_73423Lnet/minecraft/class_447$class_4200;method_73423(Ljava/util/Comparator;)Vofficial bLgmo$b;b(Ljava/util/Comparator;)V
-
method_73424
- Mappings:
Namespace Name Mixin selector named method_73424Lnet/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget;method_73424()Ljava/util/List;intermediary method_73424Lnet/minecraft/class_447$class_4200;method_73424()Ljava/util/List;official dLgmo$b;d()Ljava/util/List;
-