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
- Direct Known Subclasses:
AbuseReportReasonScreen.ReasonListWidget.ReasonEntry,ChatSelectionScreen.SelectionListWidget.Entry,CustomizeBuffetLevelScreen.BuffetBiomesListWidget.BuffetBiomeItem,CustomizeFlatLevelScreen.SuperflatLayersListWidget.SuperflatLayerEntry,ExperimentalWarningScreen.DetailsScreen.PackListWidgetEntry,LanguageOptionsScreen.LanguageSelectionListWidget.LanguageEntry,MultiplayerServerListWidget.Entry,PackListWidget.ResourcePackEntry,PresetsScreen.SuperflatPresetsListWidget.SuperflatPresetEntry,RealmsBackupInfoScreen.BackupInfoListEntry,RealmsMainScreen.Entry,RealmsPendingInvitesScreen.PendingInvitationSelectionListEntry,RealmsSelectFileToUploadScreen.WorldListEntry,RealmsSelectWorldTemplateScreen.WorldTemplateObjectSelectionListEntry,StatsScreen.EntityStatsListWidget.Entry,StatsScreen.GeneralStatsListWidget.Entry,StatsScreen.ItemStatsListWidget.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 fji$a
-
Field Summary
Fields inherited from class net.minecraft.client.gui.widget.EntryListWidget.Entry
parentListFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidappendNarrations(NarrationMessageBuilder builder) abstract TextbooleanmouseClicked(double mouseX, double mouseY, int button) Callback for when a mouse button down event has been captured.Methods inherited from class net.minecraft.client.gui.widget.EntryListWidget.Entry
drawBorder, isFocused, isMouseOver, render, setFocusedMethods 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, getFocusedPath, getNavigationFocus, getNavigationPath, keyPressed, keyReleased, mouseDragged, mouseMoved, mouseReleased, mouseScrolledMethods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrder
-
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 aLfji$a;a()Lwz;
-
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 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(DDI)Zintermediary method_25402Lnet/minecraft/class_364;method_25402(DDI)Zofficial aLfki;a(DDI)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 bLfmj;b(Lfmi;)V
-