Class BlankModDisplayInfo
java.lang.Object
net.neoforged.neoforge.client.gui.modlist.BlankModDisplayInfo
- All Implemented Interfaces:
IExtensionPoint, ModDisplayInfo
A blank mod display info.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthors()Returns the mod authors.banner()Returns the banner displayed in the info panel, ornull.credits()Returns the credits.Returns the mod description.Returns the display name.Returns the URL for the mod homepage, ornull.icon()Returns the icon displayed in the mod list, ornull.id()Returns the mod ID.Returns the URL for the mod issues page, ornull.license()Returns the mod license.version()Returns the mod version.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ModDisplayInfo
iconBlur
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
BlankModDisplayInfo
private BlankModDisplayInfo()
-
-
Method Details
-
id
Description copied from interface:ModDisplayInfoReturns the mod ID. This is used to retrieve the mod container, configuration screen extension point, and other relevant information.- Specified by:
idin interfaceModDisplayInfo- Returns:
- the mod ID
-
displayName
Description copied from interface:ModDisplayInfoReturns the display name. This is always displayed, even if empty. Click actions do not work on this component.- Specified by:
displayNamein interfaceModDisplayInfo- Returns:
- the display name
-
version
Description copied from interface:ModDisplayInfoReturns the mod version. This is always displayed, even if empty.- Specified by:
versionin interfaceModDisplayInfo- Returns:
- the mod version
-
authors
Description copied from interface:ModDisplayInfoReturns the mod authors. This is displayed if it is not an empty component.- Specified by:
authorsin interfaceModDisplayInfo- Returns:
- the mod authors
-
credits
Description copied from interface:ModDisplayInfoReturns the credits. This is displayed if it is not an empty component.- Specified by:
creditsin interfaceModDisplayInfo- Returns:
- the credits
-
description
Description copied from interface:ModDisplayInfoReturns the mod description. This is displayed if it is not an empty component.- Specified by:
descriptionin interfaceModDisplayInfo- Returns:
- the mod description
-
license
Description copied from interface:ModDisplayInfoReturns the mod license. This is always displayed, even if empty.- Specified by:
licensein interfaceModDisplayInfo- Returns:
- the mod license
-
banner
Description copied from interface:ModDisplayInfoReturns the banner displayed in the info panel, or
null.The banner is rendered with its original aspect ratio, bounded by the width of the info panel (ordinarily 250 pixels) and a maximum height of 50 pixels.
- Specified by:
bannerin interfaceModDisplayInfo- Returns:
- the banner displayed in the info panel, or
null
-
icon
Description copied from interface:ModDisplayInfoReturns the icon displayed in the mod list, or
null.The icon is rendered as a square with sides of 24 pixels.
- Specified by:
iconin interfaceModDisplayInfo- Returns:
- the icon displayed in the mod list, or
null
-
displayUrl
Description copied from interface:ModDisplayInfoReturns the URL for the mod homepage, ornull. Ifnull, the homepage button is disabled.- Specified by:
displayUrlin interfaceModDisplayInfo- Returns:
- the URL for the mod homepage, or
null
-
issuesUrl
Description copied from interface:ModDisplayInfoReturns the URL for the mod issues page, ornull. Ifnull, the issues page button is disabled.- Specified by:
issuesUrlin interfaceModDisplayInfo- Returns:
- the URL for the mod issues page, or
null
-