Class ChatSelectionScreen.SelectionListWidget
java.lang.Object
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.widget.EntryListWidget<E>
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
,MessagesListAdder.MessagesList
- Enclosing class:
ChatSelectionScreen
@Environment(CLIENT)
public class ChatSelectionScreen.SelectionListWidget
extends AlwaysSelectedEntryListWidget<ChatSelectionScreen.SelectionListWidget.Entry>
implements MessagesListAdder.MessagesList
- Mappings:
Namespace Name official fcj$a
intermediary net/minecraft/class_7543$class_7544
named net/minecraft/client/gui/screen/report/ChatSelectionScreen$SelectionListWidget
-
Nested Class Summary
Modifier and TypeClassDescriptionclass
class
class
private static final record
class
class
Nested classes/interfaces inherited from interface net.minecraft.client.gui.Selectable
Selectable.SelectionType
-
Field Summary
Modifier and TypeFieldDescriptionFields inherited from class net.minecraft.client.gui.widget.EntryListWidget
bottom, centerListVertically, client, field_45909, headerHeight, height, itemHeight, left, right, top, width
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addMessage
(int index, ReceivedMessage.ChatMessage message) private void
addSenderEntry
(ReceivedMessage.ChatMessage message, boolean fromReportedPlayer) void
int
int
getNeighboringEntry
(NavigationDirection navigationDirection) int
protected int
boolean
keyPressed
(int keyCode, int scanCode, int modifiers) Callback for when a key down event has been captured.protected void
renderEntry
(DrawContext context, int mouseX, int mouseY, float delta, int index, int x, int y, int entryWidth, int entryHeight) void
setScrollAmount
(double amount) void
private boolean
Methods inherited from class net.minecraft.client.gui.widget.AlwaysSelectedEntryListWidget
appendNarrations, getNavigationPath
Methods inherited from class net.minecraft.client.gui.widget.EntryListWidget
addEntry, addEntryToTop, appendNarrations, centerScrollOn, children, clearEntries, clickedHeader, drawSelectionHighlight, enableScissor, ensureVisible, getEntry, getEntryAtPosition, getEntryCount, getFirst, getFocused, getHoveredEntry, getMaxPosition, getMaxScroll, getNavigationFocus, getNeighboringEntry, getNeighboringEntry, getRowBottom, getRowLeft, getRowRight, getRowTop, getScrollAmount, getSelectedOrNull, getType, isMouseOver, isSelectButton, isSelectedEntry, method_35721, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, remove, removeEntry, removeEntryWithoutScrolling, render, renderDecorations, renderHeader, renderList, replaceEntries, setFocused, setLeftPos, setRenderBackground, setRenderHeader, updateScrollingState, updateSize
Methods inherited from class net.minecraft.client.gui.AbstractParentElement
isDragging, setDragging
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.gui.Element
mouseMoved
Methods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrder
Methods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, focusOn, getFocusedPath, hoveredElement, isFocused, keyReleased, setFocused
Methods inherited from interface net.minecraft.client.gui.Selectable
isNarratable
-
Field Details
-
lastSenderEntryPair
@Nullable private @Nullable ChatSelectionScreen.SelectionListWidget.SenderEntryPair lastSenderEntryPair- Mappings:
Namespace Name Mixin selector official m
Lfcj$a;m:Lfcj$a$c;
intermediary field_39593
Lnet/minecraft/class_7543$class_7544;field_39593:Lnet/minecraft/class_7543$class_7544$class_7547;
named lastSenderEntryPair
Lnet/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>
Lfcj$a;<init>(Lfcj;Leqv;I)V
intermediary <init>
Lnet/minecraft/class_7543$class_7544;<init>(Lnet/minecraft/class_7543;Lnet/minecraft/class_310;I)V
named <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:
setScrollAmount
in classEntryListWidget<ChatSelectionScreen.SelectionListWidget.Entry>
- Mappings:
Namespace Name Mixin selector official a
Lesl;a(D)V
intermediary method_25307
Lnet/minecraft/class_350;method_25307(D)V
named setScrollAmount
Lnet/minecraft/client/gui/widget/EntryListWidget;setScrollAmount(D)V
-
addMessage
- Specified by:
addMessage
in interfaceMessagesListAdder.MessagesList
- Mappings:
Namespace Name Mixin selector official a
Lfci$a;a(ILfjo$a;)V
intermediary method_44490
Lnet/minecraft/class_7541$class_7542;method_44490(ILnet/minecraft/class_7557$class_7558;)V
named addMessage
Lnet/minecraft/client/session/report/MessagesListAdder$MessagesList;addMessage(ILnet/minecraft/client/session/report/log/ReceivedMessage$ChatMessage;)V
-
addSenderEntry
- Mappings:
Namespace Name Mixin selector official a
Lfcj$a;a(Lfjo$a;Z)V
intermediary method_44511
Lnet/minecraft/class_7543$class_7544;method_44511(Lnet/minecraft/class_7557$class_7558;Z)V
named addSenderEntry
Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen$SelectionListWidget;addSenderEntry(Lnet/minecraft/client/session/report/log/ReceivedMessage$ChatMessage;Z)V
-
addText
- Specified by:
addText
in interfaceMessagesListAdder.MessagesList
- Mappings:
Namespace Name Mixin selector official a
Lfci$a;a(Ltl;)V
intermediary method_44492
Lnet/minecraft/class_7541$class_7542;method_44492(Lnet/minecraft/class_2561;)V
named addText
Lnet/minecraft/client/session/report/MessagesListAdder$MessagesList;addText(Lnet/minecraft/text/Text;)V
-
getScrollbarPositionX
protected int getScrollbarPositionX()- Overrides:
getScrollbarPositionX
in classEntryListWidget<ChatSelectionScreen.SelectionListWidget.Entry>
- Mappings:
Namespace Name Mixin selector official c
Lesl;c()I
intermediary method_25329
Lnet/minecraft/class_350;method_25329()I
named getScrollbarPositionX
Lnet/minecraft/client/gui/widget/EntryListWidget;getScrollbarPositionX()I
-
getRowWidth
public int getRowWidth()- Overrides:
getRowWidth
in classEntryListWidget<ChatSelectionScreen.SelectionListWidget.Entry>
- Mappings:
Namespace Name Mixin selector official b
Lesl;b()I
intermediary method_25322
Lnet/minecraft/class_350;method_25322()I
named getRowWidth
Lnet/minecraft/client/gui/widget/EntryListWidget;getRowWidth()I
-
getDisplayedItemCount
public int getDisplayedItemCount()- Mappings:
Namespace Name Mixin selector official d
Lfcj$a;d()I
intermediary method_44513
Lnet/minecraft/class_7543$class_7544;method_44513()I
named getDisplayedItemCount
Lnet/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:
renderEntry
in classEntryListWidget<ChatSelectionScreen.SelectionListWidget.Entry>
- Mappings:
Namespace Name Mixin selector official a
Lesl;a(Lesf;IIFIIIII)V
intermediary method_44397
Lnet/minecraft/class_350;method_44397(Lnet/minecraft/class_332;IIFIIIII)V
named renderEntry
Lnet/minecraft/client/gui/widget/EntryListWidget;renderEntry(Lnet/minecraft/client/gui/DrawContext;IIFIIIII)V
-
shouldHighlight
- Mappings:
Namespace Name Mixin selector official b
Lfcj$a;b(Lfcj$a$b;)Z
intermediary method_44693
Lnet/minecraft/class_7543$class_7544;method_44693(Lnet/minecraft/class_7543$class_7544$class_7546;)Z
named shouldHighlight
Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen$SelectionListWidget;shouldHighlight(Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen$SelectionListWidget$Entry;)Z
-
setSelected
- Overrides:
setSelected
in classEntryListWidget<ChatSelectionScreen.SelectionListWidget.Entry>
- Mappings:
Namespace Name Mixin selector official a
Lfcj$a;a(Lfcj$a$b;)V
intermediary method_48283
Lnet/minecraft/class_7543$class_7544;method_48283(Lnet/minecraft/class_7543$class_7544$class_7546;)V
named setSelected
Lnet/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 inGLFW
class.- Specified by:
keyPressed
in interfaceElement
- Specified by:
keyPressed
in interfaceParentElement
- Parameters:
keyCode
- the named key code of the event as described in theGLFW
classscanCode
- 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:
true
to indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector official a
Leuk;a(III)Z
intermediary method_25404
Lnet/minecraft/class_364;method_25404(III)Z
named keyPressed
Lnet/minecraft/client/gui/Element;keyPressed(III)Z
-
getContextMessageY
public int getContextMessageY()- Mappings:
Namespace Name Mixin selector official e
Lfcj$a;e()I
intermediary method_44665
Lnet/minecraft/class_7543$class_7544;method_44665()I
named getContextMessageY
Lnet/minecraft/client/gui/screen/report/ChatSelectionScreen$SelectionListWidget;getContextMessageY()I
-