类 ChatSelectionScreen.ChatSelectionList
java.lang.Object
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
net.minecraft.client.gui.components.AbstractSelectionList<E>
net.minecraft.client.gui.components.ObjectSelectionList<ChatSelectionScreen.ChatSelectionList.Entry>
net.minecraft.client.gui.screens.reporting.ChatSelectionScreen.ChatSelectionList
- 所有已实现的接口:
ContainerEventHandler
,GuiEventListener
,Renderable
,TabOrderedElement
,NarratableEntry
,NarrationSupplier
,ChatSelectionLogFiller.Output
- 封闭类:
- ChatSelectionScreen
public class ChatSelectionScreen.ChatSelectionList
extends ObjectSelectionList<ChatSelectionScreen.ChatSelectionList.Entry>
implements ChatSelectionLogFiller.Output
-
嵌套类概要
嵌套类修饰符和类型类说明class
class
(专用程序包) static final record
class
class
class
从接口继承的嵌套类/接口 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
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明void
acceptDivider
(Component pText) void
acceptMessage
(int pChatId, LoggedChatMessage.Player pPlayerMessage) int
int
int
protected int
boolean
keyPressed
(int pKeyCode, int pScanCode, int pModifiers) nextEntry
(ScreenDirection pDirection) protected void
renderItem
(GuiGraphics pGuiGraphics, int pMouseX, int pMouseY, float pPartialTick, int pIndex, int pLeft, int pTop, int pWidth, int pHeight) void
setScrollAmount
(double pScroll) void
private boolean
private void
updateHeading
(LoggedChatMessage.Player pLoggedPlayerChatMessage, boolean pCanReport) 从类继承的方法 net.minecraft.client.gui.components.ObjectSelectionList
nextFocusPath, updateNarration
从类继承的方法 net.minecraft.client.gui.components.AbstractSelectionList
addEntry, addEntryToTop, centerScrollOn, children, clearEntries, clickedHeader, 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, remove, removeEntry, removeEntryFromTop, render, renderBackground, renderDecorations, renderHeader, renderList, renderSelection, replaceEntries, setFocused, setLeftPos, setRenderBackground, setRenderHeader, setRenderSelection, setRenderTopAndBottom, 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, 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
-
字段详细资料
-
previousHeading
-
-
构造器详细资料
-
ChatSelectionList
-
-
方法详细资料
-
setScrollAmount
public void setScrollAmount(double pScroll) -
acceptMessage
- 指定者:
acceptMessage
在接口中ChatSelectionLogFiller.Output
-
updateHeading
-
acceptDivider
- 指定者:
acceptDivider
在接口中ChatSelectionLogFiller.Output
-
getScrollbarPosition
protected int getScrollbarPosition() -
getRowWidth
public int getRowWidth() -
getMaxVisibleEntries
public int getMaxVisibleEntries() -
renderItem
protected void renderItem(GuiGraphics pGuiGraphics, int pMouseX, int pMouseY, float pPartialTick, int pIndex, int pLeft, int pTop, int pWidth, int pHeight) -
shouldHighlightEntry
-
setSelected
-
keyPressed
public boolean keyPressed(int pKeyCode, int pScanCode, int pModifiers) - 指定者:
keyPressed
在接口中ContainerEventHandler
- 指定者:
keyPressed
在接口中GuiEventListener
-