Package net.fabricmc.loader.api
Interface Version
- All Superinterfaces:
 Comparable<Version>
- All Known Subinterfaces:
 SemanticVersion
Represents a version of a mod.
- See Also:
 
- 
Method Summary
Modifier and TypeMethodDescriptionReturns the user-friendly representation of this version.static VersionParses a version from a string notation.Methods inherited from interface java.lang.Comparable
compareTo 
- 
Method Details
- 
getFriendlyString
String getFriendlyString()Returns the user-friendly representation of this version. - 
parse
Parses a version from a string notation.- Parameters:
 string- the string notation of the version- Returns:
 - the parsed version
 - Throws:
 VersionParsingException- if a problem arises during version parsing
 
 -