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$SelectionListWidgetintermediary net/minecraft/class_7543$class_7544official gur$a
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classclassclassprivate static final recordstatic classclassNested classes/interfaces inherited from class net.minecraft.client.gui.widget.ClickableWidget
ClickableWidget.class_12230Nested classes/interfaces inherited from interface net.minecraft.client.gui.Selectable
Selectable.SelectionType -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intFields inherited from class net.minecraft.client.gui.widget.EntryListWidget
centerListVertically, client, itemHeightFields inherited from class net.minecraft.client.gui.widget.ScrollableWidget
SCROLLBAR_WIDTH -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddMessage(int index, ReceivedMessage.ChatMessage message) private voidaddSenderEntry(ReceivedMessage.ChatMessage message, boolean fromReportedPlayer) voidintintgetNeighboringEntry(NavigationDirection navigationDirection) intbooleankeyPressed(KeyInput input) Callback for when a key down event has been captured.protected voidrenderEntry(DrawContext drawContext, int int2, int int3, float float2, ChatSelectionScreen.SelectionListWidget.Entry entry) voidsetScrollY(double scrollY) voidprivate booleanMethods inherited from class net.minecraft.client.gui.widget.AlwaysSelectedEntryListWidget
appendClickableNarrations, getNavigationPathMethods inherited from class net.minecraft.client.gui.widget.EntryListWidget
addEntry, addEntry, addEntryToTop, addEntryToTop, appendNarrations, centerScrollOn, children, clearEntries, clearEntriesExcept, drawHeaderAndFooterSeparators, drawMenuListBackground, drawSelectionHighlight, enableScissor, getContentsHeightWithPadding, getDeltaYPerScroll, getEntryAtPosition, getEntryCount, getFocused, getHoveredEntry, getNeighboringEntry, getNeighboringEntry, getRowBottom, getRowLeft, getRowRight, getRowTop, getScrollbarX, getSelectedOrNull, getType, getYOfNextEntry, hoveredElement, isEntrySelectionAllowed, position, position, position, removeEntries, removeEntry, removeEntryWithoutScrolling, renderList, renderWidget, replaceEntries, scrollTo, setFocused, setFocused, sort, swapEntriesOnPositionsMethods inherited from class net.minecraft.client.gui.widget.ContainerWidget
isDragging, isFocused, mouseClicked, mouseDragged, mouseReleased, setDraggingMethods inherited from class net.minecraft.client.gui.widget.ScrollableWidget
checkScrollbarDragged, drawScrollbar, getMaxScrollY, getScrollbarThumbHeight, getScrollbarThumbY, getScrollY, isInScrollbar, mouseScrolled, onRelease, overflows, refreshScrollMethods inherited from class net.minecraft.client.gui.widget.ClickableWidget
appendDefaultNarrations, appendNarrations, forEachChild, getBottom, getHeight, getMessage, getNarrationMessage, getNarrationMessage, getNavigationFocus, getNavigationOrder, getRight, getWidth, getX, getY, isHovered, isInteractable, isMouseOver, isSelected, isValidClickButton, method_75798, method_75799, onClick, onDrag, playClickSound, 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
getBorder, getNavigationFocus, isClickable, isMouseOver, mouseMovedMethods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrderMethods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, getFocusedPath, keyReleased, mouseScrolledMethods inherited from interface net.minecraft.client.gui.Selectable
getNarratedPartsMethods inherited from interface net.minecraft.client.gui.widget.Widget
setPosition
-
Field Details
-
field_62185
public static final int field_62185- See Also:
- Mappings:
Namespace Name Mixin selector named field_62185Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen$SelectionListWidget;field_62185:Iintermediary field_62185Lnet/minecraft/class_7543$class_7544;field_62185:Iofficial aLgur$a;a:I
-
lastSenderEntryPair
@Nullable private @Nullable ChatSelectionScreen.SelectionListWidget.SenderEntryPair lastSenderEntryPair- Mappings:
Namespace Name Mixin selector named lastSenderEntryPairLnet/minecraft/client/gui/screen/report/ChatSelectionScreen$SelectionListWidget;lastSenderEntryPair:Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen$SelectionListWidget$SenderEntryPair;intermediary field_39593Lnet/minecraft/class_7543$class_7544;field_39593:Lnet/minecraft/class_7543$class_7544$class_7547;official nLgur$a;n:Lgur$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)Vintermediary <init>Lnet/minecraft/class_7543$class_7544;<init>(Lnet/minecraft/class_7543;Lnet/minecraft/class_310;I)Vofficial <init>Lgur$a;<init>(Lgur;Lgcx;I)V
-
-
Method Details
-
setScrollY
public void setScrollY(double scrollY) - Overrides:
setScrollYin classEntryListWidget<ChatSelectionScreen.SelectionListWidget.Entry>- Mappings:
Namespace Name Mixin selector named setScrollYLnet/minecraft/client/gui/widget/ScrollableWidget;setScrollY(D)Vintermediary method_44382Lnet/minecraft/class_7528;method_44382(D)Vofficial aLggj;a(D)V
-
addMessage
- Specified by:
addMessagein interfaceMessagesListAdder.MessagesList- Mappings:
Namespace Name Mixin selector named addMessageLnet/minecraft/client/session/report/MessagesListAdder$MessagesList;addMessage(ILnet/minecraft/client/session/report/log/ReceivedMessage$ChatMessage;)Vintermediary method_44490Lnet/minecraft/class_7541$class_7542;method_44490(ILnet/minecraft/class_7557$class_7558;)Vofficial aLguq$a;a(ILhds$a;)V
-
addSenderEntry
- Mappings:
Namespace Name Mixin selector named addSenderEntryLnet/minecraft/client/gui/screen/report/ChatSelectionScreen$SelectionListWidget;addSenderEntry(Lnet/minecraft/client/session/report/log/ReceivedMessage$ChatMessage;Z)Vintermediary method_44511Lnet/minecraft/class_7543$class_7544;method_44511(Lnet/minecraft/class_7557$class_7558;Z)Vofficial aLgur$a;a(Lhds$a;Z)V
-
addText
- Specified by:
addTextin interfaceMessagesListAdder.MessagesList- Mappings:
Namespace Name Mixin selector named addTextLnet/minecraft/client/session/report/MessagesListAdder$MessagesList;addText(Lnet/minecraft/text/Text;)Vintermediary method_44492Lnet/minecraft/class_7541$class_7542;method_44492(Lnet/minecraft/class_2561;)Vofficial aLguq$a;a(Lym;)V
-
getRowWidth
public int getRowWidth()- Overrides:
getRowWidthin classEntryListWidget<ChatSelectionScreen.SelectionListWidget.Entry>- Mappings:
Namespace Name Mixin selector named getRowWidthLnet/minecraft/client/gui/widget/EntryListWidget;getRowWidth()Iintermediary method_25322Lnet/minecraft/class_350;method_25322()Iofficial aLggk;a()I
-
getDisplayedItemCount
public int getDisplayedItemCount()- Mappings:
Namespace Name Mixin selector named getDisplayedItemCountLnet/minecraft/client/gui/screen/report/ChatSelectionScreen$SelectionListWidget;getDisplayedItemCount()Iintermediary method_44513Lnet/minecraft/class_7543$class_7544;method_44513()Iofficial dLgur$a;d()I
-
renderEntry
protected void renderEntry(DrawContext drawContext, int int2, int int3, float float2, ChatSelectionScreen.SelectionListWidget.Entry entry) - Overrides:
renderEntryin classEntryListWidget<ChatSelectionScreen.SelectionListWidget.Entry>- Mappings:
Namespace Name Mixin selector named renderEntryLnet/minecraft/client/gui/screen/report/ChatSelectionScreen$SelectionListWidget;renderEntry(Lnet/minecraft/client/gui/DrawContext;IIFLnet/minecraft/client/gui/screen/report/ChatSelectionScreen$SelectionListWidget$Entry;)Vintermediary method_73447Lnet/minecraft/class_7543$class_7544;method_73447(Lnet/minecraft/class_332;IIFLnet/minecraft/class_7543$class_7544$class_7546;)Vofficial aLgur$a;a(Lggd;IIFLgur$a$b;)V
-
shouldHighlight
- Mappings:
Namespace Name Mixin selector named shouldHighlightLnet/minecraft/client/gui/screen/report/ChatSelectionScreen$SelectionListWidget;shouldHighlight(Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen$SelectionListWidget$Entry;)Zintermediary method_44693Lnet/minecraft/class_7543$class_7544;method_44693(Lnet/minecraft/class_7543$class_7544$class_7546;)Zofficial bLgur$a;b(Lgur$a$b;)Z
-
setSelected
- Overrides:
setSelectedin classEntryListWidget<ChatSelectionScreen.SelectionListWidget.Entry>- Mappings:
Namespace Name Mixin selector named setSelectedLnet/minecraft/client/gui/screen/report/ChatSelectionScreen$SelectionListWidget;setSelected(Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen$SelectionListWidget$Entry;)Vintermediary method_48283Lnet/minecraft/class_7543$class_7544;method_48283(Lnet/minecraft/class_7543$class_7544$class_7546;)Vofficial aLgur$a;a(Lgur$a$b;)V
-
keyPressed
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- Returns:
trueto indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector named keyPressedLnet/minecraft/client/gui/Element;keyPressed(Lnet/minecraft/client/input/KeyInput;)Zintermediary method_25404Lnet/minecraft/class_364;method_25404(Lnet/minecraft/class_11908;)Zofficial aLgjy;a(Lgwl;)Z
-
getContextMessageY
public int getContextMessageY()- Mappings:
Namespace Name Mixin selector named getContextMessageYLnet/minecraft/client/gui/screen/report/ChatSelectionScreen$SelectionListWidget;getContextMessageY()Iintermediary method_44665Lnet/minecraft/class_7543$class_7544;method_44665()Iofficial ILgur$a;I()I
-