Package net.minecraft.client.gui.widget
Class ElementListWidget<E extends ElementListWidget.Entry<E>>
java.lang.Object
net.minecraft.client.gui.widget.ClickableWidget
net.minecraft.client.gui.widget.ContainerWidget
net.minecraft.client.gui.widget.EntryListWidget<E>
net.minecraft.client.gui.widget.ElementListWidget<E>
- All Implemented Interfaces:
Drawable
,Element
,Narratable
,Navigable
,ParentElement
,Selectable
,Widget
- Direct Known Subclasses:
ControlsListWidget
,EditGameRulesScreen.RuleListWidget
,OptionListWidget
,RealmsBackupScreen.BackupObjectSelectionList
,RealmsPlayerScreen.InvitedObjectSelectionList
,ServerLinksScreen.LinksListWidget
,SocialInteractionsPlayerListWidget
@Environment(CLIENT)
public abstract class ElementListWidget<E extends ElementListWidget.Entry<E>>
extends EntryListWidget<E>
- Mappings:
Namespace Name named net/minecraft/client/gui/widget/ElementListWidget
intermediary net/minecraft/class_4265
official fok
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
ElementListWidget.Entry<E extends ElementListWidget.Entry<E>>
Nested classes/interfaces inherited from interface net.minecraft.client.gui.Selectable
Selectable.SelectionType
-
Field Summary
Fields inherited from class net.minecraft.client.gui.widget.EntryListWidget
centerListVertically, client, field_45909, headerHeight, itemHeight
Fields inherited from class net.minecraft.client.gui.widget.ClickableWidget
active, alpha, height, hovered, visible, width
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
ConstructorDescriptionElementListWidget
(MinecraftClient client, int width, int height, int y, int itemHeight) -
Method Summary
Modifier and TypeMethodDescriptionvoid
getNavigationPath
(GuiNavigation navigation) getType()
protected boolean
isSelectedEntry
(int index) void
setFocused
(@Nullable Element focused) Methods inherited from class net.minecraft.client.gui.widget.EntryListWidget
addEntry, addEntryToTop, appendNarrations, centerScrollOn, children, clearEntries, clickedHeader, drawHeaderAndFooterSeparators, drawMenuListBackground, drawSelectionHighlight, enableScissor, ensureVisible, getDefaultScrollbarX, getEntry, getEntryAtPosition, getEntryCount, getFirst, getFocused, getHoveredEntry, getMaxPosition, getMaxScroll, getNeighboringEntry, getNeighboringEntry, getNeighboringEntry, getRowBottom, getRowLeft, getRowRight, getRowTop, getRowWidth, getScrollAmount, getScrollbarX, getSelectedOrNull, isMouseOver, isScrollbarVisible, isSelectButton, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, position, position, refreshScroll, remove, removeEntry, removeEntryWithoutScrolling, renderDecorations, renderEntry, renderHeader, renderList, renderWidget, replaceEntries, setEntryParentList, setRenderHeader, setScrollAmount, setScrollAmountOnly, setSelected, setSelected, updateScrollingState
Methods inherited from class net.minecraft.client.gui.widget.ContainerWidget
isDragging, isFocused, setDragging, setFocused
Methods inherited from class net.minecraft.client.gui.widget.ClickableWidget
appendDefaultNarrations, appendNarrations, clicked, drawScrollableText, drawScrollableText, drawScrollableText, forEachChild, getBottom, getHeight, getMessage, getNarrationMessage, getNarrationMessage, getNavigationFocus, getNavigationOrder, getRight, getTooltip, getWidth, getX, getY, isHovered, isNarratable, isSelected, isValidClickButton, onClick, onDrag, onRelease, playClickSound, playDownSound, render, setAlpha, setDimensions, setDimensionsAndPosition, setHeight, setMessage, setNavigationOrder, setTooltip, setTooltipDelay, setWidth, setX, setY
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
getNavigationFocus, mouseMoved
Methods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrder
Methods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, getFocusedPath, hoveredElement, keyPressed, keyReleased
Methods inherited from interface net.minecraft.client.gui.widget.Widget
setPosition
-
Constructor Details
-
ElementListWidget
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/gui/widget/EntryListWidget;<init>(Lnet/minecraft/client/MinecraftClient;IIII)V
intermediary <init>
Lnet/minecraft/class_350;<init>(Lnet/minecraft/class_310;IIII)V
official <init>
Lfnz;<init>(Lfmf;IIII)V
-
-
Method Details
-
setFocused
- Specified by:
setFocused
in interfaceParentElement
- Overrides:
setFocused
in classEntryListWidget<E extends ElementListWidget.Entry<E>>
- Mappings:
Namespace Name Mixin selector named setFocused
Lnet/minecraft/client/gui/ParentElement;setFocused(Lnet/minecraft/client/gui/Element;)V
intermediary method_25395
Lnet/minecraft/class_4069;method_25395(Lnet/minecraft/class_364;)V
official a
Lfqb;a(Lfqc;)V
-
getType
- Specified by:
getType
in interfaceSelectable
- Overrides:
getType
in classEntryListWidget<E extends ElementListWidget.Entry<E>>
- Mappings:
Namespace Name Mixin selector named getType
Lnet/minecraft/client/gui/Selectable;getType()Lnet/minecraft/client/gui/Selectable$SelectionType;
intermediary method_37018
Lnet/minecraft/class_6379;method_37018()Lnet/minecraft/class_6379$class_6380;
official u
Lfsa;u()Lfsa$a;
-
isSelectedEntry
protected boolean isSelectedEntry(int index) - Overrides:
isSelectedEntry
in classEntryListWidget<E extends ElementListWidget.Entry<E>>
- Mappings:
Namespace Name Mixin selector named isSelectedEntry
Lnet/minecraft/client/gui/widget/EntryListWidget;isSelectedEntry(I)Z
intermediary method_25332
Lnet/minecraft/class_350;method_25332(I)Z
official c
Lfnz;c(I)Z
-
appendClickableNarrations
- Specified by:
appendClickableNarrations
in classClickableWidget
- Mappings:
Namespace Name Mixin selector named appendClickableNarrations
Lnet/minecraft/client/gui/widget/ClickableWidget;appendClickableNarrations(Lnet/minecraft/client/gui/screen/narration/NarrationMessageBuilder;)V
intermediary method_47399
Lnet/minecraft/class_339;method_47399(Lnet/minecraft/class_6382;)V
official a
Lfoc;a(Lfsc;)V