Class ModListScreen.ModsList.Entry
java.lang.Object
net.minecraft.client.gui.components.AbstractSelectionList.Entry<ModListScreen.ModsList.Entry>
net.minecraft.client.gui.components.ObjectSelectionList.Entry<ModListScreen.ModsList.Entry>
net.neoforged.neoforge.client.gui.modlist.ModListScreen.ModsList.Entry
- All Implemented Interfaces:
GuiEventListener, TabOrderedElement, LayoutElement, NarrationSupplier
- Enclosing class:
ModListScreen.ModsList
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final @Nullable VersionChecker.CheckResult(package private) final ModDisplayInfo(package private) final @Nullable ModListScreen.ImageDataprivate static final IdentifierFields inherited from class AbstractSelectionList.Entry
CONTENT_PADDING, list -
Constructor Summary
ConstructorsConstructorDescriptionEntry(@Nullable VersionChecker.CheckResult checkResult, ModDisplayInfo displayInfo) -
Method Summary
Modifier and TypeMethodDescriptionvoidextractContent(GuiGraphicsExtractor graphics, int mouseX, int mouseY, boolean hovered, float a) Methods inherited from class ObjectSelectionList.Entry
mouseClicked, updateNarrationMethods inherited from class AbstractSelectionList.Entry
getContentBottom, getContentHeight, getContentRight, getContentWidth, getContentX, getContentXMiddle, getContentY, getContentYMiddle, getHeight, getRectangle, getWidth, getX, getY, isFocused, isMouseOver, 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
capturesInput, charTyped, getBorderForArrowNavigation, getCurrentFocusPath, keyPressed, keyReleased, mouseDragged, mouseMoved, mouseReleased, mouseScrolled, nextFocusPath, preeditUpdated, shouldTakeFocusAfterInteractionMethods inherited from interface LayoutElement
setPositionMethods inherited from interface TabOrderedElement
getTabOrderGroup
-
Field Details
-
VERSION_CHECK_ICONS
-
checkResult
-
displayInfo
-
iconData
-
-
Constructor Details
-
Entry
Entry(@Nullable VersionChecker.CheckResult checkResult, ModDisplayInfo displayInfo)
-
-
Method Details
-
getNarration
- Specified by:
getNarrationin classObjectSelectionList.Entry<ModListScreen.ModsList.Entry>
-
extractContent
public void extractContent(GuiGraphicsExtractor graphics, int mouseX, int mouseY, boolean hovered, float a) - Specified by:
extractContentin classAbstractSelectionList.Entry<ModListScreen.ModsList.Entry>
-