类 StatsScreen.ItemStatisticsList
java.lang.Object
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
net.minecraft.client.gui.components.AbstractSelectionList<E>
net.minecraft.client.gui.components.ObjectSelectionList<StatsScreen.ItemStatisticsList.ItemRow>
net.minecraft.client.gui.screens.achievement.StatsScreen.ItemStatisticsList
- 所有已实现的接口:
ContainerEventHandler
,GuiEventListener
,Renderable
,TabOrderedElement
,NarratableEntry
,NarrationSupplier
- 封闭类:
- StatsScreen
class StatsScreen.ItemStatisticsList
extends ObjectSelectionList<StatsScreen.ItemStatisticsList.ItemRow>
-
嵌套类概要
嵌套类修饰符和类型类说明(专用程序包) class
(专用程序包) class
从类继承的嵌套类/接口 net.minecraft.client.gui.components.ObjectSelectionList
ObjectSelectionList.Entry<E extends ObjectSelectionList.Entry<E>>
从接口继承的嵌套类/接口 net.minecraft.client.gui.narration.NarratableEntry
NarratableEntry.NarrationPriority
-
字段概要
字段修饰符和类型字段说明protected int
private final int[]
protected final Comparator<StatsScreen.ItemStatisticsList.ItemRow>
protected StatType<?>
protected int
从类继承的字段 net.minecraft.client.gui.components.AbstractSelectionList
centerListVertically, headerHeight, height, itemHeight, minecraft, width, x0, x1, y0, y1
从接口继承的字段 net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected void
clickedHeader
(int pMouseX, int pMouseY) private StatType<?>
getColumn
(int pIndex) private int
getColumnIndex
(StatType<?> pStatType) int
protected int
protected Component
protected void
renderBackground
(GuiGraphics pGuiGraphics) protected void
renderDecorations
(GuiGraphics pGuiGraphics, int pMouseX, int pMouseY) protected void
renderHeader
(GuiGraphics pGuiGraphics, int pX, int pY) protected void
renderMousehoverTooltip
(GuiGraphics pGuiGraphics, Component pTooltip, int pMouseX, int pMouseY) protected void
sortByColumn
(StatType<?> pStatType) 从类继承的方法 net.minecraft.client.gui.components.ObjectSelectionList
nextFocusPath, updateNarration
从类继承的方法 net.minecraft.client.gui.components.AbstractSelectionList
addEntry, addEntryToTop, centerScrollOn, children, clearEntries, enableScissor, ensureVisible, getBottom, getEntry, getEntryAtPosition, getFirstElement, getFocused, getHeight, getHovered, getItemCount, getLeft, getMaxPosition, getMaxScroll, getRectangle, getRight, getRowBottom, getRowLeft, getRowRight, getRowTop, getScrollAmount, getScrollBottom, getSelected, getTop, getWidth, isMouseOver, isSelectedItem, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, narrateListElementPosition, narrationPriority, nextEntry, nextEntry, nextEntry, remove, removeEntry, removeEntryFromTop, render, renderItem, renderList, renderSelection, replaceEntries, setFocused, setLeftPos, setRenderBackground, setRenderHeader, setRenderSelection, setRenderTopAndBottom, setScrollAmount, setSelected, updateScrollingState, updateSize
从类继承的方法 net.minecraft.client.gui.components.events.AbstractContainerEventHandler
isDragging, setDragging
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraft.client.gui.components.events.ContainerEventHandler
charTyped, getChildAt, getCurrentFocusPath, isFocused, keyPressed, keyReleased, magicalSpecialHackyFocus, setFocused
从接口继承的方法 net.minecraft.client.gui.components.events.GuiEventListener
mouseMoved
从接口继承的方法 net.minecraft.client.gui.narration.NarratableEntry
isActive
从接口继承的方法 net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
字段详细资料
-
blockColumns
-
itemColumns
-
iconOffsets
private final int[] iconOffsets -
headerPressed
protected int headerPressed -
itemStatSorter
-
sortColumn
-
sortOrder
protected int sortOrder
-
-
构造器详细资料
-
ItemStatisticsList
-
-
方法详细资料
-
renderHeader
-
getRowWidth
public int getRowWidth() -
getScrollbarPosition
protected int getScrollbarPosition() -
renderBackground
-
clickedHeader
protected void clickedHeader(int pMouseX, int pMouseY) -
getColumn
-
getColumnIndex
-
renderDecorations
-
renderMousehoverTooltip
protected void renderMousehoverTooltip(GuiGraphics pGuiGraphics, @Nullable Component pTooltip, int pMouseX, int pMouseY) -
getString
-
sortByColumn
-