Package net.minecraft.client.gui.widget
Class AlwaysSelectedEntryListWidget.Entry<E extends AlwaysSelectedEntryListWidget.Entry<E>>
java.lang.Object
net.minecraft.client.gui.widget.EntryListWidget.Entry<E>
net.minecraft.client.gui.widget.AlwaysSelectedEntryListWidget.Entry<E>
- All Implemented Interfaces:
Element,Narratable,Navigable,Widget
- Direct Known Subclasses:
AbuseReportReasonScreen.ReasonListWidget.ReasonEntry,ChatSelectionScreen.SelectionListWidget.Entry,CustomizeBuffetLevelScreen.BuffetBiomesListWidget.BuffetBiomeItem,CustomizeFlatLevelScreen.SuperflatLayersListWidget.class_11770,ExperimentalWarningScreen.DetailsScreen.PackListWidgetEntry,LanguageOptionsScreen.LanguageSelectionListWidget.LanguageEntry,MultiplayerServerListWidget.Entry,PackListWidget.class_11778,PresetsScreen.SuperflatPresetsListWidget.SuperflatPresetEntry,RealmsBackupInfoScreen.BackupInfoListEntry,RealmsMainScreen.Entry,RealmsRegionPreferenceScreen.RegionListWidget.RegionEntry,RealmsSelectWorldTemplateScreen.WorldTemplateObjectSelectionListEntry,StatsScreen.EntityStatsListWidget.Entry,StatsScreen.GeneralStatsListWidget.Entry,WorldListWidget.Entry
- Enclosing class:
AlwaysSelectedEntryListWidget<E extends AlwaysSelectedEntryListWidget.Entry<E>>
@Environment(CLIENT)
public abstract static class AlwaysSelectedEntryListWidget.Entry<E extends AlwaysSelectedEntryListWidget.Entry<E>>
extends EntryListWidget.Entry<E>
implements Narratable
- Mappings:
Namespace Name named net/minecraft/client/gui/widget/AlwaysSelectedEntryListWidget$Entryintermediary net/minecraft/class_4280$class_4281official gan$a
-
Field Summary
Fields inherited from class net.minecraft.client.gui.widget.EntryListWidget.Entry
field_62115, parentList -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidappendNarrations(NarrationMessageBuilder builder) abstract TextbooleanmouseClicked(double mouseX, double mouseY, int button, boolean doubleClick) Callback for when a mouse button down event has been captured.Methods inherited from class net.minecraft.client.gui.widget.EntryListWidget.Entry
forEachChild, getHeight, getNavigationFocus, getWidth, getX, getY, isFocused, isMouseOver, method_73380, method_73381, method_73382, method_73383, method_73384, method_73385, method_73386, method_73387, method_73388, method_73389, render, setFocused, 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
charTyped, getBorder, getFocusedPath, getNavigationPath, keyPressed, keyReleased, method_72784, mouseDragged, mouseMoved, mouseReleased, mouseScrolledMethods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrderMethods inherited from interface net.minecraft.client.gui.widget.Widget
setPosition
-
Constructor Details
-
Entry
public Entry()
-
-
Method Details
-
getNarration
- Mappings:
Namespace Name Mixin selector named getNarrationLnet/minecraft/client/gui/widget/AlwaysSelectedEntryListWidget$Entry;getNarration()Lnet/minecraft/text/Text;intermediary method_37006Lnet/minecraft/class_4280$class_4281;method_37006()Lnet/minecraft/class_2561;official aLgan$a;a()Lxv;
-
mouseClicked
public boolean mouseClicked(double mouseX, double mouseY, int button, boolean doubleClick) Callback for when a mouse button down event has been captured. The button number is identified by the constants inGLFWclass.- Specified by:
mouseClickedin interfaceElement- Parameters:
mouseX- the X coordinate of the mousemouseY- the Y coordinate of the mousebutton- the mouse button number- Returns:
trueto indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector named mouseClickedLnet/minecraft/client/gui/Element;mouseClicked(DDIZ)Zintermediary method_25402Lnet/minecraft/class_364;method_25402(DDIZ)Zofficial aLgcx;a(DDIZ)Z
-
appendNarrations
- Specified by:
appendNarrationsin interfaceNarratable- Mappings:
Namespace Name Mixin selector named appendNarrationsLnet/minecraft/client/gui/Narratable;appendNarrations(Lnet/minecraft/client/gui/screen/narration/NarrationMessageBuilder;)Vintermediary method_37020Lnet/minecraft/class_6383;method_37020(Lnet/minecraft/class_6382;)Vofficial bLgfk;b(Lgfj;)V
-