Fabric.NET Library
Fabric.NET is a library designed to handle the downloading and installation of Fabric loaders for Minecraft instances. It provides a simple and convenient way to manage Fabric loader versions and asso
Prerequisites
Installation
Install-Package Fabric.NETUsage
Getting Fabric Loader Versions
// Gets the latest loader versions.
string[] loader_versions = await FabricLoader.GetLoaderVersions();Installing Fabric Loader to a Minecraft Instance
// Gets the instance from the instance manager.
InstanceManager manager = new InstanceManager("./instances");
InstanceModel instance = manager.GetFirstInstancesByName("Test");
// Downloads and installs the specified Fabric loader version to the specified instance.
await FabricLoader.Install(loader_versions.First(), instance);Last updated
