Allows your mod to log into minecraft accounts. Really easy and really fast.
It is just a tool for developers. Not for users.
1. Add JitPack to your build.gradle
:
repositories {
maven { url "https://jitpack.io" }
}
dependencies {
modImplementation "com.github.lasnikprogram:fabric-login:FABRIC-LOGIN_VERSION"
}
❗ FABRIC-LOGIN_VERSION
should get replaced by the version you want to use.
You find them under tags (the latest one is also in green at the beginning of this Readme
). Alternatively you can use the hash of any commit.
import fabric.login.Login;
new Login (username);
new Login (email, password);
new Login (String email, String password, Proxy proxy, String clientToken, Agent agent, String accountType);
Read the Javadoc for more information.