Class StatsScreen.ItemStatisticsList.ItemRow
java.lang.Object
net.minecraft.client.gui.components.AbstractSelectionList.Entry<StatsScreen.ItemStatisticsList.Entry>
net.minecraft.client.gui.components.ContainerObjectSelectionList.Entry<StatsScreen.ItemStatisticsList.Entry>
net.minecraft.client.gui.screens.achievement.StatsScreen.ItemStatisticsList.Entry
net.minecraft.client.gui.screens.achievement.StatsScreen.ItemStatisticsList.ItemRow
- All Implemented Interfaces:
ContainerEventHandler,GuiEventListener,TabOrderedElement,LayoutElement
- Enclosing class:
StatsScreen.ItemStatisticsList
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Itemprivate final StatsScreen.ItemStatisticsList.ItemRow.ItemRowWidgetFields inherited from class net.minecraft.client.gui.components.AbstractSelectionList.Entry
CONTENT_PADDING, list -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<? extends GuiEventListener> children()protected ItemgetItem()List<? extends NarratableEntry> voidrenderContent(GuiGraphics p_439213_, int p_439189_, int p_439456_, boolean p_438914_, float p_440285_) protected voidrenderStat(GuiGraphics guiGraphics, Stat<?> stat, int x, int y, boolean evenRow) Methods inherited from class net.minecraft.client.gui.components.ContainerObjectSelectionList.Entry
focusPathAtIndex, getFocused, isDragging, mouseClicked, nextFocusPath, setDragging, setFocusedMethods inherited from class net.minecraft.client.gui.components.AbstractSelectionList.Entry
getContentBottom, getContentHeight, getContentRight, getContentWidth, getContentX, getContentXMiddle, getContentY, getContentYMiddle, getHeight, getRectangle, getWidth, getX, getY, isFocused, isMouseOver, setFocused, setHeight, setWidth, setX, setY, visitWidgetsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.components.events.ContainerEventHandler
charTyped, getChildAt, getCurrentFocusPath, isFocused, keyPressed, keyReleased, mouseDragged, mouseReleased, mouseScrolled, setFocusedMethods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
getBorderForArrowNavigation, getRectangle, isMouseOver, mouseMoved, shouldTakeFocusAfterInteractionMethods inherited from interface net.minecraft.client.gui.layouts.LayoutElement
setPositionMethods inherited from interface net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
Field Details
-
item
-
itemRowWidget
-
-
Constructor Details
-
ItemRow
ItemRow(Item item)
-
-
Method Details
-
getItem
-
renderContent
public void renderContent(GuiGraphics p_439213_, int p_439189_, int p_439456_, boolean p_438914_, float p_440285_) - Specified by:
renderContentin classAbstractSelectionList.Entry<StatsScreen.ItemStatisticsList.Entry>
-
renderStat
protected void renderStat(GuiGraphics guiGraphics, @Nullable Stat<?> stat, int x, int y, boolean evenRow) -
narratables
- Specified by:
narratablesin classContainerObjectSelectionList.Entry<StatsScreen.ItemStatisticsList.Entry>
-
children
-