Package net.minecraft.client.gui.widget
Class ElementListWidget.Entry<E extends ElementListWidget.Entry<E>>
java.lang.Object
net.minecraft.client.gui.widget.EntryListWidget.Entry<E>
net.minecraft.client.gui.widget.ElementListWidget.Entry<E>
- All Implemented Interfaces:
- Element,- Navigable,- ParentElement
- Direct Known Subclasses:
- ControlsListWidget.Entry,- EditGameRulesScreen.AbstractRuleWidget,- OptionListWidget.WidgetEntry,- RealmsBackupScreen.BackupObjectSelectionListEntry,- RealmsPlayerScreen.InvitedObjectSelectionListEntry,- ServerLinksScreen.LinksListEntry,- SocialInteractionsPlayerListEntry
- Enclosing class:
- ElementListWidget<E extends ElementListWidget.Entry<E>>
@Environment(CLIENT)
public abstract static class ElementListWidget.Entry<E extends ElementListWidget.Entry<E>>
extends EntryListWidget.Entry<E>
implements ParentElement
- Mappings:
- Namespace - Name - named - net/minecraft/client/gui/widget/ElementListWidget$Entry- intermediary - net/minecraft/class_4265$class_4266- official - fpa$a
- 
Field SummaryFieldsFields inherited from class net.minecraft.client.gui.widget.EntryListWidget.EntryparentListFields inherited from interface net.minecraft.client.gui.ElementMAX_DOUBLE_CLICK_INTERVAL
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescription(package private) voidappendNarrations(NarrationMessageBuilder builder) getNavigationPath(GuiNavigation navigation) getNavigationPath(GuiNavigation navigation, int index) booleanbooleanmouseClicked(double mouseX, double mouseY, int button) Callback for when a mouse button down event has been captured.abstract List<? extends Selectable> voidsetDragging(boolean dragging) voidsetFocused(@Nullable Element focused) Methods inherited from class net.minecraft.client.gui.widget.EntryListWidget.EntrydrawBorder, isFocused, isMouseOver, render, setFocusedMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.ElementgetBorder, getNavigationFocus, isMouseOver, mouseMovedMethods inherited from interface net.minecraft.client.gui.navigation.NavigablegetNavigationOrderMethods inherited from interface net.minecraft.client.gui.ParentElementcharTyped, children, getFocusedPath, hoveredElement, isFocused, keyPressed, keyReleased, mouseDragged, mouseReleased, mouseScrolled, setFocused
- 
Field Details- 
focused- Mappings:
- Namespace - Name - Mixin selector - named - focused- Lnet/minecraft/client/gui/widget/ElementListWidget$Entry;focused:Lnet/minecraft/client/gui/Element;- intermediary - field_19077- Lnet/minecraft/class_4265$class_4266;field_19077:Lnet/minecraft/class_364;- official - a- Lfpa$a;a:Lfqr;
 
- 
focusedSelectable- Mappings:
- Namespace - Name - Mixin selector - named - focusedSelectable- Lnet/minecraft/client/gui/widget/ElementListWidget$Entry;focusedSelectable:Lnet/minecraft/client/gui/Selectable;- intermediary - field_33782- Lnet/minecraft/class_4265$class_4266;field_33782:Lnet/minecraft/class_6379;- official - b- Lfpa$a;b:Lfsp;
 
- 
draggingprivate boolean dragging- Mappings:
- Namespace - Name - Mixin selector - named - dragging- Lnet/minecraft/client/gui/widget/ElementListWidget$Entry;dragging:Z- intermediary - field_19078- Lnet/minecraft/class_4265$class_4266;field_19078:Z- official - c- Lfpa$a;c:Z
 
 
- 
- 
Constructor Details- 
Entrypublic Entry()
 
- 
- 
Method Details- 
isDraggingpublic boolean isDragging()- Specified by:
- isDraggingin interface- ParentElement
- Mappings:
- Namespace - Name - Mixin selector - named - isDragging- Lnet/minecraft/client/gui/ParentElement;isDragging()Z- intermediary - method_25397- Lnet/minecraft/class_4069;method_25397()Z- official - aK_- Lfqq;aK_()Z
 
- 
setDraggingpublic void setDragging(boolean dragging) - Specified by:
- setDraggingin interface- ParentElement
- Mappings:
- Namespace - Name - Mixin selector - named - setDragging- Lnet/minecraft/client/gui/ParentElement;setDragging(Z)V- intermediary - method_25398- Lnet/minecraft/class_4069;method_25398(Z)V- official - b_- Lfqq;b_(Z)V
 
- 
mouseClickedpublic boolean mouseClicked(double mouseX, double mouseY, int button) Callback for when a mouse button down event has been captured. The button number is identified by the constants inGLFWclass.- Specified by:
- mouseClickedin interface- Element
- Specified by:
- mouseClickedin interface- ParentElement
- Parameters:
- mouseX- the X coordinate of the mouse
- mouseY- the Y coordinate of the mouse
- button- the mouse button number
- Returns:
- trueto indicate that the event handling is successful/valid
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - mouseClicked- Lnet/minecraft/client/gui/Element;mouseClicked(DDI)Z- intermediary - method_25402- Lnet/minecraft/class_364;method_25402(DDI)Z- official - a- Lfqr;a(DDI)Z
 
- 
setFocused- Specified by:
- setFocusedin interface- ParentElement
- 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- Lfqq;a(Lfqr;)V
 
- 
getFocused- Specified by:
- getFocusedin interface- ParentElement
- Mappings:
- Namespace - Name - Mixin selector - named - getFocused- Lnet/minecraft/client/gui/ParentElement;getFocused()Lnet/minecraft/client/gui/Element;- intermediary - method_25399- Lnet/minecraft/class_4069;method_25399()Lnet/minecraft/class_364;- official - aL_- Lfqq;aL_()Lfqr;
 
- 
selectableChildren- Mappings:
- Namespace - Name - Mixin selector - named - selectableChildren- Lnet/minecraft/client/gui/widget/ElementListWidget$Entry;selectableChildren()Ljava/util/List;- intermediary - method_37025- Lnet/minecraft/class_4265$class_4266;method_37025()Ljava/util/List;- official - b- Lfpa$a;b()Ljava/util/List;
 
- 
appendNarrations- Mappings:
- Namespace - Name - Mixin selector - named - appendNarrations- Lnet/minecraft/client/gui/widget/ElementListWidget$Entry;appendNarrations(Lnet/minecraft/client/gui/screen/narration/NarrationMessageBuilder;)V- intermediary - method_37024- Lnet/minecraft/class_4265$class_4266;method_37024(Lnet/minecraft/class_6382;)V- official - a- Lfpa$a;a(Lfsr;)V
 
 
-