Package net.minecraft.client.gui.screen
Class StatsScreen.ItemStatsListWidget
java.lang.Object
net.minecraft.client.gui.DrawableHelper
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.widget.EntryListWidget<E>
net.minecraft.client.gui.widget.AlwaysSelectedEntryListWidget<StatsScreen.ItemStatsListWidget.Entry>
net.minecraft.client.gui.screen.StatsScreen.ItemStatsListWidget
- All Implemented Interfaces:
Drawable,Element,Narratable,ParentElement,Selectable
- Enclosing class:
StatsScreen
@Environment(CLIENT)
private class StatsScreen.ItemStatsListWidget
extends AlwaysSelectedEntryListWidget<StatsScreen.ItemStatsListWidget.Entry>
- Mappings:
Namespace Name official eqi$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 final int[]protected intprotected intFields inherited from class net.minecraft.client.gui.widget.EntryListWidget
bottom, centerListVertically, client, headerHeight, height, itemHeight, left, right, top, widthFields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTUREFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidclickedHeader(int x, int y) private intgetHeaderIndex(StatType<?> statType) intprotected intprivate StatType<?>getStatType(int headerColumn) protected Textprotected voidrender(MatrixStack matrices, @Nullable Text text, int mouseX, int mouseY) protected voidrenderBackground(MatrixStack matrices) protected voidrenderDecorations(MatrixStack matrices, int mouseX, int mouseY) protected voidrenderHeader(MatrixStack matrices, int x, int y) protected voidselectStatType(StatType<?> statType) Methods inherited from class net.minecraft.client.gui.widget.AlwaysSelectedEntryListWidget
appendNarrations, method_48205Methods inherited from class net.minecraft.client.gui.widget.EntryListWidget
addEntry, addEntryToTop, appendNarrations, centerScrollOn, children, clearEntries, drawSelectionHighlight, ensureVisible, getEntry, getEntryAtPosition, getEntryCount, getFocused, getHoveredEntry, getMaxPosition, getMaxScroll, getRowBottom, getRowLeft, getRowRight, getRowTop, getScrollAmount, getSelectedOrNull, getType, isMouseOver, isSelectedEntry, method_35721, method_48197, method_48198, method_48199, method_48200, method_48202, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, remove, removeEntry, removeEntryWithoutScrolling, render, renderEntry, renderList, replaceEntries, setFocused, setLeftPos, setRenderBackground, setRenderHeader, setRenderHorizontalShadows, setRenderSelection, setScrollAmount, setSelected, updateScrollingState, updateSizeMethods inherited from class net.minecraft.client.gui.AbstractParentElement
isDragging, setDraggingMethods inherited from class net.minecraft.client.gui.DrawableHelper
disableScissor, drawCenteredText, drawCenteredText, drawCenteredTextWithShadow, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, drawWithOutline, drawWithShadow, enableScissor, fill, fillGradient, fillGradient, fillGradient, getZOffset, method_48196, setZOffsetMethods 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
mouseMovedMethods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, focusOn, hoveredElement, isFocused, keyPressed, keyReleased, method_48218, setFocusedMethods inherited from interface net.minecraft.client.gui.Selectable
isNarratable
-
Field Details
-
blockStatTypes
- Mappings:
Namespace Name Mixin selector official aLeqi$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 oLeqi$b;o: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;
-
HEADER_ICON_SPRITE_INDICES
private final int[] HEADER_ICON_SPRITE_INDICES- Mappings:
Namespace Name Mixin selector official uLeqi$b;u:[Iintermediary field_18753Lnet/minecraft/class_447$class_4200;field_18753:[Inamed HEADER_ICON_SPRITE_INDICESLnet/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget;HEADER_ICON_SPRITE_INDICES:[I
-
selectedHeaderColumn
protected int selectedHeaderColumn- Mappings:
Namespace Name Mixin selector official pLeqi$b;p:Iintermediary field_18756Lnet/minecraft/class_447$class_4200;field_18756:Inamed selectedHeaderColumnLnet/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget;selectedHeaderColumn:I
-
comparator
- Mappings:
Namespace Name Mixin selector official qLeqi$b;q: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 rLeqi$b;r:Lamh;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;
-
listOrder
protected int listOrder- Mappings:
Namespace Name Mixin selector official sLeqi$b;s: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>Leqi$b;<init>(Leqi;Lejt;)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
-
renderHeader
- Overrides:
renderHeaderin classEntryListWidget<StatsScreen.ItemStatsListWidget.Entry>- Mappings:
Namespace Name Mixin selector official aLelh;a(Leer;II)Vintermediary method_25312Lnet/minecraft/class_350;method_25312(Lnet/minecraft/class_4587;II)Vnamed renderHeaderLnet/minecraft/client/gui/widget/EntryListWidget;renderHeader(Lnet/minecraft/client/util/math/MatrixStack;II)V
-
getRowWidth
public int getRowWidth()- Overrides:
getRowWidthin classEntryListWidget<StatsScreen.ItemStatsListWidget.Entry>- Mappings:
Namespace Name Mixin selector official bLelh;b()Iintermediary method_25322Lnet/minecraft/class_350;method_25322()Inamed getRowWidthLnet/minecraft/client/gui/widget/EntryListWidget;getRowWidth()I
-
getScrollbarPositionX
protected int getScrollbarPositionX()- Overrides:
getScrollbarPositionXin classEntryListWidget<StatsScreen.ItemStatsListWidget.Entry>- Mappings:
Namespace Name Mixin selector official cLelh;c()Iintermediary method_25329Lnet/minecraft/class_350;method_25329()Inamed getScrollbarPositionXLnet/minecraft/client/gui/widget/EntryListWidget;getScrollbarPositionX()I
-
renderBackground
- Overrides:
renderBackgroundin classEntryListWidget<StatsScreen.ItemStatsListWidget.Entry>- Mappings:
Namespace Name Mixin selector official aLelh;a(Leer;)Vintermediary method_25325Lnet/minecraft/class_350;method_25325(Lnet/minecraft/class_4587;)Vnamed renderBackgroundLnet/minecraft/client/gui/widget/EntryListWidget;renderBackground(Lnet/minecraft/client/util/math/MatrixStack;)V
-
clickedHeader
protected void clickedHeader(int x, int y) - Overrides:
clickedHeaderin classEntryListWidget<StatsScreen.ItemStatsListWidget.Entry>- Mappings:
Namespace Name Mixin selector official aLelh;a(II)Vintermediary method_25310Lnet/minecraft/class_350;method_25310(II)Vnamed clickedHeaderLnet/minecraft/client/gui/widget/EntryListWidget;clickedHeader(II)V
-
getStatType
- Mappings:
Namespace Name Mixin selector official aLeqi$b;a(I)Lamh;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 bLeqi$b;b(Lamh;)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 bLelh;b(Leer;II)Vintermediary method_25320Lnet/minecraft/class_350;method_25320(Lnet/minecraft/class_4587;II)Vnamed renderDecorationsLnet/minecraft/client/gui/widget/EntryListWidget;renderDecorations(Lnet/minecraft/client/util/math/MatrixStack;II)V
-
render
- Mappings:
Namespace Name Mixin selector official aLeqi$b;a(Leer;Lsu;II)Vintermediary method_19407Lnet/minecraft/class_447$class_4200;method_19407(Lnet/minecraft/class_4587;Lnet/minecraft/class_2561;II)Vnamed renderLnet/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget;render(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/text/Text;II)V
-
getText
- Mappings:
Namespace Name Mixin selector official aLeqi$b;a(Lced;)Lsu;intermediary method_19406Lnet/minecraft/class_447$class_4200;method_19406(Lnet/minecraft/class_1792;)Lnet/minecraft/class_2561;named getTextLnet/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget;getText(Lnet/minecraft/item/Item;)Lnet/minecraft/text/Text;
-
selectStatType
- Mappings:
Namespace Name Mixin selector official aLeqi$b;a(Lamh;)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
-