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$ItemStatsListWidgetintermediary net/minecraft/class_447$class_4200official fum$b
-
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, headerHeight, itemHeightFields inherited from class net.minecraft.client.gui.widget.ScrollableWidget
field_55258Fields 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 TypeMethodDescriptionprivate intgetHeaderIndex(StatType<?> statType) intprivate StatType<?> getStatType(int headerColumn) (package private) intmethod_57742(int int2) protected booleanmethod_65518(int int2, int int3) 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 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, getContentsHeightWithPadding, getDeltaYPerScroll, getEntry, getEntryAtPosition, getEntryCount, getFirst, getFocused, getHoveredEntry, getNeighboringEntry, getNeighboringEntry, getNeighboringEntry, getRowBottom, getRowLeft, getRowRight, getRowTop, getSelectedOrNull, getType, hoveredElement, isSelectedEntry, method_65507, position, position, remove, removeEntry, removeEntryWithoutScrolling, renderEntry, renderList, renderWidget, replaceEntries, setFocused, setSelected, setSelectedMethods inherited from class net.minecraft.client.gui.widget.ContainerWidget
isDragging, isFocused, mouseDragged, mouseReleased, setDragging, setFocusedMethods inherited from class net.minecraft.client.gui.widget.ScrollableWidget
drawScrollbar, getMaxScrollY, getScrollbarThumbHeight, getScrollY, method_65505, method_65506, method_65508, mouseScrolled, onRelease, overflows, setScrollYMethods inherited from class net.minecraft.client.gui.widget.ClickableWidget
appendDefaultNarrations, 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.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.Element
getNavigationFocus, isMouseOver, method_65515, 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
method_65516Methods 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 sLfum$b;s: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 uLfum$b;u: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 vLfum$b;v: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 wLfum$b;w: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 xLfum$b;x: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 yLfum$b;y:I
-
headerIconTextures
- Mappings:
Namespace Name Mixin selector named headerIconTexturesLnet/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget;headerIconTextures:[Lnet/minecraft/util/Identifier;intermediary field_45422Lnet/minecraft/class_447$class_4200;field_45422:[Lnet/minecraft/class_2960;official zLfum$b;z:[Laku;
-
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 aLfum$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 mLfum$b;m: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 nLfum$b;n: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 oLfum$b;o:Lawi;
-
selectedHeaderColumn
protected int selectedHeaderColumn- Mappings:
Namespace Name Mixin selector named selectedHeaderColumnLnet/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget;selectedHeaderColumn:Iintermediary field_18756Lnet/minecraft/class_447$class_4200;field_18756:Iofficial pLfum$b;p:I
-
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 qLfum$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;)Vintermediary <init>Lnet/minecraft/class_447$class_4200;<init>(Lnet/minecraft/class_447;Lnet/minecraft/class_310;)Vofficial <init>Lfum$b;<init>(Lfum;Lflh;)V
-
-
Method Details
-
method_57742
int method_57742(int int2) - Mappings:
Namespace Name Mixin selector named method_57742Lnet/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget;method_57742(I)Iintermediary method_57742Lnet/minecraft/class_447$class_4200;method_57742(I)Iofficial mLfum$b;m(I)I
-
renderHeader
- Overrides:
renderHeaderin classEntryListWidget<StatsScreen.ItemStatsListWidget.Entry>- Mappings:
Namespace Name Mixin selector named renderHeaderLnet/minecraft/client/gui/widget/EntryListWidget;renderHeader(Lnet/minecraft/client/gui/DrawContext;II)Vintermediary method_25312Lnet/minecraft/class_350;method_25312(Lnet/minecraft/class_332;II)Vofficial aLfoj;a(Lfob;II)V
-
mouseClicked
public 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 interfaceElement- Specified by:
mouseClickedin interfaceParentElement- Overrides:
mouseClickedin classContainerWidget- Parameters:
mouseX- the X coordinate of the mousemouseY- the Y coordinate of the mousebutton- the mouse button number- Returns:
trueto indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector named mouseClickedLnet/minecraft/client/gui/Element;mouseClicked(DDI)Zintermediary method_25402Lnet/minecraft/class_364;method_25402(DDI)Zofficial aLfqn;a(DDI)Z
-
method_65518
protected boolean method_65518(int int2, int int3) - Mappings:
Namespace Name Mixin selector named method_65518Lnet/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget;method_65518(II)Zintermediary method_65518Lnet/minecraft/class_447$class_4200;method_65518(II)Zofficial aLfum$b;a(II)Z
-
getRowWidth
public int getRowWidth()- Overrides:
getRowWidthin classEntryListWidget<StatsScreen.ItemStatsListWidget.Entry>- Mappings:
Namespace Name Mixin selector named getRowWidthLnet/minecraft/client/gui/widget/EntryListWidget;getRowWidth()Iintermediary method_25322Lnet/minecraft/class_350;method_25322()Iofficial aLfoj;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 nLfum$b;n(I)Lawi;
-
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 bLfum$b;b(Lawi;)I
-
renderDecorations
- Overrides:
renderDecorationsin classEntryListWidget<StatsScreen.ItemStatsListWidget.Entry>- Mappings:
Namespace Name Mixin selector named renderDecorationsLnet/minecraft/client/gui/widget/EntryListWidget;renderDecorations(Lnet/minecraft/client/gui/DrawContext;II)Vintermediary method_25320Lnet/minecraft/class_350;method_25320(Lnet/minecraft/class_332;II)Vofficial bLfoj;b(Lfob;II)V
-
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 aLfum$b;a(Lawi;)V
-