Class ChatSelectionScreen.ChatSelectionList
java.lang.Object
net.minecraft.client.gui.components.AbstractWidget
net.minecraft.client.gui.components.AbstractContainerWidget
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,- LayoutElement,- NarratableEntry,- NarrationSupplier,- ChatSelectionLogFiller.Output,- IAbstractWidgetExtension
- 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, itemHeight, minecraft, SCROLLBAR_WIDTHFields inherited from class net.minecraft.client.gui.components.AbstractWidgetactive, alpha, height, isHovered, packedFGColor, UNSET_FG_COLOR, visible, widthFields 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, updateWidgetNarrationMethods inherited from class net.minecraft.client.gui.components.AbstractSelectionListaddEntry, addEntryToTop, centerScrollOn, children, clearEntries, clickedHeader, enableScissor, ensureVisible, getEntry, getEntryAtPosition, getFirstElement, getFocused, getHovered, getItemCount, getMaxPosition, getMaxScroll, getRowBottom, getRowLeft, getRowRight, getRowTop, getScrollAmount, getSelected, isMouseOver, isSelectedItem, isValidMouseClick, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, narrateListElementPosition, narrationPriority, nextEntry, nextEntry, remove, removeEntry, removeEntryFromTop, renderDecorations, renderHeader, renderList, renderSelection, renderWidget, replaceEntries, setFocused, setRenderBackground, setRenderHeader, updateScrollingStateMethods inherited from class net.minecraft.client.gui.components.AbstractContainerWidgetisDragging, isFocused, setDragging, setFocusedMethods inherited from class net.minecraft.client.gui.components.AbstractWidgetclearFGColor, clicked, createNarrationMessage, defaultButtonNarrationText, getBottom, getFGColor, getHeight, getMessage, getRectangle, getRight, getTabOrderGroup, getTooltip, getWidth, getX, getY, isActive, isHovered, isHoveredOrFocused, isValidClickButton, onClick, onDrag, onRelease, playDownSound, render, renderScrollingString, renderScrollingString, renderScrollingString, setAlpha, setFGColor, setHeight, setMessage, setRectangle, setSize, setTabOrderGroup, setTooltip, setTooltipDelay, setWidth, setX, setY, updateNarration, visitWidgets, wrapDefaultNarrationMessageMethods 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, keyReleased, magicalSpecialHackyFocusMethods inherited from interface net.minecraft.client.gui.components.events.GuiEventListenergetRectangle, mouseMovedMethods inherited from interface net.neoforged.neoforge.client.extensions.IAbstractWidgetExtensiononClickMethods inherited from interface net.minecraft.client.gui.layouts.LayoutElementsetPositionMethods 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
 
 
-