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 AbstractSelectionList.Entry
CONTENT_PADDING, list -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract ComponentbooleanmouseClicked(MouseButtonEvent event, boolean doubleClick) voidUpdates the narration output with the current narration information.Methods inherited from class 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 Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface GuiEventListener
charTyped, getBorderForArrowNavigation, getCurrentFocusPath, keyPressed, keyReleased, mouseDragged, mouseMoved, mouseReleased, mouseScrolled, nextFocusPath, shouldTakeFocusAfterInteractionMethods inherited from interface LayoutElement
setPositionMethods inherited from interface 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:
output- the output to update with narration information.
-