Class 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
- All Implemented Interfaces:
- ContainerEventHandler,- GuiEventListener,- Renderable,- TabOrderedElement,- NarratableEntry,- NarrationSupplier,- ChatSelectionLogFiller.Output
- Enclosing class:
- ChatSelectionScreen
public class ChatSelectionScreen.ChatSelectionList
extends ObjectSelectionList<ChatSelectionScreen.ChatSelectionList.Entry>
implements ChatSelectionLogFiller.Output
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionclassclass(package private) static final recordclassclassclassNested classes/interfaces inherited from interface net.minecraft.client.gui.narration.NarratableEntryNarratableEntry.NarrationPriority
- 
Field SummaryFieldsModifier and TypeFieldDescriptionFields inherited from class net.minecraft.client.gui.components.AbstractSelectionListcenterListVertically, headerHeight, height, itemHeight, minecraft, SCROLLBAR_WIDTH, width, x0, x1, y0, y1Fields inherited from interface net.minecraft.client.gui.components.events.GuiEventListenerDOUBLE_CLICK_THRESHOLD_MS
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidacceptDivider(Component p_239876_) voidacceptMessage(int p_242846_, LoggedChatMessage.Player p_242909_) intintintprotected intbooleankeyPressed(int p_239322_, int p_239323_, int p_239324_) nextEntry(ScreenDirection p_265203_) protected voidrenderItem(GuiGraphics p_281532_, int p_239775_, int p_239776_, float p_239777_, int p_239778_, int p_239779_, int p_239780_, int p_239781_, int p_239782_) voidsetScrollAmount(double p_239021_) voidprivate booleanprivate voidupdateHeading(LoggedChatMessage.Player p_242229_, boolean p_240019_) Methods inherited from class net.minecraft.client.gui.components.ObjectSelectionListnextFocusPath, updateNarrationMethods inherited from class net.minecraft.client.gui.components.AbstractSelectionListaddEntry, 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, isValidMouseClick, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, narrateListElementPosition, narrationPriority, nextEntry, nextEntry, remove, removeEntry, removeEntryFromTop, render, renderDecorations, renderHeader, renderList, renderSelection, replaceEntries, setFocused, setLeftPos, setRenderBackground, setRenderHeader, updateScrollingState, updateSizeMethods inherited from class net.minecraft.client.gui.components.events.AbstractContainerEventHandlerisDragging, setDraggingMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.components.events.ContainerEventHandlercharTyped, getChildAt, getCurrentFocusPath, isFocused, keyReleased, magicalSpecialHackyFocus, setFocusedMethods inherited from interface net.minecraft.client.gui.components.events.GuiEventListenermouseMovedMethods inherited from interface net.minecraft.client.gui.narration.NarratableEntryisActiveMethods inherited from interface net.minecraft.client.gui.components.TabOrderedElementgetTabOrderGroup
- 
Field Details- 
previousHeading
 
- 
- 
Constructor Details- 
ChatSelectionList
 
- 
- 
Method Details- 
setScrollAmountpublic void setScrollAmount(double p_239021_) - Overrides:
- setScrollAmountin class- AbstractSelectionList<ChatSelectionScreen.ChatSelectionList.Entry>
 
- 
acceptMessage- Specified by:
- acceptMessagein interface- ChatSelectionLogFiller.Output
 
- 
updateHeading
- 
acceptDivider- Specified by:
- acceptDividerin interface- ChatSelectionLogFiller.Output
 
- 
getScrollbarPositionprotected int getScrollbarPosition()- Overrides:
- getScrollbarPositionin class- AbstractSelectionList<ChatSelectionScreen.ChatSelectionList.Entry>
 
- 
getRowWidthpublic int getRowWidth()- Overrides:
- getRowWidthin class- AbstractSelectionList<ChatSelectionScreen.ChatSelectionList.Entry>
 
- 
getMaxVisibleEntriespublic int getMaxVisibleEntries()
- 
renderItemprotected void renderItem(GuiGraphics p_281532_, int p_239775_, int p_239776_, float p_239777_, int p_239778_, int p_239779_, int p_239780_, int p_239781_, int p_239782_) - Overrides:
- renderItemin class- AbstractSelectionList<ChatSelectionScreen.ChatSelectionList.Entry>
 
- 
shouldHighlightEntry
- 
setSelected- Overrides:
- setSelectedin class- AbstractSelectionList<ChatSelectionScreen.ChatSelectionList.Entry>
 
- 
keyPressedpublic boolean keyPressed(int p_239322_, int p_239323_, int p_239324_) - Specified by:
- keyPressedin interface- ContainerEventHandler
- Specified by:
- keyPressedin interface- GuiEventListener
 
 
-