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
,ParentElement
- Direct Known Subclasses:
ButtonListWidget.ButtonEntry
,ControlsListWidget.Entry
,EditGameRulesScreen.AbstractRuleWidget
,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 official els$a
intermediary net/minecraft/class_4265$class_4266
named net/minecraft/client/gui/widget/ElementListWidget$Entry
-
Field Summary
FieldsFields inherited from class net.minecraft.client.gui.widget.EntryListWidget.Entry
parentList
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) void
appendNarrations
(NarrationMessageBuilder builder) boolean
method_48205
(class_8023 class_8023) method_48208
(class_8023 class_8023, int int2) boolean
mouseClicked
(double mouseX, double mouseY, int button) Callback for when a mouse button down event has been captured.abstract List<? extends Selectable>
void
setDragging
(boolean dragging) void
setFocused
(@Nullable Element focused) Methods inherited from class net.minecraft.client.gui.widget.EntryListWidget.Entry
isFocused, isMouseOver, render, setFocused
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
isMouseOver, method_48202, mouseMoved
Methods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, children, focusOn, hoveredElement, isFocused, keyPressed, keyReleased, method_48218, mouseDragged, mouseReleased, mouseScrolled, setFocused
-
Field Details
-
focused
- Mappings:
Namespace Name Mixin selector official a
Lels$a;a:Lemq;
intermediary field_19077
Lnet/minecraft/class_4265$class_4266;field_19077:Lnet/minecraft/class_364;
named focused
Lnet/minecraft/client/gui/widget/ElementListWidget$Entry;focused:Lnet/minecraft/client/gui/Element;
-
focusedSelectable
- Mappings:
Namespace Name Mixin selector official b
Lels$a;b:Leoa;
intermediary field_33782
Lnet/minecraft/class_4265$class_4266;field_33782:Lnet/minecraft/class_6379;
named focusedSelectable
Lnet/minecraft/client/gui/widget/ElementListWidget$Entry;focusedSelectable:Lnet/minecraft/client/gui/Selectable;
-
dragging
private boolean dragging- Mappings:
Namespace Name Mixin selector official c
Lels$a;c:Z
intermediary field_19078
Lnet/minecraft/class_4265$class_4266;field_19078:Z
named dragging
Lnet/minecraft/client/gui/widget/ElementListWidget$Entry;dragging:Z
-
-
Constructor Details
-
Entry
public Entry()
-
-
Method Details
-
isDragging
public boolean isDragging()- Specified by:
isDragging
in interfaceParentElement
- Mappings:
Namespace Name Mixin selector official an_
Lemp;an_()Z
intermediary method_25397
Lnet/minecraft/class_4069;method_25397()Z
named isDragging
Lnet/minecraft/client/gui/ParentElement;isDragging()Z
-
setDragging
public void setDragging(boolean dragging) - Specified by:
setDragging
in interfaceParentElement
- Mappings:
Namespace Name Mixin selector official c_
Lemp;c_(Z)V
intermediary method_25398
Lnet/minecraft/class_4069;method_25398(Z)V
named setDragging
Lnet/minecraft/client/gui/ParentElement;setDragging(Z)V
-
mouseClicked
public 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 inGLFW
class.- Specified by:
mouseClicked
in interfaceElement
- Specified by:
mouseClicked
in interfaceParentElement
- Parameters:
mouseX
- the X coordinate of the mousemouseY
- the Y coordinate of the mousebutton
- the mouse button number- Returns:
true
to indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lemq;a(DDI)Z
intermediary method_25402
Lnet/minecraft/class_364;method_25402(DDI)Z
named mouseClicked
Lnet/minecraft/client/gui/Element;mouseClicked(DDI)Z
-
setFocused
- Specified by:
setFocused
in interfaceParentElement
- Mappings:
Namespace Name Mixin selector official a
Lemp;a(Lemq;)V
intermediary method_25395
Lnet/minecraft/class_4069;method_25395(Lnet/minecraft/class_364;)V
named setFocused
Lnet/minecraft/client/gui/ParentElement;setFocused(Lnet/minecraft/client/gui/Element;)V
-
getFocused
- Specified by:
getFocused
in interfaceParentElement
- Mappings:
Namespace Name Mixin selector official v
Lemp;v()Lemq;
intermediary method_25399
Lnet/minecraft/class_4069;method_25399()Lnet/minecraft/class_364;
named getFocused
Lnet/minecraft/client/gui/ParentElement;getFocused()Lnet/minecraft/client/gui/Element;
-
method_48208
- Mappings:
Namespace Name Mixin selector official a
Lels$a;a(Leoh;I)Lekz;
intermediary method_48208
Lnet/minecraft/class_4265$class_4266;method_48208(Lnet/minecraft/class_8023;I)Lnet/minecraft/class_8016;
named method_48208
Lnet/minecraft/client/gui/widget/ElementListWidget$Entry;method_48208(Lnet/minecraft/class_8023;I)Lnet/minecraft/class_8016;
-
method_48205
- Specified by:
method_48205
in interfaceElement
- Specified by:
method_48205
in interfaceParentElement
- Mappings:
Namespace Name Mixin selector official a
Lemq;a(Leoh;)Lekz;
intermediary method_48205
Lnet/minecraft/class_364;method_48205(Lnet/minecraft/class_8023;)Lnet/minecraft/class_8016;
named method_48205
Lnet/minecraft/client/gui/Element;method_48205(Lnet/minecraft/class_8023;)Lnet/minecraft/class_8016;
-
selectableChildren
- Mappings:
Namespace Name Mixin selector official b
Lels$a;b()Ljava/util/List;
intermediary method_37025
Lnet/minecraft/class_4265$class_4266;method_37025()Ljava/util/List;
named selectableChildren
Lnet/minecraft/client/gui/widget/ElementListWidget$Entry;selectableChildren()Ljava/util/List;
-
appendNarrations
- Mappings:
Namespace Name Mixin selector official a
Lels$a;a(Leoc;)V
intermediary method_37024
Lnet/minecraft/class_4265$class_4266;method_37024(Lnet/minecraft/class_6382;)V
named appendNarrations
Lnet/minecraft/client/gui/widget/ElementListWidget$Entry;appendNarrations(Lnet/minecraft/client/gui/screen/narration/NarrationMessageBuilder;)V
-