类 StatsScreen.ItemStatisticsList
java.lang.Object
net.minecraft.client.gui.components.AbstractWidget
net.minecraft.client.gui.components.AbstractScrollArea
net.minecraft.client.gui.components.AbstractContainerWidget
net.minecraft.client.gui.components.AbstractSelectionList<StatsScreen.ItemStatisticsList.ItemRow>
net.minecraft.client.gui.components.ObjectSelectionList<StatsScreen.ItemStatisticsList.ItemRow>
net.minecraft.client.gui.screens.achievement.StatsScreen.ItemStatisticsList
- 所有已实现的接口:
ContainerEventHandler
,GuiEventListener
,Renderable
,TabOrderedElement
,LayoutElement
,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 ResourceLocation[]
protected final Comparator
<StatsScreen.ItemStatisticsList.ItemRow> private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
protected StatType
<?> protected int
从类继承的字段 net.minecraft.client.gui.components.AbstractSelectionList
centerListVertically, headerHeight, itemHeight, minecraft
从类继承的字段 net.minecraft.client.gui.components.AbstractScrollArea
SCROLLBAR_WIDTH
从类继承的字段 net.minecraft.client.gui.components.AbstractWidget
active, alpha, height, isHovered, packedFGColor, UNSET_FG_COLOR, visible, width
从接口继承的字段 net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected boolean
clickedHeader
(int p_97036_, int p_97037_) private StatType
<?> getColumn
(int p_97034_) private int
getColumnIndex
(StatType<?> p_97059_) (专用程序包) int
getColumnX
(int p_329609_) int
boolean
mouseClicked
(double p_378023_, double p_375495_, int p_376505_) protected void
renderDecorations
(GuiGraphics p_283203_, int p_97046_, int p_97047_) protected void
renderHeader
(GuiGraphics p_282214_, int p_97050_, int p_97051_) protected void
sortByColumn
(StatType<?> p_97039_) 从类继承的方法 net.minecraft.client.gui.components.ObjectSelectionList
nextFocusPath, updateWidgetNarration
从类继承的方法 net.minecraft.client.gui.components.AbstractSelectionList
addEntry, addEntryToTop, centerScrollOn, children, clearEntries, contentHeight, enableScissor, ensureVisible, getChildAt, getEntry, getEntryAtPosition, getFirstElement, getFocused, getHovered, getItemCount, getRowBottom, getRowLeft, getRowRight, getRowTop, getSelected, isSelectedItem, narrateListElementPosition, narrationPriority, nextEntry, nextEntry, nextEntry, remove, removeEntry, removeEntryFromTop, renderItem, renderListBackground, renderListItems, renderListSeparators, renderSelection, renderWidget, replaceEntries, scrollBarX, scrollRate, setFocused, setSelected, setSelectedIndex, updateSize, updateSizeAndPosition
从类继承的方法 net.minecraft.client.gui.components.AbstractContainerWidget
isDragging, isFocused, mouseDragged, mouseReleased, setDragging, setFocused
从类继承的方法 net.minecraft.client.gui.components.AbstractScrollArea
maxScrollAmount, mouseScrolled, onRelease, refreshScrollAmount, renderScrollbar, scrollAmount, scrollbarVisible, scrollBarY, scrollerHeight, setScrollAmount, updateScrolling
从类继承的方法 net.minecraft.client.gui.components.AbstractWidget
clearFGColor, createNarrationMessage, defaultButtonNarrationText, getBottom, getFGColor, getHeight, getMessage, getRectangle, getRight, getTabOrderGroup, getTooltip, getWidth, getX, getY, isActive, isHovered, isHoveredOrFocused, isMouseOver, isValidClickButton, onClick, onDrag, playButtonClickSound, playDownSound, render, renderScrollingString, renderScrollingString, renderScrollingString, setAlpha, setFGColor, setHeight, setMessage, setRectangle, setSize, setTabOrderGroup, setTooltip, setTooltipDelay, setWidth, setX, setY, updateNarration, visitWidgets, wrapDefaultNarrationMessage
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraft.client.gui.components.events.ContainerEventHandler
charTyped, getCurrentFocusPath, keyPressed, keyReleased, mouseScrolled
从接口继承的方法 net.minecraft.client.gui.components.events.GuiEventListener
getBorderForArrowNavigation, getRectangle, isMouseOver, mouseMoved
从接口继承的方法 net.minecraft.client.gui.layouts.LayoutElement
setPosition
从接口继承的方法 net.minecraft.client.gui.narration.NarratableEntry
getNarratables
从接口继承的方法 net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
字段详细资料
-
SLOT_BG_SIZE
private static final int SLOT_BG_SIZE- 另请参阅:
-
SLOT_STAT_HEIGHT
private static final int SLOT_STAT_HEIGHT- 另请参阅:
-
SLOT_BG_Y
private static final int SLOT_BG_Y- 另请参阅:
-
SORT_NONE
private static final int SORT_NONE- 另请参阅:
-
SORT_DOWN
private static final int SORT_DOWN- 另请参阅:
-
SORT_UP
private static final int SORT_UP- 另请参阅:
-
iconSprites
-
blockColumns
-
itemColumns
-
itemStatSorter
-
sortColumn
-
headerPressed
protected int headerPressed -
sortOrder
protected int sortOrder
-
-
构造器详细资料
-
ItemStatisticsList
-
-
方法详细资料
-
getColumnX
int getColumnX(int p_329609_) -
renderHeader
-
mouseClicked
public boolean mouseClicked(double p_378023_, double p_375495_, int p_376505_) - 指定者:
mouseClicked
在接口中ContainerEventHandler
- 指定者:
mouseClicked
在接口中GuiEventListener
- 覆盖:
mouseClicked
在类中AbstractContainerWidget
-
clickedHeader
protected boolean clickedHeader(int p_97036_, int p_97037_) -
getRowWidth
public int getRowWidth() -
getColumn
-
getColumnIndex
-
renderDecorations
-
sortByColumn
-