Class ObjectSelectionList.Entry<E extends ObjectSelectionList.Entry<E>>
java.lang.Object
net.minecraft.client.gui.components.AbstractSelectionList.Entry<E>
net.minecraft.client.gui.components.ObjectSelectionList.Entry<E>
- All Implemented Interfaces:
GuiEventListener,TabOrderedElement,LayoutElement,NarrationSupplier
- Direct Known Subclasses:
ChatSelectionScreen.ChatSelectionList.Entry,ConfirmExperimentalFeaturesScreen.DetailsScreen.PackListEntry,CreateBuffetWorldScreen.BiomeList.Entry,CreateFlatWorldScreen.DetailsList.Entry,LanguageSelectScreen.LanguageSelectionList.Entry,LoadingErrorScreen.LoadingEntryList.LoadingMessageEntry,ModListWidget.ModEntry,PresetFlatWorldScreen.PresetsList.Entry,RealmsBackupInfoScreen.BackupInfoListEntry,RealmsMainScreen.Entry,RealmsPreferredRegionSelectionScreen.RegionSelectionList.Entry,RealmsSelectWorldTemplateScreen.Entry,ReportReasonSelectionScreen.ReasonSelectionList.Entry,ServerSelectionList.Entry,StatsScreen.GeneralStatisticsList.Entry,StatsScreen.MobsStatisticsList.MobRow,TransferableSelectionList.Entry,WorldSelectionList.Entry
- Enclosing class:
ObjectSelectionList<E extends ObjectSelectionList.Entry<E>>
public abstract static class ObjectSelectionList.Entry<E extends ObjectSelectionList.Entry<E>>
extends AbstractSelectionList.Entry<E>
implements NarrationSupplier
-
Field Summary
Fields inherited from class net.minecraft.client.gui.components.AbstractSelectionList.Entry
CONTENT_PADDING, list -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract ComponentbooleanmouseClicked(MouseButtonEvent p_446815_, boolean p_432750_) voidupdateNarration(NarrationElementOutput p_169044_) Updates the narration output with the current narration information.Methods inherited from class net.minecraft.client.gui.components.AbstractSelectionList.Entry
getContentBottom, getContentHeight, getContentRight, getContentWidth, getContentX, getContentXMiddle, getContentY, getContentYMiddle, getHeight, getRectangle, getWidth, getX, getY, isFocused, isMouseOver, renderContent, setFocused, setHeight, setWidth, setX, setY, visitWidgetsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
charTyped, getBorderForArrowNavigation, getCurrentFocusPath, keyPressed, keyReleased, mouseDragged, mouseMoved, mouseReleased, mouseScrolled, nextFocusPath, shouldTakeFocusAfterInteractionMethods inherited from interface net.minecraft.client.gui.layouts.LayoutElement
setPositionMethods inherited from interface net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
Constructor Details
-
Entry
public Entry()
-
-
Method Details
-
getNarration
-
mouseClicked
- Specified by:
mouseClickedin interfaceGuiEventListener
-
updateNarration
Description copied from interface:NarrationSupplierUpdates the narration output with the current narration information.- Specified by:
updateNarrationin interfaceNarrationSupplier- Parameters:
p_169044_- the output to update with narration information.
-