Class ChatSelectionScreen.SelectionListWidget
java.lang.Object
net.minecraft.client.gui.widget.ClickableWidget
net.minecraft.client.gui.widget.ScrollableWidget
net.minecraft.client.gui.widget.ContainerWidget
net.minecraft.client.gui.widget.EntryListWidget<ChatSelectionScreen.SelectionListWidget.Entry>
net.minecraft.client.gui.widget.AlwaysSelectedEntryListWidget<ChatSelectionScreen.SelectionListWidget.Entry>
net.minecraft.client.gui.screen.report.ChatSelectionScreen.SelectionListWidget
- All Implemented Interfaces:
- Drawable,- Element,- Narratable,- Navigable,- ParentElement,- Selectable,- Widget,- MessagesListAdder.MessagesList
- Enclosing class:
- ChatSelectionScreen
@Environment(CLIENT)
public class ChatSelectionScreen.SelectionListWidget
extends AlwaysSelectedEntryListWidget<ChatSelectionScreen.SelectionListWidget.Entry>
implements MessagesListAdder.MessagesList
- Mappings:
- Namespace - Name - named - net/minecraft/client/gui/screen/report/ChatSelectionScreen$SelectionListWidget- intermediary - net/minecraft/class_7543$class_7544- official - fyv$a
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classclassclassprivate static final recordstatic classclassNested classes/interfaces inherited from interface net.minecraft.client.gui.SelectableSelectable.SelectionType
- 
Field SummaryFieldsModifier and TypeFieldDescriptionFields inherited from class net.minecraft.client.gui.widget.EntryListWidgetcenterListVertically, client, headerHeight, itemHeightFields inherited from class net.minecraft.client.gui.widget.ScrollableWidgetSCROLLBAR_WIDTHFields inherited from class net.minecraft.client.gui.widget.ClickableWidgetactive, alpha, height, hovered, visible, widthFields inherited from interface net.minecraft.client.gui.ElementMAX_DOUBLE_CLICK_INTERVAL
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddMessage(int index, ReceivedMessage.ChatMessage message) private voidaddSenderEntry(ReceivedMessage.ChatMessage message, boolean fromReportedPlayer) voidintintgetNeighboringEntry(NavigationDirection navigationDirection) intbooleankeyPressed(int keyCode, int scanCode, int modifiers) Callback for when a key down event has been captured.protected voidrenderEntry(DrawContext context, int mouseX, int mouseY, float delta, int index, int x, int y, int entryWidth, int entryHeight) voidsetScrollY(double scrollY) voidprivate booleanMethods inherited from class net.minecraft.client.gui.widget.AlwaysSelectedEntryListWidgetappendClickableNarrations, getNavigationPathMethods inherited from class net.minecraft.client.gui.widget.EntryListWidgetaddEntry, addEntryToTop, appendNarrations, centerScrollOn, children, clearEntries, drawHeaderAndFooterSeparators, drawMenuListBackground, drawSelectionHighlight, enableScissor, ensureVisible, getContentsHeightWithPadding, getDeltaYPerScroll, getEntry, getEntryAtPosition, getEntryCount, getFirst, getFocused, getHoveredEntry, getNeighboringEntry, getNeighboringEntry, getRowBottom, getRowLeft, getRowRight, getRowTop, getScrollbarX, getSelectedOrNull, getType, hoveredElement, isSelectedEntry, position, position, remove, removeEntry, removeEntryWithoutScrolling, renderDecorations, renderHeader, renderList, renderWidget, replaceEntries, setFocused, setSelectedMethods inherited from class net.minecraft.client.gui.widget.ContainerWidgetisDragging, isFocused, mouseClicked, mouseDragged, mouseReleased, setDragging, setFocusedMethods inherited from class net.minecraft.client.gui.widget.ScrollableWidgetcheckScrollbarDragged, drawScrollbar, getMaxScrollY, getScrollbarThumbHeight, getScrollbarThumbY, getScrollY, mouseScrolled, onRelease, overflows, refreshScrollMethods inherited from class net.minecraft.client.gui.widget.ClickableWidgetappendDefaultNarrations, appendNarrations, drawScrollableText, drawScrollableText, drawScrollableText, forEachChild, getBottom, getHeight, getMessage, getNarrationMessage, getNarrationMessage, getNavigationFocus, getNavigationOrder, getRight, getTooltip, getWidth, getX, getY, isHovered, isMouseOver, isNarratable, isSelected, isValidClickButton, onClick, onDrag, playClickSound, playDownSound, render, setAlpha, setDimensions, setDimensionsAndPosition, setHeight, setMessage, setNavigationOrder, setTooltip, setTooltipDelay, setWidth, setX, setYMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.ElementgetBorder, getNavigationFocus, isMouseOver, mouseMovedMethods inherited from interface net.minecraft.client.gui.navigation.NavigablegetNavigationOrderMethods inherited from interface net.minecraft.client.gui.ParentElementcharTyped, getFocusedPath, keyReleased, mouseScrolledMethods inherited from interface net.minecraft.client.gui.SelectablegetNarratedPartsMethods inherited from interface net.minecraft.client.gui.widget.WidgetsetPosition
- 
Field Details- 
lastSenderEntryPair@Nullable private @Nullable ChatSelectionScreen.SelectionListWidget.SenderEntryPair lastSenderEntryPair- Mappings:
- Namespace - Name - Mixin selector - named - lastSenderEntryPair- Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen$SelectionListWidget;lastSenderEntryPair:Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen$SelectionListWidget$SenderEntryPair;- intermediary - field_39593- Lnet/minecraft/class_7543$class_7544;field_39593:Lnet/minecraft/class_7543$class_7544$class_7547;- official - m- Lfyv$a;m:Lfyv$a$c;
 
 
- 
- 
Constructor Details- 
SelectionListWidget- Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen$SelectionListWidget;<init>(Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen;Lnet/minecraft/client/MinecraftClient;I)V- intermediary - <init>- Lnet/minecraft/class_7543$class_7544;<init>(Lnet/minecraft/class_7543;Lnet/minecraft/class_310;I)V- official - <init>- Lfyv$a;<init>(Lfyv;Lflk;I)V
 
 
- 
- 
Method Details- 
setScrollYpublic void setScrollY(double scrollY) - Overrides:
- setScrollYin class- ScrollableWidget
- Mappings:
- Namespace - Name - Mixin selector - named - setScrollY- Lnet/minecraft/client/gui/widget/ScrollableWidget;setScrollY(D)V- intermediary - method_44382- Lnet/minecraft/class_7528;method_44382(D)V- official - a- Lfom;a(D)V
 
- 
addMessage- Specified by:
- addMessagein interface- MessagesListAdder.MessagesList
- Mappings:
- Namespace - Name - Mixin selector - named - addMessage- Lnet/minecraft/client/session/report/MessagesListAdder$MessagesList;addMessage(ILnet/minecraft/client/session/report/log/ReceivedMessage$ChatMessage;)V- intermediary - method_44490- Lnet/minecraft/class_7541$class_7542;method_44490(ILnet/minecraft/class_7557$class_7558;)V- official - a- Lfyu$a;a(ILggy$a;)V
 
- 
addSenderEntry- Mappings:
- Namespace - Name - Mixin selector - named - addSenderEntry- Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen$SelectionListWidget;addSenderEntry(Lnet/minecraft/client/session/report/log/ReceivedMessage$ChatMessage;Z)V- intermediary - method_44511- Lnet/minecraft/class_7543$class_7544;method_44511(Lnet/minecraft/class_7557$class_7558;Z)V- official - a- Lfyv$a;a(Lggy$a;Z)V
 
- 
addText- Specified by:
- addTextin interface- MessagesListAdder.MessagesList
- Mappings:
- Namespace - Name - Mixin selector - named - addText- Lnet/minecraft/client/session/report/MessagesListAdder$MessagesList;addText(Lnet/minecraft/text/Text;)V- intermediary - method_44492- Lnet/minecraft/class_7541$class_7542;method_44492(Lnet/minecraft/class_2561;)V- official - a- Lfyu$a;a(Lwp;)V
 
- 
getRowWidthpublic int getRowWidth()- Overrides:
- getRowWidthin class- EntryListWidget<ChatSelectionScreen.SelectionListWidget.Entry>
- Mappings:
- Namespace - Name - Mixin selector - named - getRowWidth- Lnet/minecraft/client/gui/widget/EntryListWidget;getRowWidth()I- intermediary - method_25322- Lnet/minecraft/class_350;method_25322()I- official - a- Lfon;a()I
 
- 
getDisplayedItemCountpublic int getDisplayedItemCount()- Mappings:
- Namespace - Name - Mixin selector - named - getDisplayedItemCount- Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen$SelectionListWidget;getDisplayedItemCount()I- intermediary - method_44513- Lnet/minecraft/class_7543$class_7544;method_44513()I- official - b- Lfyv$a;b()I
 
- 
renderEntryprotected void renderEntry(DrawContext context, int mouseX, int mouseY, float delta, int index, int x, int y, int entryWidth, int entryHeight) - Overrides:
- renderEntryin class- EntryListWidget<ChatSelectionScreen.SelectionListWidget.Entry>
- Mappings:
- Namespace - Name - Mixin selector - named - renderEntry- Lnet/minecraft/client/gui/widget/EntryListWidget;renderEntry(Lnet/minecraft/client/gui/DrawContext;IIFIIIII)V- intermediary - method_44397- Lnet/minecraft/class_350;method_44397(Lnet/minecraft/class_332;IIFIIIII)V- official - a- Lfon;a(Lfof;IIFIIIII)V
 
- 
shouldHighlight- Mappings:
- Namespace - Name - Mixin selector - named - shouldHighlight- Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen$SelectionListWidget;shouldHighlight(Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen$SelectionListWidget$Entry;)Z- intermediary - method_44693- Lnet/minecraft/class_7543$class_7544;method_44693(Lnet/minecraft/class_7543$class_7544$class_7546;)Z- official - b- Lfyv$a;b(Lfyv$a$b;)Z
 
- 
setSelected- Overrides:
- setSelectedin class- EntryListWidget<ChatSelectionScreen.SelectionListWidget.Entry>
- Mappings:
- Namespace - Name - Mixin selector - named - setSelected- Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen$SelectionListWidget;setSelected(Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen$SelectionListWidget$Entry;)V- intermediary - method_48283- Lnet/minecraft/class_7543$class_7544;method_48283(Lnet/minecraft/class_7543$class_7544$class_7546;)V- official - a- Lfyv$a;a(Lfyv$a$b;)V
 
- 
keyPressedpublic boolean keyPressed(int keyCode, int scanCode, int modifiers) Callback for when a key down event has been captured. The key code is identified by the constants inGLFWclass.- Specified by:
- keyPressedin interface- Element
- Specified by:
- keyPressedin interface- ParentElement
- Parameters:
- keyCode- the named key code of the event as described in the- GLFWclass
- scanCode- the unique/platform-specific scan code of the keyboard input
- modifiers- a GLFW bitfield describing the modifier keys that are held down (see GLFW Modifier key flags)
- Returns:
- trueto indicate that the event handling is successful/valid
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - keyPressed- Lnet/minecraft/client/gui/Element;keyPressed(III)Z- intermediary - method_25404- Lnet/minecraft/class_364;method_25404(III)Z- official - a- Lfqr;a(III)Z
 
- 
getContextMessageYpublic int getContextMessageY()- Mappings:
- Namespace - Name - Mixin selector - named - getContextMessageY- Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen$SelectionListWidget;getContextMessageY()I- intermediary - method_44665- Lnet/minecraft/class_7543$class_7544;method_44665()I- official - c- Lfyv$a;c()I
 
 
-