类 ContainerObjectSelectionList<E extends ContainerObjectSelectionList.Entry<E>>
java.lang.Object
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
net.minecraft.client.gui.components.AbstractSelectionList<E>
net.minecraft.client.gui.components.ContainerObjectSelectionList<E>
- 所有已实现的接口:
ContainerEventHandler
,GuiEventListener
,Renderable
,TabOrderedElement
,NarratableEntry
,NarrationSupplier
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, height, itemHeight, minecraft, width, x0, x1, y0, y1
从接口继承的字段 net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS
-
构造器概要
构造器构造器说明ContainerObjectSelectionList
(Minecraft pMinecraft, int pWidth, int pHeight, int pY0, int pY1, int pItemHeight) -
方法概要
修饰符和类型方法说明protected boolean
isSelectedItem
(int pIndex) nextFocusPath
(FocusNavigationEvent pEvent) void
setFocused
(GuiEventListener pListener) void
updateNarration
(NarrationElementOutput pNarrationElementOutput) 从类继承的方法 net.minecraft.client.gui.components.AbstractSelectionList
addEntry, addEntryToTop, bindEntryToSelf, centerScrollOn, children, clearEntries, clickedHeader, enableScissor, ensureVisible, getBottom, getEntry, getEntryAtPosition, getFirstElement, getFocused, getHeight, getHovered, getItemCount, getLeft, getMaxPosition, getMaxScroll, getRectangle, getRight, getRowBottom, getRowLeft, getRowRight, getRowTop, getRowWidth, getScrollAmount, getScrollbarPosition, getScrollBottom, getSelected, getTop, getWidth, isMouseOver, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, narrateListElementPosition, nextEntry, nextEntry, nextEntry, remove, removeEntry, removeEntryFromTop, render, renderBackground, renderDecorations, renderHeader, renderItem, renderList, renderSelection, replaceEntries, 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
-
构造器详细资料
-
ContainerObjectSelectionList
public ContainerObjectSelectionList(Minecraft pMinecraft, int pWidth, int pHeight, int pY0, int pY1, int pItemHeight)
-
-
方法详细资料
-
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 pIndex) - 覆盖:
isSelectedItem
在类中AbstractSelectionList<E extends ContainerObjectSelectionList.Entry<E>>
-
updateNarration