Class ChatSelectionScreen.SelectionListWidget
java.lang.Object
net.minecraft.client.gui.widget.ClickableWidget
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 official fnx$aintermediary net/minecraft/class_7543$class_7544named net/minecraft/client/gui/screen/report/ChatSelectionScreen$SelectionListWidget
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassclassclassprivate static final recordclassclassNested classes/interfaces inherited from interface net.minecraft.client.gui.Selectable
Selectable.SelectionType -
Field Summary
FieldsModifier and TypeFieldDescriptionFields inherited from class net.minecraft.client.gui.widget.EntryListWidget
centerListVertically, client, field_45909, headerHeight, itemHeightFields inherited from class net.minecraft.client.gui.widget.ClickableWidget
active, alpha, height, hovered, visible, widthFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
Constructors -
Method Summary
Modifier 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) voidsetScrollAmount(double amount) voidprivate booleanMethods inherited from class net.minecraft.client.gui.widget.AlwaysSelectedEntryListWidget
appendClickableNarrations, getNavigationPathMethods inherited from class net.minecraft.client.gui.widget.EntryListWidget
addEntry, addEntryToTop, appendNarrations, centerScrollOn, children, clearEntries, clickedHeader, drawHeaderAndFooterSeparators, drawMenuListBackground, drawSelectionHighlight, enableScissor, ensureVisible, getEntry, getEntryAtPosition, getEntryCount, getFirst, getFocused, getHoveredEntry, getMaxPosition, getMaxScroll, getNeighboringEntry, getNeighboringEntry, getRowBottom, getRowLeft, getRowRight, getRowTop, getScrollAmount, getScrollbarPositionX, getSelectedOrNull, getType, isMouseOver, isScrollbarVisible, isSelectButton, isSelectedEntry, method_57718, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, position, position, remove, removeEntry, removeEntryWithoutScrolling, renderDecorations, renderHeader, renderList, renderWidget, replaceEntries, setFocused, setRenderHeader, updateScrollingStateMethods inherited from class net.minecraft.client.gui.widget.ContainerWidget
isDragging, isFocused, setDragging, setFocusedMethods inherited from class net.minecraft.client.gui.widget.ClickableWidget
appendDefaultNarrations, appendNarrations, clicked, drawBackground, drawScrollableText, drawScrollableText, drawScrollableText, forEachChild, getBottom, getHeight, getMessage, getNarrationMessage, getNarrationMessage, getNavigationFocus, getNavigationOrder, getRight, getTooltip, getWidth, getX, getY, isHovered, isNarratable, isSelected, isValidClickButton, onClick, onDrag, onRelease, playDownSound, render, setAlpha, setDimensions, setDimensionsAndPosition, setHeight, setMessage, setNavigationOrder, setTooltip, setTooltipDelay, setWidth, setX, setYMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.Element
getNavigationFocus, mouseMovedMethods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrderMethods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, getFocusedPath, hoveredElement, keyReleasedMethods inherited from interface net.minecraft.client.gui.widget.Widget
setPosition
-
Field Details
-
lastSenderEntryPair
@Nullable private @Nullable ChatSelectionScreen.SelectionListWidget.SenderEntryPair lastSenderEntryPair- Mappings:
Namespace Name Mixin selector official mLfnx$a;m:Lfnx$a$c;intermediary field_39593Lnet/minecraft/class_7543$class_7544;field_39593:Lnet/minecraft/class_7543$class_7544$class_7547;named lastSenderEntryPairLnet/minecraft/client/gui/screen/report/ChatSelectionScreen$SelectionListWidget;lastSenderEntryPair:Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen$SelectionListWidget$SenderEntryPair;
-
-
Constructor Details
-
SelectionListWidget
- Mappings:
Namespace Name Mixin selector official <init>Lfnx$a;<init>(Lfnx;Lfby;I)Vintermediary <init>Lnet/minecraft/class_7543$class_7544;<init>(Lnet/minecraft/class_7543;Lnet/minecraft/class_310;I)Vnamed <init>Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen$SelectionListWidget;<init>(Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen;Lnet/minecraft/client/MinecraftClient;I)V
-
-
Method Details
-
setScrollAmount
public void setScrollAmount(double amount) - Overrides:
setScrollAmountin classEntryListWidget<ChatSelectionScreen.SelectionListWidget.Entry>- Mappings:
Namespace Name Mixin selector official aLfdt;a(D)Vintermediary method_25307Lnet/minecraft/class_350;method_25307(D)Vnamed setScrollAmountLnet/minecraft/client/gui/widget/EntryListWidget;setScrollAmount(D)V
-
addMessage
- Specified by:
addMessagein interfaceMessagesListAdder.MessagesList- Mappings:
Namespace Name Mixin selector official aLfnw$a;a(ILfvn$a;)Vintermediary method_44490Lnet/minecraft/class_7541$class_7542;method_44490(ILnet/minecraft/class_7557$class_7558;)Vnamed addMessageLnet/minecraft/client/session/report/MessagesListAdder$MessagesList;addMessage(ILnet/minecraft/client/session/report/log/ReceivedMessage$ChatMessage;)V
-
addSenderEntry
- Mappings:
Namespace Name Mixin selector official aLfnx$a;a(Lfvn$a;Z)Vintermediary method_44511Lnet/minecraft/class_7543$class_7544;method_44511(Lnet/minecraft/class_7557$class_7558;Z)Vnamed addSenderEntryLnet/minecraft/client/gui/screen/report/ChatSelectionScreen$SelectionListWidget;addSenderEntry(Lnet/minecraft/client/session/report/log/ReceivedMessage$ChatMessage;Z)V
-
addText
- Specified by:
addTextin interfaceMessagesListAdder.MessagesList- Mappings:
Namespace Name Mixin selector official aLfnw$a;a(Lwi;)Vintermediary method_44492Lnet/minecraft/class_7541$class_7542;method_44492(Lnet/minecraft/class_2561;)Vnamed addTextLnet/minecraft/client/session/report/MessagesListAdder$MessagesList;addText(Lnet/minecraft/text/Text;)V
-
getRowWidth
public int getRowWidth()- Overrides:
getRowWidthin classEntryListWidget<ChatSelectionScreen.SelectionListWidget.Entry>- Mappings:
Namespace Name Mixin selector official bLfdt;b()Iintermediary method_25322Lnet/minecraft/class_350;method_25322()Inamed getRowWidthLnet/minecraft/client/gui/widget/EntryListWidget;getRowWidth()I
-
getDisplayedItemCount
public int getDisplayedItemCount()- Mappings:
Namespace Name Mixin selector official dLfnx$a;d()Iintermediary method_44513Lnet/minecraft/class_7543$class_7544;method_44513()Inamed getDisplayedItemCountLnet/minecraft/client/gui/screen/report/ChatSelectionScreen$SelectionListWidget;getDisplayedItemCount()I
-
renderEntry
protected void renderEntry(DrawContext context, int mouseX, int mouseY, float delta, int index, int x, int y, int entryWidth, int entryHeight) - Overrides:
renderEntryin classEntryListWidget<ChatSelectionScreen.SelectionListWidget.Entry>- Mappings:
Namespace Name Mixin selector official aLfdt;a(Lfdl;IIFIIIII)Vintermediary method_44397Lnet/minecraft/class_350;method_44397(Lnet/minecraft/class_332;IIFIIIII)Vnamed renderEntryLnet/minecraft/client/gui/widget/EntryListWidget;renderEntry(Lnet/minecraft/client/gui/DrawContext;IIFIIIII)V
-
shouldHighlight
- Mappings:
Namespace Name Mixin selector official bLfnx$a;b(Lfnx$a$b;)Zintermediary method_44693Lnet/minecraft/class_7543$class_7544;method_44693(Lnet/minecraft/class_7543$class_7544$class_7546;)Znamed shouldHighlightLnet/minecraft/client/gui/screen/report/ChatSelectionScreen$SelectionListWidget;shouldHighlight(Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen$SelectionListWidget$Entry;)Z
-
setSelected
- Overrides:
setSelectedin classEntryListWidget<ChatSelectionScreen.SelectionListWidget.Entry>- Mappings:
Namespace Name Mixin selector official aLfnx$a;a(Lfnx$a$b;)Vintermediary method_48283Lnet/minecraft/class_7543$class_7544;method_48283(Lnet/minecraft/class_7543$class_7544$class_7546;)Vnamed setSelectedLnet/minecraft/client/gui/screen/report/ChatSelectionScreen$SelectionListWidget;setSelected(Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen$SelectionListWidget$Entry;)V
-
keyPressed
public 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 interfaceElement- Specified by:
keyPressedin interfaceParentElement- Parameters:
keyCode- the named key code of the event as described in theGLFWclassscanCode- the unique/platform-specific scan code of the keyboard inputmodifiers- 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 official aLffu;a(III)Zintermediary method_25404Lnet/minecraft/class_364;method_25404(III)Znamed keyPressedLnet/minecraft/client/gui/Element;keyPressed(III)Z
-
getContextMessageY
public int getContextMessageY()- Mappings:
Namespace Name Mixin selector official ILfnx$a;I()Iintermediary method_44665Lnet/minecraft/class_7543$class_7544;method_44665()Inamed getContextMessageYLnet/minecraft/client/gui/screen/report/ChatSelectionScreen$SelectionListWidget;getContextMessageY()I
-