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 TypeClassDescriptionprivate class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Itemprivate final StatsScreen.ItemStatisticsList.ItemRow.ItemRowWidgetFields inherited from class AbstractSelectionList.Entry
CONTENT_PADDING, list -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<? extends GuiEventListener> children()voidextractContent(GuiGraphicsExtractor graphics, int mouseX, int mouseY, boolean hovered, float a) protected voidextractStat(GuiGraphicsExtractor graphics, @Nullable Stat<?> stat, int x, int y, boolean shaded) protected ItemgetItem()List<? extends NarratableEntry> Methods inherited from class ContainerObjectSelectionList.Entry
focusPathAtIndex, getFocused, isDragging, mouseClicked, nextFocusPath, setDragging, setFocusedMethods inherited from class 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 Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ContainerEventHandler
charTyped, getBorderForArrowNavigation, getChildAt, getCurrentFocusPath, isFocused, keyPressed, keyReleased, mouseDragged, mouseReleased, mouseScrolled, preeditUpdated, setFocusedMethods inherited from interface GuiEventListener
getRectangle, isMouseOver, mouseMoved, shouldTakeFocusAfterInteractionMethods inherited from interface LayoutElement
setPositionMethods inherited from interface TabOrderedElement
getTabOrderGroup
-
Field Details
-
item
-
itemRowWidget
-
-
Constructor Details
-
ItemRow
-
-
Method Details
-
getItem
-
extractContent
public void extractContent(GuiGraphicsExtractor graphics, int mouseX, int mouseY, boolean hovered, float a) - Specified by:
extractContentin classAbstractSelectionList.Entry<StatsScreen.ItemStatisticsList.Entry>
-
extractStat
protected void extractStat(GuiGraphicsExtractor graphics, @Nullable Stat<?> stat, int x, int y, boolean shaded) -
narratables
- Specified by:
narratablesin classContainerObjectSelectionList.Entry<StatsScreen.ItemStatisticsList.Entry>
-
children
-