Skip navigation links
A C D G L M S U V 

A

authOffline(String, String) - Method in class dev.nozyx.craft4j.Launcher
Authenticates the launcher in offline mode using the provided username and UUID.
authWithRefreshToken(String) - Method in class dev.nozyx.craft4j.Launcher
Authenticates the launcher using a Microsoft refresh token.
authWithWebview() - Method in class dev.nozyx.craft4j.Launcher
Authenticates the launcher using a Microsoft webview flow.

C

clearAuthInfos() - Method in class dev.nozyx.craft4j.Launcher
Clears the current authentication information.

D

dev.nozyx.craft4j - package dev.nozyx.craft4j
 

G

GameConfiguration - Class in dev.nozyx.craft4j
Represents the configuration for a Minecraft game instance.
GameConfiguration(Path, String, List<String>) - Constructor for class dev.nozyx.craft4j.GameConfiguration
Constructs a new GameConfiguration instance.
getAdditionalVmArgs() - Method in class dev.nozyx.craft4j.GameConfiguration
Returns the additional JVM arguments.
getAuthInfos() - Method in class dev.nozyx.craft4j.Launcher
Returns the current authentication information.
getGameConfiguration() - Method in class dev.nozyx.craft4j.Launcher
Returns the current game configuration.
getGameDir() - Method in class dev.nozyx.craft4j.GameConfiguration
Returns the game directory.
getLauncherName() - Method in class dev.nozyx.craft4j.Launcher
Returns the name of the launcher.
getMcVersion() - Method in class dev.nozyx.craft4j.GameConfiguration
Returns the Minecraft version.
getModLoader() - Method in class dev.nozyx.craft4j.ModdedGameConfiguration
Returns the mod loader type.
getModLoaderVersion() - Method in class dev.nozyx.craft4j.ModdedGameConfiguration
Returns the version of the mod loader.
getMods() - Method in class dev.nozyx.craft4j.ModdedGameConfiguration
Returns the list of mods.

L

Launcher - Class in dev.nozyx.craft4j
The Launcher class is part of the Craft4J library and provides an abstraction layer to simplify authentication, game configuration, update, and launch processes for Minecraft launchers.
Launcher(String) - Constructor for class dev.nozyx.craft4j.Launcher
Constructs a new Launcher instance.

M

ModdedGameConfiguration - Class in dev.nozyx.craft4j
Represents a modded Minecraft game configuration.
ModdedGameConfiguration(Path, String, ModLoader, String, List<Mod>, List<String>) - Constructor for class dev.nozyx.craft4j.ModdedGameConfiguration
Constructs a new ModdedGameConfiguration instance.
ModLoader - Enum in dev.nozyx.craft4j
Enum representing supported Minecraft mod loaders.

S

setGameConfiguration(GameConfiguration) - Method in class dev.nozyx.craft4j.Launcher
Sets the current game configuration to be used for updates and launching.
startGame() - Method in class dev.nozyx.craft4j.Launcher
Launches the Minecraft game using OpenLauncherLib's NoFramework.

U

update(IProgressCallback) - Method in class dev.nozyx.craft4j.Launcher
Updates the game files using FlowUpdater according to the current game configuration.

V

valueOf(String) - Static method in enum dev.nozyx.craft4j.ModLoader
Returns the enum constant of this type with the specified name.
values() - Static method in enum dev.nozyx.craft4j.ModLoader
Returns an array containing the constants of this enum type, in the order they are declared.
A C D G L M S U V 
Skip navigation links