public interface Version
ModMetadata.getVersion()| Modifier and Type | Method and Description |
|---|---|
String |
getFriendlyString()
Returns the user-friendly representation of this version.
|
static Version |
parse(String string)
Parses a version from a string notation.
|
String getFriendlyString()
static Version parse(String string) throws net.fabricmc.loader.util.version.VersionParsingException
string - the string notation of the versionnet.fabricmc.loader.util.version.VersionParsingException - if a problem arises during version parsing