public MinecraftVersion getMinecraftVersion(String version) throws InvalidMinecraftVersion {
if (this.minecraftVersions.containsKey(version)) {
return this.minecraftVersions.get(version);
}
throw new InvalidMinecraftVersion("No Minecraft version found matching " + version);
}