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 named net/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget
intermediary net/minecraft/class_447$class_4200
official fub$b
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate class
private class
Nested classes/interfaces inherited from interface net.minecraft.client.gui.Selectable
Selectable.SelectionType
-
Field Summary
Modifier and TypeFieldDescriptionprotected final Comparator
<StatsScreen.ItemStatsListWidget.Entry> private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private final Identifier[]
protected int
protected int
Fields inherited from class net.minecraft.client.gui.widget.EntryListWidget
centerListVertically, client, field_45909, headerHeight, itemHeight
Fields inherited from class net.minecraft.client.gui.widget.ClickableWidget
active, alpha, height, hovered, visible, width
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
clickedHeader
(int x, int y) Called when the header is clicked.private int
getHeaderIndex
(StatType<?> statType) int
private StatType
<?> getStatType
(int headerColumn) (package private) int
method_57742
(int int2) protected void
renderDecorations
(DrawContext context, int mouseX, int mouseY) protected void
renderHeader
(DrawContext context, int x, int y) protected void
selectStatType
(StatType<?> statType) Methods inherited from class net.minecraft.client.gui.widget.AlwaysSelectedEntryListWidget
appendClickableNarrations, getNavigationPath
Methods inherited from class net.minecraft.client.gui.widget.EntryListWidget
addEntry, addEntryToTop, appendNarrations, centerScrollOn, children, clearEntries, drawHeaderAndFooterSeparators, drawMenuListBackground, drawSelectionHighlight, enableScissor, ensureVisible, getDefaultScrollbarX, getEntry, getEntryAtPosition, getEntryCount, getFirst, getFocused, getHoveredEntry, getMaxPosition, getMaxScroll, getNeighboringEntry, getNeighboringEntry, getNeighboringEntry, getRowBottom, getRowLeft, getRowRight, getRowTop, getScrollAmount, getScrollbarX, getSelectedOrNull, getType, isMouseOver, isScrollbarVisible, isSelectButton, isSelectedEntry, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, position, position, refreshScroll, remove, removeEntry, removeEntryWithoutScrolling, renderEntry, renderList, renderWidget, replaceEntries, setFocused, setRenderHeader, setScrollAmount, setScrollAmountOnly, setSelected, setSelected, updateScrollingState
Methods inherited from class net.minecraft.client.gui.widget.ContainerWidget
isDragging, isFocused, setDragging, setFocused
Methods inherited from class net.minecraft.client.gui.widget.ClickableWidget
appendDefaultNarrations, appendNarrations, clicked, drawScrollableText, drawScrollableText, drawScrollableText, forEachChild, getBottom, getHeight, getMessage, getNarrationMessage, getNarrationMessage, getNavigationFocus, getNavigationOrder, getRight, getTooltip, getWidth, getX, getY, isHovered, isNarratable, isSelected, isValidClickButton, onClick, onDrag, onRelease, playClickSound, playDownSound, render, setAlpha, setDimensions, setDimensionsAndPosition, setHeight, setMessage, setNavigationOrder, setTooltip, setTooltipDelay, setWidth, setX, setY
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.gui.Element
getNavigationFocus, mouseMoved
Methods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrder
Methods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, getFocusedPath, hoveredElement, keyPressed, keyReleased
Methods 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_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
Lfub$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
Lfub$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
Lfub$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
Lfub$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
Lfub$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
Lfub$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
Lfub$b;z:[Lalz;
-
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
Lfub$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
Lfub$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
Lfub$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
Lfub$b;o:Laxo;
-
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
Lfub$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
Lfub$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>
Lfub$b;<init>(Lfub;Lfmf;)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 n
Lfub$b;n(I)I
-
renderHeader
- Overrides:
renderHeader
in classEntryListWidget<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
Lfnz;a(Lfnr;II)V
-
getRowWidth
public int getRowWidth()- Overrides:
getRowWidth
in classEntryListWidget<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
Lfnz;a()I
-
clickedHeader
protected boolean clickedHeader(int x, int y) Called when the header is clicked.- Overrides:
clickedHeader
in classEntryListWidget<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
Lfnz;a(II)Z
-
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 o
Lfub$b;o(I)Laxo;
-
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
Lfub$b;b(Laxo;)I
-
renderDecorations
- Overrides:
renderDecorations
in classEntryListWidget<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
Lfnz;b(Lfnr;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
Lfub$b;a(Laxo;)V
-