Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SynthLauncher/SynthLauncher
/ functions
Functions
353 in github.com/SynthLauncher/SynthLauncher
⨍
Functions
353
◇
Types & classes
144
↓ 58 callers
Function
cn
(...inputs: ClassValue[])
crates/sl-frontend/src/lib/utils.ts:4
↓ 48 callers
Method
to_string
(&self)
crates/sl-core/src/launcher/minecraft_version.rs:49
↓ 16 callers
Method
get
(&self, url: &str)
crates/sl-utils/src/requester.rs:81
↓ 14 callers
Method
builder
(&self)
crates/sl-utils/src/requester.rs:77
↓ 10 callers
Method
download_to
(&self, url: &str, path: &Path)
crates/sl-utils/src/requester.rs:49
↓ 8 callers
Method
find
( &self, name: &str, premium: bool, )
crates/sl-core/src/launcher/player/player_profiles.rs:52
↓ 8 callers
Method
to_string
(&self)
crates/sl-meta/src/minecraft/loaders/neoforge.rs:48
↓ 6 callers
Method
game_metadata
(&self)
crates/sl-core/src/launcher/instances/loaded_instance.rs:48
↓ 6 callers
Method
get_json
( &self, url: &str, )
crates/sl-utils/src/requester.rs:99
↓ 5 callers
Method
file_type
(&self)
crates/sl-core/src/loaders/forge.rs:97
↓ 4 callers
Method
create
Creates a new instance, and adds it to the instances list at once
crates/sl-core/src/launcher/instances/instance_metadata.rs:141
↓ 4 callers
Method
download
Downloads the forge installer's library and returns it's path
crates/sl-core/src/loaders/forge.rs:118
↓ 4 callers
Function
get_existing
Gets an existing instance by name assuming it exists errors if it does not exist
crates/sl-core/src/launcher/instances/mod.rs:70
↓ 4 callers
Method
is_same_type
(&self, other: &JavaClassName)
crates/sl-meta/src/minecraft/mod.rs:81
↓ 4 callers
Method
join_client
TODO: really slow?
crates/sl-meta/src/minecraft/loaders/forge.rs:50
↓ 4 callers
Method
versions
Returns all Minecraft versions
crates/sl-meta/src/minecraft/version_manifest.rs:43
↓ 4 callers
Method
versions_by_type
(&self, kind: VersionType)
crates/sl-meta/src/minecraft/version_manifest.rs:38
↓ 3 callers
Method
client_jar_path
(&self, dir_path: &Path)
crates/sl-core/src/launcher/minecraft_version.rs:37
↓ 3 callers
Method
client_json
(&self)
crates/sl-core/src/launcher/instances/loaded_instance.rs:52
↓ 3 callers
Method
concat
Concatenates two arguments. panics if the arguments are not of the same type.
crates/sl-meta/src/minecraft/loaders/vanilla.rs:112
↓ 3 callers
Function
copy_dir_all
Some helper function to recursively copy a directory
crates/sl-utils/src/fs.rs:4
↓ 3 callers
Method
current_profile
(&self)
crates/sl-core/src/launcher/player/player_profiles.rs:66
↓ 3 callers
Method
execute
Performs the execution of the instance.
crates/sl-core/src/launcher/instances/loaded_instance.rs:201
↓ 3 callers
Method
java
(&self)
crates/sl-core/src/launcher/instances/instance_config.rs:62
↓ 3 callers
Method
load_init
Loads, downloads and initializes a combination of a minecraft version, mod loader information, and an instance config also uses an instance directory
crates/sl-core/src/launcher/minecraft_version.rs:180
↓ 2 callers
Method
add
(&mut self, profile: PlayerProfile)
crates/sl-core/src/launcher/player_profiles.rs:39
↓ 2 callers
Method
append_file
Appends a file with a given path to the archive, taking in a path in the archive
crates/sl-utils/src/zip.rs:83
↓ 2 callers
Method
append_path_all
(&mut self, path: &Path)
crates/sl-utils/src/zip.rs:46
↓ 2 callers
Method
concat
(self, client: Client)
crates/sl-core/src/loaders/mod.rs:23
↓ 2 callers
Function
download_and_read_file
(download: &Download, path: &Path)
crates/sl-core/src/minecraft/mod.rs:66
↓ 2 callers
Function
download_and_verify
(download: &Download, path: &Path)
crates/sl-core/src/minecraft/mod.rs:38
↓ 2 callers
Function
download_futures
(to_download: I, download_max: usize, download: F)
crates/sl-core/src/minecraft/mod.rs:96
↓ 2 callers
Function
download_to
(download: &Download, path: &Path)
crates/sl-core/src/minecraft/mod.rs:81
↓ 2 callers
Method
extract
TODO: make async with the help of tokio_utils
crates/sl-utils/src/zip.rs:131
↓ 2 callers
Function
fetchAll
()
crates/sl-frontend/src/pages/instance-page.tsx:23
↓ 2 callers
Function
fetchInstances
()
crates/sl-frontend/src/pages/instances-page.tsx:12
↓ 2 callers
Function
find
Gets an existing instance by name assuming it may not exist returns Ok(None) if it does not exist
crates/sl-core/src/launcher/instances/mod.rs:25
↓ 2 callers
Function
getInstances
()
crates/sl-frontend/src/lib/commands/instances.ts:5
↓ 2 callers
Function
get_all_instances
Gets all instances information from the instances directory
crates/sl-core/src/launcher/instances/mod.rs:77
↓ 2 callers
Function
get_latest_loader_version
( game_version: &str, do_request: impl AsyncFnOnce(&str) -> Result<Vec<u8>, E>, )
crates/sl-meta/src/minecraft/loaders/quilt/versions.rs:32
↓ 2 callers
Function
get_profiles
()
crates/sl-frontend/src-tauri/src/commands/profiles.rs:4
↓ 2 callers
Function
init_launcher_dir
()
crates/sl-core/src/launcher/mod.rs:49
↓ 2 callers
Method
instance_dir
(&self)
crates/sl-core/src/launcher/instances/instance_metadata.rs:154
↓ 2 callers
Method
into_directory_and_jar
(&self)
crates/sl-meta/src/minecraft/mod.rs:85
↓ 2 callers
Method
libraries
(&self)
crates/sl-meta/src/minecraft/loaders/vanilla.rs:254
↓ 2 callers
Method
native_from_platform
(&self)
crates/sl-meta/src/minecraft/loaders/vanilla.rs:205
↓ 2 callers
Function
open_folder
(folder_path: &Path)
crates/sl-frontend/src-tauri/src/commands/launcher.rs:4
↓ 2 callers
Function
query_project_version
( slug: &str, version: &str, )
crates/sl-store/src/modrinth/api/project.rs:73
↓ 2 callers
Function
renderItems
(section: 'top' | 'bottom')
crates/sl-frontend/src/components/layout/sidebar.tsx:76
↓ 2 callers
Method
retry
( &self, mut f: F, max_retries: u32, delay: Duration, on_retry: impl F
crates/sl-utils/src/requester.rs:108
↓ 1 callers
Function
add_new
(instance: &InstanceMetadata)
crates/sl-core/src/launcher/instances/mod.rs:40
↓ 1 callers
Method
append_dir_existing
(&mut self, dir_path_in_archive: &Path)
crates/sl-utils/src/zip.rs:33
↓ 1 callers
Method
append_directory_recursive
Recursively appends a directory to the archive
crates/sl-utils/src/zip.rs:57
↓ 1 callers
Function
build_facets
(facets: &Vec<Vec<FacetFilter>>)
crates/sl-store/src/modrinth/api/search.rs:160
↓ 1 callers
Function
checkOnline
()
crates/sl-frontend/src/pages/store-page.tsx:30
↓ 1 callers
Method
compile_installer
Downloads and compiles the forge installer, returns the class path and the file path of the final compiled binary
crates/sl-core/src/loaders/forge.rs:167
↓ 1 callers
Method
compile_installer
Downloads and compiles the neoforge installer, returns the class path and the file path of the final compiled binary
crates/sl-core/src/loaders/neoforge.rs:84
↓ 1 callers
Function
createInstance
( name: string, version: string, modLoader: string )
crates/sl-frontend/src/lib/commands/instances.ts:19
↓ 1 callers
Function
create_instance_inner
( name: String, version: String, mod_loader: ModLoader, )
crates/sl-frontend/src-tauri/src/commands/instances.rs:13
↓ 1 callers
Function
default_java_path
(component: &JavaComponent)
crates/sl-core/src/launcher/instances/instance_config.rs:31
↓ 1 callers
Method
dir_path
(&self)
crates/sl-core/src/launcher/minecraft_version.rs:33
↓ 1 callers
Method
download
(&self)
crates/sl-core/src/loaders/neoforge.rs:66
↓ 1 callers
Method
download
(&self, url: &str)
crates/sl-utils/src/requester.rs:43
↓ 1 callers
Function
download_jre_manifest_version
( requester: &Requester, jre_manifest: &JreManifest, dest: &Path, java_component: &JavaCompone
crates/sl-java-manager/src/jre_manifest/installer.rs:60
↓ 1 callers
Method
download_minecraft
Downloads the required files for executing minecraft for this instance, only downloads corrupted or non existing files the reason why the download op
crates/sl-core/src/launcher/instances/loaded_instance.rs:68
↓ 1 callers
Function
download_modpack_file
( path: &Path, modpack_file: &ModrinthIndex, )
crates/sl-store/src/modrinth/mrpack.rs:106
↓ 1 callers
Function
download_modpack_files
( instance_path: &Path, modpack_files: &[ModrinthIndex], )
crates/sl-store/src/modrinth/mrpack.rs:123
↓ 1 callers
Function
download_version_json
Downloads the client.json of a given minecraft version
crates/sl-core/src/minecraft/version_manifest.rs:32
↓ 1 callers
Method
exclude
Excludes a given file name, relative to the instance root from the exporting
crates/sl-core/src/launcher/instances/instance_exporter.rs:24
↓ 1 callers
Method
export
Exports the instance returning the export results
crates/sl-core/src/launcher/instances/instance_exporter.rs:30
↓ 1 callers
Method
exporter_to_path
Creates an Instance Exporter that will export the instance to a given Path, the exported data would be in Zip format
crates/sl-core/src/launcher/instances/instance_metadata.rs:184
↓ 1 callers
Function
fetch
()
crates/sl-frontend/src/components/create-instance-dialog.tsx:32
↓ 1 callers
Function
fetch
()
crates/sl-frontend/src/pages/store-page.tsx:43
↓ 1 callers
Function
fetch_jre_manifest
()
crates/sl-core/src/launcher/java.rs:8
↓ 1 callers
Function
fetch_version_manifest
()
crates/sl-core/src/minecraft/version_manifest.rs:12
↓ 1 callers
Method
file_type_flipped
(&self)
crates/sl-core/src/loaders/forge.rs:105
↓ 1 callers
Method
finish
finishes writing to the Zip archive returning any errors drop would do this automatically but this is a method to handle errors
crates/sl-utils/src/zip.rs:29
↓ 1 callers
Method
forge_version_name
(&self)
crates/sl-core/src/loaders/forge.rs:113
↓ 1 callers
Method
generate_arguments
( &self, profile: &PlayerProfile, )
crates/sl-core/src/launcher/instances/loaded_instance.rs:136
↓ 1 callers
Method
generate_classpath
Generates the classpath for executing minecraft for this instance
crates/sl-core/src/launcher/instances/loaded_instance.rs:80
↓ 1 callers
Method
generate_sound_arguments
Thanks MrMayMan
crates/sl-core/src/launcher/instances/loaded_instance.rs:104
↓ 1 callers
Function
getCurrentProfile
()
crates/sl-frontend/src/lib/commands/profiles.ts:5
↓ 1 callers
Function
getCurseforgeStoreSearch
( query: string, class_id: number, offset: number, )
crates/sl-frontend/src/lib/commands/store.ts:27
↓ 1 callers
Function
getGameInfo
(name: string)
crates/sl-frontend/src/lib/commands/instances.ts:55
↓ 1 callers
Function
getIconByTitle
(title: string)
crates/sl-frontend/src/components/instance-card.tsx:6
↓ 1 callers
Function
getMinecraftVersions
()
crates/sl-frontend/src/lib/commands/minecraft.ts:4
↓ 1 callers
Function
getModrinthStoreSearch
( query: string, projectType: string, page: number, )
crates/sl-frontend/src/lib/commands/store.ts:6
↓ 1 callers
Method
get_by_component
(&self, component: &JavaComponent)
crates/sl-java-manager/src/jre_manifest/mod.rs:38
↓ 1 callers
Method
get_component_downloads
(&self, component: &JavaComponent)
crates/sl-java-manager/src/jre_manifest/mod.rs:79
↓ 1 callers
Method
get_current_platform_download
(&self)
crates/sl-java-manager/src/jre_manifest/mod.rs:65
↓ 1 callers
Function
get_fabric_versions
avoid adding deps on reqwest here Fetches the Fabric versions for a given game version using the provided request function. the function must return a
crates/sl-meta/src/minecraft/loaders/fabric/versions.rs:20
↓ 1 callers
Function
get_game_info
(instance_name: &str)
crates/sl-core/src/launcher/instances/game.rs:133
↓ 1 callers
Function
get_instance_config
( instance_local_config_path: &Path, java_component: &JavaComponent, )
crates/sl-core/src/launcher/instances/instance_config.rs:110
↓ 1 callers
Method
get_javac
(&self)
crates/sl-core/src/launcher/instances/instance_config.rs:95
↓ 1 callers
Method
get_latest_forge_version
(&self, minecraft_version: &str)
crates/sl-meta/src/minecraft/loaders/forge.rs:29
↓ 1 callers
Method
get_latest_version
(&self, mc_version: &str)
crates/sl-core/src/launcher/instances/instance_metadata.rs:54
↓ 1 callers
Function
get_minecraft_world_metadata
( world_folder_path: &Path, )
crates/sl-core/src/launcher/instances/game.rs:111
↓ 1 callers
Function
get_quilt_versions
FIXME: a minecraft version may not have any quilt versions
crates/sl-meta/src/minecraft/loaders/quilt/versions.rs:17
↓ 1 callers
Function
get_screenshot_metadata
(screenshot_path: &Path)
crates/sl-core/src/launcher/instances/game.rs:88
↓ 1 callers
Function
import_instance
Imports an Instance exported in a Zip format, from a reader
crates/sl-core/src/launcher/instances/instance_importer.rs:15
next →
1–100 of 353, ranked by callers