docs.rs failed to build late-java-core-2.2.9
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Late Java Core
Una librería Rust para lanzar Minecraft Java Edition con soporte para mod loaders, autenticación Microsoft/Mojang/AZauth, y descarga automática de archivos.
Características
- 🔐 Autenticación completa: Microsoft (Xbox Live), Mojang (legacy), y AZauth
- 🚀 Lanzamiento de Minecraft: Con soporte para mod loaders
- 📦 Descarga automática: Librerías, assets, y archivos del juego
- 🌐 Ping de servidores: Información de servidores Minecraft
- ⚡ Asíncrono: Basado en Tokio para máximo rendimiento
- 🛡️ Seguro: Manejo robusto de errores con tipos específicos
Instalación
Agrega esto a tu Cargo.toml:
[]
= "2.2.9"
= { = "1.0", = ["full"] }
Uso Básico
use ;
async
Autenticación
Microsoft (Xbox Live)
use MicrosoftAuth;
let auth = new;
let result = auth.authenticate.await?;
Mojang (Legacy)
use MojangAuth;
let auth = new;
let result = auth.authenticate.await?;
AZauth (Servidor Personalizado)
use AZauthAuth;
let auth = new;
let result = auth.authenticate.await?;
Ping de Servidores
use ;
// Hacer ping a un servidor
let result = ping_server.await?;
println!;
println!;
println!;
Eventos del Launcher
use ;
let mut launcher = new;
let mut event_receiver = launcher.subscribe;
// Escuchar eventos
while let Ok = event_receiver.recv.await
Ejemplos
El proyecto incluye varios ejemplos en la carpeta examples/:
basic_example.rs- Ejemplo básico de uso
Para ejecutar los ejemplos:
API Completa
Autenticación
MicrosoftAuth- Autenticación Microsoft/Xbox LiveMojangAuth- Autenticación Mojang (legacy)AZauthAuth- Autenticación AZauth (servidor personalizado)
Launcher
Launch- Launcher principalLaunchOptions- Opciones de configuraciónLaunchEvent- Eventos del launcher
Minecraft
VersionManifest- Manifest de versionesVersionInfo- Información de versión
Status Server
StatusClient- Cliente para ping de servidoresping_server- Función de conveniencia
Licencia
Este proyecto está licenciado bajo la Licencia CC-BY-NC-4.0.
Contribuir
Las contribuciones son bienvenidas! Por favor, abre un issue o pull request.
Changelog
v2.2.9
- Migración completa de TypeScript a Rust
- Soporte para autenticación Microsoft, Mojang y AZauth
- Sistema de eventos del launcher
- Ping de servidores Minecraft
- API asíncrona basada en Tokio