fromVersion

Returns the MinecraftRevisions enum constant that matches the given version string.

Return

The matching MinecraftRevisions enum constant, or null if no match is found.

Parameters

version

The version string to match.


Returns the MinecraftRevisions enum constant that matches the given SemVersion.

Return

The matching MinecraftRevisions enum constant, or null if no match is found.

Parameters

version

The SemVersion to match.