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
- 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
,RealmsBackupScreen.BackupObjectSelectionListEntry
,RealmsMainScreen.Entry
,RealmsPendingInvitesScreen.PendingInvitationSelectionListEntry
,RealmsPlayerScreen.InvitedObjectSelectionListEntry
,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 official elt$a
intermediary net/minecraft/class_4280$class_4281
named net/minecraft/client/gui/widget/AlwaysSelectedEntryListWidget$Entry
-
Field Summary
Fields 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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
appendNarrations
(NarrationMessageBuilder builder) boolean
changeFocus
(boolean lookForwards) Changes the focusing element by cycling to the next/previous element.abstract Text
Methods inherited from class net.minecraft.client.gui.widget.EntryListWidget.Entry
isMouseOver, render
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
charTyped, keyPressed, keyReleased, mouseClicked, mouseDragged, mouseMoved, mouseReleased, mouseScrolled
-
Constructor Details
-
Entry
public Entry()
-
-
Method Details
-
changeFocus
public boolean changeFocus(boolean lookForwards) Changes the focusing element by cycling to the next/previous element. This action is done typically when the user has pressed the 'Tab' or 'Ctrl+Tab' key.- Specified by:
changeFocus
in interfaceElement
- Parameters:
lookForwards
-true
to cycle forwards, otherwise cycle backwards- Returns:
true
to indicate that the event handling is successful/valid- Mappings:
Namespace Name Mixin selector official b
Lemg;b(Z)Z
intermediary method_25407
Lnet/minecraft/class_364;method_25407(Z)Z
named changeFocus
Lnet/minecraft/client/gui/Element;changeFocus(Z)Z
-
getNarration
- Mappings:
Namespace Name Mixin selector official b
Lelt$a;b()Lss;
intermediary method_37006
Lnet/minecraft/class_4280$class_4281;method_37006()Lnet/minecraft/class_2561;
named getNarration
Lnet/minecraft/client/gui/widget/AlwaysSelectedEntryListWidget$Entry;getNarration()Lnet/minecraft/text/Text;
-
appendNarrations
- Specified by:
appendNarrations
in interfaceNarratable
- Mappings:
Namespace Name Mixin selector official b
Lenl;b(Lenk;)V
intermediary method_37020
Lnet/minecraft/class_6383;method_37020(Lnet/minecraft/class_6382;)V
named appendNarrations
Lnet/minecraft/client/gui/Narratable;appendNarrations(Lnet/minecraft/client/gui/screen/narration/NarrationMessageBuilder;)V
-