Interface ExtensionDescription
public interface ExtensionDescription
Represents the description of an
Extension.-
Method Summary
Modifier and TypeMethodDescriptiondefault StringReturns the extension's requested Geyser Api version.authors()Gets the extension's authors.intRepresents the human api version that the extension requires.id()Gets the extension's id.main()Gets the extension's main class.intRepresents the major api version that the extension requires.intRepresents the minor api version that the extension requires.name()Gets the extension's name.default intDeprecated, for removal: This API element is subject to removal in a future version.version()Gets the extension's description.
-
Method Details
-
id
String id()Gets the extension's id.- Returns:
- the extension's id
-
name
String name()Gets the extension's name.- Returns:
- the extension's name
-
main
String main()Gets the extension's main class.- Returns:
- the extension's main class
-
humanApiVersion
int humanApiVersion()Represents the human api version that the extension requires. See the Geyser version outline) for more details on the Geyser API version.- Returns:
- the extension's requested human api version
-
majorApiVersion
int majorApiVersion()Represents the major api version that the extension requires. See the Geyser version outline) for more details on the Geyser API version.- Returns:
- the extension's requested major api version
-
minorApiVersion
int minorApiVersion()Represents the minor api version that the extension requires. See the Geyser version outline) for more details on the Geyser API version.- Returns:
- the extension's requested minor api version
-
patchApiVersion
Deprecated, for removal: This API element is subject to removal in a future version.No longer in use. Geyser is now using an adaption of the romantic versioning scheme. See here for details. -
apiVersion
Returns the extension's requested Geyser Api version. -
version
String version()Gets the extension's description.- Returns:
- the extension's description
-
authors
Gets the extension's authors.- Returns:
- the extension's authors
-