Skip to content

nozyx12/Craft4J

Repository files navigation

Craft4J

Craft4J is a simple and lightweight Minecraft Launcher library.

Features

  • Simple and powerful
  • Microsoft and offline auth
  • Advanced updates (thanks to FlowUpdater by FlowArg)
  • Mod loaders support
  • Easy game launch with custom JVM arguments

Installation

Repositories

For Maven:

<repositories>
    <repository>
        <id>nozyx</id>
        <url>https://maven.nozyx.dev</url>
    </repository>
    <repository>
        <id>litarvan</id>
        <url>https://litarvan.github.io/maven</url>
    </repository>
</repositories>

For Gradle (Groovy DSL):

repositories {
    mavenCentral()
    
    maven {
        url "https://maven.nozyx.dev"
    }
    
    maven {
        url "https://litarvan.github.io/maven"
    }
}

For Gradle (Kotlin DSL):

repositories {
    mavenCentral()
    
    maven {
        url = uri("https://maven.nozyx.dev")
    }

    maven {
        url = uri("https://litarvan.github.io/maven")
    }
}

Dependency

For Maven:

<dependency>
    <groupId>dev.nozyx</groupId>
    <artifactId>craft4j</artifactId>
    <version>1.0.0</version>
</dependency>

For Gradle (Groovy DSL):

implementation "dev.nozyx:craft4j:1.0.0"

For Gradle (Kotlin DSL):

implementation("dev.nozyx:craft4j:1.0.0")

Special Thanks

  • FlowArg – for his library FlowUpdater (used to update and download game files) and for maintaining a fork of OpenLauncherLib (originally by Litarvan, used to launch the game)
  • Litarvan – for his library OpenAuth (used to authenticate with Microsoft)

License

NPL (v1) – See LICENSE file

About

Craft4J is a simple and lightweight Minecraft Launcher library.

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors

Languages