类 ContainerObjectSelectionList<E extends ContainerObjectSelectionList.Entry<E>>
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<E>
net.minecraft.client.gui.components.ContainerObjectSelectionList<E>
- 所有已实现的接口:
ContainerEventHandler
,GuiEventListener
,Renderable
,TabOrderedElement
,LayoutElement
,NarratableEntry
,NarrationSupplier
- 直接已知子类:
EditGameRulesScreen.RuleList
,KeyBindsList
,OptionsList
,RealmsBackupScreen.BackupObjectSelectionList
,RealmsPlayerScreen.InvitedObjectSelectionList
,ServerLinksScreen.LinkList
,SocialInteractionsPlayerList
public abstract class ContainerObjectSelectionList<E extends ContainerObjectSelectionList.Entry<E>>
extends AbstractSelectionList<E>
-
嵌套类概要
嵌套类修饰符和类型类说明static class
从类继承的嵌套类/接口 net.minecraft.client.gui.components.AbstractSelectionList
AbstractSelectionList.TrackedList
从接口继承的嵌套类/接口 net.minecraft.client.gui.narration.NarratableEntry
NarratableEntry.NarrationPriority
-
字段概要
从类继承的字段 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
-
构造器概要
构造器构造器说明ContainerObjectSelectionList
(Minecraft p_94010_, int p_94011_, int p_94012_, int p_94013_, int p_94014_) ContainerObjectSelectionList
(Minecraft p_377427_, int p_375569_, int p_376645_, int p_377797_, int p_376815_, int p_377448_) -
方法概要
修饰符和类型方法说明protected boolean
isSelectedItem
(int p_94019_) nextFocusPath
(FocusNavigationEvent p_265385_) void
setFocused
(GuiEventListener p_265559_) void
updateWidgetNarration
(NarrationElementOutput p_313248_) 从类继承的方法 net.minecraft.client.gui.components.AbstractSelectionList
addEntry, addEntryToTop, bindEntryToSelf, centerScrollOn, children, clearEntries, contentHeight, enableScissor, ensureVisible, getChildAt, getEntry, getEntryAtPosition, getFirstElement, getFocused, getHovered, getItemCount, getRowBottom, getRowLeft, getRowRight, getRowTop, getRowWidth, getSelected, narrateListElementPosition, nextEntry, nextEntry, nextEntry, remove, removeEntry, removeEntryFromTop, renderDecorations, renderHeader, renderItem, renderListBackground, renderListItems, renderListSeparators, renderSelection, renderWidget, replaceEntries, scrollBarX, scrollRate, setSelected, setSelectedIndex, updateSize, updateSizeAndPosition
从类继承的方法 net.minecraft.client.gui.components.AbstractContainerWidget
isDragging, isFocused, mouseClicked, 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
-
构造器详细资料
-
ContainerObjectSelectionList
public ContainerObjectSelectionList(Minecraft p_94010_, int p_94011_, int p_94012_, int p_94013_, int p_94014_) -
ContainerObjectSelectionList
public ContainerObjectSelectionList(Minecraft p_377427_, int p_375569_, int p_376645_, int p_377797_, int p_376815_, int p_377448_)
-
-
方法详细资料
-
setFocused
- 指定者:
setFocused
在接口中ContainerEventHandler
- 覆盖:
setFocused
在类中AbstractSelectionList<E extends ContainerObjectSelectionList.Entry<E>>
-
narrationPriority
- 指定者:
narrationPriority
在接口中NarratableEntry
- 覆盖:
narrationPriority
在类中AbstractSelectionList<E extends ContainerObjectSelectionList.Entry<E>>
-
isSelectedItem
protected boolean isSelectedItem(int p_94019_) - 覆盖:
isSelectedItem
在类中AbstractSelectionList<E extends ContainerObjectSelectionList.Entry<E>>
-
updateWidgetNarration
- 指定者:
updateWidgetNarration
在类中AbstractWidget