pub struct QuiltMC;Implementations§
Source§impl QuiltMC
impl QuiltMC
pub fn new() -> Self
Sourcepub async fn download_json(
&self,
mc_version: &str,
build: &str,
client: &Client,
) -> Result<FabricJson, LoaderError>
pub async fn download_json( &self, mc_version: &str, build: &str, client: &Client, ) -> Result<FabricJson, LoaderError>
Fetch the Quilt loader profile JSON for the given Minecraft version.
build options:
"latest"→ first build in the list (highest version)."recommended"→ first build whose version does not contain"beta".- Any other string → exact version match.
Sourcepub async fn download_libraries(
&self,
options: &LaunchOptions,
quilt_json: &FabricJson,
_client: &Client,
event_tx: &Sender<LaunchEvent>,
) -> Result<Vec<AssetItem>, LoaderError>
pub async fn download_libraries( &self, options: &LaunchOptions, quilt_json: &FabricJson, _client: &Client, event_tx: &Sender<LaunchEvent>, ) -> Result<Vec<AssetItem>, LoaderError>
Download any Quilt libraries not yet on disk.
Behaviour is identical to FabricMC::download_libraries.
Trait Implementations§
Source§impl ModLoader for QuiltMC
impl ModLoader for QuiltMC
fn install<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>(
&'life0 self,
options: &'life1 LaunchOptions,
input: &'life2 LoaderInstallInput,
client: &'life3 Client,
event_tx: &'life4 Sender<LaunchEvent>,
) -> Pin<Box<dyn Future<Output = Result<LoaderResult, LoaderError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
'life4: 'async_trait,
Auto Trait Implementations§
impl Freeze for QuiltMC
impl RefUnwindSafe for QuiltMC
impl Send for QuiltMC
impl Sync for QuiltMC
impl Unpin for QuiltMC
impl UnsafeUnpin for QuiltMC
impl UnwindSafe for QuiltMC
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more