MCPcopy Create free account

hub / github.com/SynthLauncher/SynthLauncher / functions

Functions353 in github.com/SynthLauncher/SynthLauncher

↓ 58 callersFunctioncn
(...inputs: ClassValue[])
crates/sl-frontend/src/lib/utils.ts:4
↓ 48 callersMethodto_string
(&self)
crates/sl-core/src/launcher/minecraft_version.rs:49
↓ 16 callersMethodget
(&self, url: &str)
crates/sl-utils/src/requester.rs:81
↓ 14 callersMethodbuilder
(&self)
crates/sl-utils/src/requester.rs:77
↓ 10 callersMethoddownload_to
(&self, url: &str, path: &Path)
crates/sl-utils/src/requester.rs:49
↓ 8 callersMethodfind
( &self, name: &str, premium: bool, )
crates/sl-core/src/launcher/player/player_profiles.rs:52
↓ 8 callersMethodto_string
(&self)
crates/sl-meta/src/minecraft/loaders/neoforge.rs:48
↓ 6 callersMethodgame_metadata
(&self)
crates/sl-core/src/launcher/instances/loaded_instance.rs:48
↓ 6 callersMethodget_json
( &self, url: &str, )
crates/sl-utils/src/requester.rs:99
↓ 5 callersMethodfile_type
(&self)
crates/sl-core/src/loaders/forge.rs:97
↓ 4 callersMethodcreate
Creates a new instance, and adds it to the instances list at once
crates/sl-core/src/launcher/instances/instance_metadata.rs:141
↓ 4 callersMethoddownload
Downloads the forge installer's library and returns it's path
crates/sl-core/src/loaders/forge.rs:118
↓ 4 callersFunctionget_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 callersMethodis_same_type
(&self, other: &JavaClassName)
crates/sl-meta/src/minecraft/mod.rs:81
↓ 4 callersMethodjoin_client
TODO: really slow?
crates/sl-meta/src/minecraft/loaders/forge.rs:50
↓ 4 callersMethodversions
Returns all Minecraft versions
crates/sl-meta/src/minecraft/version_manifest.rs:43
↓ 4 callersMethodversions_by_type
(&self, kind: VersionType)
crates/sl-meta/src/minecraft/version_manifest.rs:38
↓ 3 callersMethodclient_jar_path
(&self, dir_path: &Path)
crates/sl-core/src/launcher/minecraft_version.rs:37
↓ 3 callersMethodclient_json
(&self)
crates/sl-core/src/launcher/instances/loaded_instance.rs:52
↓ 3 callersMethodconcat
Concatenates two arguments. panics if the arguments are not of the same type.
crates/sl-meta/src/minecraft/loaders/vanilla.rs:112
↓ 3 callersFunctioncopy_dir_all
Some helper function to recursively copy a directory
crates/sl-utils/src/fs.rs:4
↓ 3 callersMethodcurrent_profile
(&self)
crates/sl-core/src/launcher/player/player_profiles.rs:66
↓ 3 callersMethodexecute
Performs the execution of the instance.
crates/sl-core/src/launcher/instances/loaded_instance.rs:201
↓ 3 callersMethodjava
(&self)
crates/sl-core/src/launcher/instances/instance_config.rs:62
↓ 3 callersMethodload_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 callersMethodadd
(&mut self, profile: PlayerProfile)
crates/sl-core/src/launcher/player_profiles.rs:39
↓ 2 callersMethodappend_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 callersMethodappend_path_all
(&mut self, path: &Path)
crates/sl-utils/src/zip.rs:46
↓ 2 callersMethodconcat
(self, client: Client)
crates/sl-core/src/loaders/mod.rs:23
↓ 2 callersFunctiondownload_and_read_file
(download: &Download, path: &Path)
crates/sl-core/src/minecraft/mod.rs:66
↓ 2 callersFunctiondownload_and_verify
(download: &Download, path: &Path)
crates/sl-core/src/minecraft/mod.rs:38
↓ 2 callersFunctiondownload_futures
(to_download: I, download_max: usize, download: F)
crates/sl-core/src/minecraft/mod.rs:96
↓ 2 callersFunctiondownload_to
(download: &Download, path: &Path)
crates/sl-core/src/minecraft/mod.rs:81
↓ 2 callersMethodextract
TODO: make async with the help of tokio_utils
crates/sl-utils/src/zip.rs:131
↓ 2 callersFunctionfetchAll
()
crates/sl-frontend/src/pages/instance-page.tsx:23
↓ 2 callersFunctionfetchInstances
()
crates/sl-frontend/src/pages/instances-page.tsx:12
↓ 2 callersFunctionfind
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 callersFunctiongetInstances
()
crates/sl-frontend/src/lib/commands/instances.ts:5
↓ 2 callersFunctionget_all_instances
Gets all instances information from the instances directory
crates/sl-core/src/launcher/instances/mod.rs:77
↓ 2 callersFunctionget_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 callersFunctionget_profiles
()
crates/sl-frontend/src-tauri/src/commands/profiles.rs:4
↓ 2 callersFunctioninit_launcher_dir
()
crates/sl-core/src/launcher/mod.rs:49
↓ 2 callersMethodinstance_dir
(&self)
crates/sl-core/src/launcher/instances/instance_metadata.rs:154
↓ 2 callersMethodinto_directory_and_jar
(&self)
crates/sl-meta/src/minecraft/mod.rs:85
↓ 2 callersMethodlibraries
(&self)
crates/sl-meta/src/minecraft/loaders/vanilla.rs:254
↓ 2 callersMethodnative_from_platform
(&self)
crates/sl-meta/src/minecraft/loaders/vanilla.rs:205
↓ 2 callersFunctionopen_folder
(folder_path: &Path)
crates/sl-frontend/src-tauri/src/commands/launcher.rs:4
↓ 2 callersFunctionquery_project_version
( slug: &str, version: &str, )
crates/sl-store/src/modrinth/api/project.rs:73
↓ 2 callersFunctionrenderItems
(section: 'top' | 'bottom')
crates/sl-frontend/src/components/layout/sidebar.tsx:76
↓ 2 callersMethodretry
( &self, mut f: F, max_retries: u32, delay: Duration, on_retry: impl F
crates/sl-utils/src/requester.rs:108
↓ 1 callersFunctionadd_new
(instance: &InstanceMetadata)
crates/sl-core/src/launcher/instances/mod.rs:40
↓ 1 callersMethodappend_dir_existing
(&mut self, dir_path_in_archive: &Path)
crates/sl-utils/src/zip.rs:33
↓ 1 callersMethodappend_directory_recursive
Recursively appends a directory to the archive
crates/sl-utils/src/zip.rs:57
↓ 1 callersFunctionbuild_facets
(facets: &Vec<Vec<FacetFilter>>)
crates/sl-store/src/modrinth/api/search.rs:160
↓ 1 callersFunctioncheckOnline
()
crates/sl-frontend/src/pages/store-page.tsx:30
↓ 1 callersMethodcompile_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 callersMethodcompile_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 callersFunctioncreateInstance
( name: string, version: string, modLoader: string )
crates/sl-frontend/src/lib/commands/instances.ts:19
↓ 1 callersFunctioncreate_instance_inner
( name: String, version: String, mod_loader: ModLoader, )
crates/sl-frontend/src-tauri/src/commands/instances.rs:13
↓ 1 callersFunctiondefault_java_path
(component: &JavaComponent)
crates/sl-core/src/launcher/instances/instance_config.rs:31
↓ 1 callersMethoddir_path
(&self)
crates/sl-core/src/launcher/minecraft_version.rs:33
↓ 1 callersMethoddownload
(&self)
crates/sl-core/src/loaders/neoforge.rs:66
↓ 1 callersMethoddownload
(&self, url: &str)
crates/sl-utils/src/requester.rs:43
↓ 1 callersFunctiondownload_jre_manifest_version
( requester: &Requester, jre_manifest: &JreManifest, dest: &Path, java_component: &JavaCompone
crates/sl-java-manager/src/jre_manifest/installer.rs:60
↓ 1 callersMethoddownload_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 callersFunctiondownload_modpack_file
( path: &Path, modpack_file: &ModrinthIndex, )
crates/sl-store/src/modrinth/mrpack.rs:106
↓ 1 callersFunctiondownload_modpack_files
( instance_path: &Path, modpack_files: &[ModrinthIndex], )
crates/sl-store/src/modrinth/mrpack.rs:123
↓ 1 callersFunctiondownload_version_json
Downloads the client.json of a given minecraft version
crates/sl-core/src/minecraft/version_manifest.rs:32
↓ 1 callersMethodexclude
Excludes a given file name, relative to the instance root from the exporting
crates/sl-core/src/launcher/instances/instance_exporter.rs:24
↓ 1 callersMethodexport
Exports the instance returning the export results
crates/sl-core/src/launcher/instances/instance_exporter.rs:30
↓ 1 callersMethodexporter_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 callersFunctionfetch
()
crates/sl-frontend/src/components/create-instance-dialog.tsx:32
↓ 1 callersFunctionfetch
()
crates/sl-frontend/src/pages/store-page.tsx:43
↓ 1 callersFunctionfetch_jre_manifest
()
crates/sl-core/src/launcher/java.rs:8
↓ 1 callersFunctionfetch_version_manifest
()
crates/sl-core/src/minecraft/version_manifest.rs:12
↓ 1 callersMethodfile_type_flipped
(&self)
crates/sl-core/src/loaders/forge.rs:105
↓ 1 callersMethodfinish
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 callersMethodforge_version_name
(&self)
crates/sl-core/src/loaders/forge.rs:113
↓ 1 callersMethodgenerate_arguments
( &self, profile: &PlayerProfile, )
crates/sl-core/src/launcher/instances/loaded_instance.rs:136
↓ 1 callersMethodgenerate_classpath
Generates the classpath for executing minecraft for this instance
crates/sl-core/src/launcher/instances/loaded_instance.rs:80
↓ 1 callersMethodgenerate_sound_arguments
Thanks MrMayMan
crates/sl-core/src/launcher/instances/loaded_instance.rs:104
↓ 1 callersFunctiongetCurrentProfile
()
crates/sl-frontend/src/lib/commands/profiles.ts:5
↓ 1 callersFunctiongetCurseforgeStoreSearch
( query: string, class_id: number, offset: number, )
crates/sl-frontend/src/lib/commands/store.ts:27
↓ 1 callersFunctiongetGameInfo
(name: string)
crates/sl-frontend/src/lib/commands/instances.ts:55
↓ 1 callersFunctiongetIconByTitle
(title: string)
crates/sl-frontend/src/components/instance-card.tsx:6
↓ 1 callersFunctiongetMinecraftVersions
()
crates/sl-frontend/src/lib/commands/minecraft.ts:4
↓ 1 callersFunctiongetModrinthStoreSearch
( query: string, projectType: string, page: number, )
crates/sl-frontend/src/lib/commands/store.ts:6
↓ 1 callersMethodget_by_component
(&self, component: &JavaComponent)
crates/sl-java-manager/src/jre_manifest/mod.rs:38
↓ 1 callersMethodget_component_downloads
(&self, component: &JavaComponent)
crates/sl-java-manager/src/jre_manifest/mod.rs:79
↓ 1 callersMethodget_current_platform_download
(&self)
crates/sl-java-manager/src/jre_manifest/mod.rs:65
↓ 1 callersFunctionget_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 callersFunctionget_game_info
(instance_name: &str)
crates/sl-core/src/launcher/instances/game.rs:133
↓ 1 callersFunctionget_instance_config
( instance_local_config_path: &Path, java_component: &JavaComponent, )
crates/sl-core/src/launcher/instances/instance_config.rs:110
↓ 1 callersMethodget_javac
(&self)
crates/sl-core/src/launcher/instances/instance_config.rs:95
↓ 1 callersMethodget_latest_forge_version
(&self, minecraft_version: &str)
crates/sl-meta/src/minecraft/loaders/forge.rs:29
↓ 1 callersMethodget_latest_version
(&self, mc_version: &str)
crates/sl-core/src/launcher/instances/instance_metadata.rs:54
↓ 1 callersFunctionget_minecraft_world_metadata
( world_folder_path: &Path, )
crates/sl-core/src/launcher/instances/game.rs:111
↓ 1 callersFunctionget_quilt_versions
FIXME: a minecraft version may not have any quilt versions
crates/sl-meta/src/minecraft/loaders/quilt/versions.rs:17
↓ 1 callersFunctionget_screenshot_metadata
(screenshot_path: &Path)
crates/sl-core/src/launcher/instances/game.rs:88
↓ 1 callersFunctionimport_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