lighty-loaders-26.5.3 has been yanked.
lighty-loaders
Mod loader support for Minecraft: Vanilla, Fabric, Quilt, Forge, NeoForge, OptiFine, and custom loaders.
Overview
Version: 26.5.1 Part of: LightyLauncher
Provides a unified trait-based API for managing different Minecraft mod loaders with smart caching and metadata resolution.
Quick Start
use *;
async
Supported Loaders
| Loader | Feature Flag | Status | MC Versions |
|---|---|---|---|
| Vanilla | vanilla |
Stable | All |
| Fabric | fabric |
Stable | 1.14+ |
| Quilt | quilt |
Stable | 1.14+ |
| NeoForge | neoforge |
Stable | 1.20.2+ |
| Forge | forge |
In Progress | 1.13+ |
| Forge Legacy | forge_legacy |
In Progress | 1.7-1.12 |
| LightyUpdater | lighty_updater |
Stable | Custom |
| OptiFine | (vanilla feature) | Experimental | Most |
Features
- Trait-based system:
VersionInfoandLoaderExtensionsfor extensibility - Smart caching: Dual-layer cache (raw + query) with configurable TTL
- Query system: Flexible metadata queries (full, libraries only, etc.)
- Event integration: Progress tracking via
lighty-event - Feature flags: Compile only what you need
Installation
[]
# With all loaders
= { = "26.5.1", = ["all-loaders"] }
# With specific loaders
= { = "26.5.1", = ["vanilla", "fabric", "quilt"] }
Core Traits
VersionInfo
Defines version information for any instance:
use VersionInfo;
// Already implemented by VersionBuilder
let instance = new;
println!;
println!;
println!;
LoaderExtensions
Extension methods for fetching loader metadata:
use LoaderExtensions;
// Get full metadata
let metadata = instance.get_metadata.await?;
// Or get specific parts
let libraries = instance.get_libraries.await?;
let assets = instance.get_assets.await?;
Exports
In lighty_loaders
use ;
In lighty_launcher (re-exports)
use *;
// or
use ;
Documentation
| Guide | Description |
|---|---|
| How to Use | Simple guide with practical examples |
| Overview | Architecture and design |
| Traits | VersionInfo and LoaderExtensions explained |
| Query System | How queries work |
| Cache System | Caching architecture |
| Events | LoaderEvent types |
| Exports | All exports and re-exports |
| Loaders | |
| Vanilla | Pure Minecraft |
| Fabric | Lightweight mod loader |
| Quilt | Fabric fork |
| NeoForge | Modern Forge fork |
| Forge | Traditional mod loader |
| LightyUpdater | Custom loader system |
| OptiFine | Graphics optimization |
Related Crates
- lighty-launcher - Main package
- lighty-version - VersionBuilder implementation
- lighty-launch - Launch system
- lighty-event - Event system
License
MIT