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.ScrollableWidget
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,DebugOptionsScreen.OptionsListWidget,EditGameRulesScreen.RuleListWidget,OptionListWidget,RealmsBackupScreen.BackupObjectSelectionList,RealmsPendingInvitesScreen.PendingInvitationSelectionList,RealmsPlayerTab.InvitedObjectSelectionList,SocialInteractionsPlayerListWidget,StatsScreen.ItemStatsListWidget
@Environment(CLIENT)
public abstract class ElementListWidget<E extends ElementListWidget.Entry<E>>
extends EntryListWidget<E>
- Mappings:
Namespace Name named net/minecraft/client/gui/widget/ElementListWidgetintermediary net/minecraft/class_4265official gdv
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classElementListWidget.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, itemHeightFields inherited from class net.minecraft.client.gui.widget.ScrollableWidget
SCROLLBAR_WIDTH -
Constructor Summary
ConstructorsConstructorDescriptionElementListWidget(MinecraftClient client, int width, int height, int y, int itemHeight) -
Method Summary
Modifier and TypeMethodDescriptionvoidgetNavigationPath(GuiNavigation navigation) getType()protected booleanvoidsetFocused(@Nullable Element focused) Methods 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, getNeighboringEntry, getRowBottom, getRowLeft, getRowRight, getRowTop, getRowWidth, getScrollbarX, getSelectedOrNull, getYOfNextEntry, hoveredElement, position, position, position, removeEntries, removeEntry, removeEntryWithoutScrolling, renderEntry, renderList, renderWidget, replaceEntries, scrollTo, setEntryParentList, setFocused, setScrollY, setSelected, 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, drawScrollableText, drawScrollableText, drawScrollableText, forEachChild, getBottom, getHeight, getMessage, getNarrationMessage, getNarrationMessage, getNavigationFocus, getNavigationOrder, getRight, getWidth, getX, getY, isHovered, isInteractable, isMouseOver, isSelected, isValidClickButton, 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, keyPressed, keyReleased, mouseScrolledMethods inherited from interface net.minecraft.client.gui.Selectable
getNarratedPartsMethods 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)Vintermediary <init>Lnet/minecraft/class_350;<init>(Lnet/minecraft/class_310;IIII)Vofficial <init>Lgdj;<init>(Lfzz;IIII)V
-
-
Method Details
-
setFocused
- Specified by:
setFocusedin interfaceParentElement- Overrides:
setFocusedin classEntryListWidget<E extends ElementListWidget.Entry<E>>- Mappings:
Namespace Name Mixin selector named setFocusedLnet/minecraft/client/gui/ParentElement;setFocused(Lnet/minecraft/client/gui/Element;)Vintermediary method_25395Lnet/minecraft/class_4069;method_25395(Lnet/minecraft/class_364;)Vofficial aLggv;a(Lggw;)V
-
getType
- Specified by:
getTypein interfaceSelectable- Overrides:
getTypein classEntryListWidget<E extends ElementListWidget.Entry<E>>- Mappings:
Namespace Name Mixin selector named getTypeLnet/minecraft/client/gui/Selectable;getType()Lnet/minecraft/client/gui/Selectable$SelectionType;intermediary method_37018Lnet/minecraft/class_6379;method_37018()Lnet/minecraft/class_6379$class_6380;official yLgjj;y()Lgjj$a;
-
isEntrySelectionAllowed
protected boolean isEntrySelectionAllowed()- Overrides:
isEntrySelectionAllowedin classEntryListWidget<E extends ElementListWidget.Entry<E>>- Mappings:
Namespace Name Mixin selector named isEntrySelectionAllowedLnet/minecraft/client/gui/widget/EntryListWidget;isEntrySelectionAllowed()Zintermediary method_73379Lnet/minecraft/class_350;method_73379()Zofficial vLgdj;v()Z
-
appendClickableNarrations
- Specified by:
appendClickableNarrationsin classClickableWidget- Mappings:
Namespace Name Mixin selector named appendClickableNarrationsLnet/minecraft/client/gui/widget/ClickableWidget;appendClickableNarrations(Lnet/minecraft/client/gui/screen/narration/NarrationMessageBuilder;)Vintermediary method_47399Lnet/minecraft/class_339;method_47399(Lnet/minecraft/class_6382;)Vofficial aLgdn;a(Lgjl;)V