-
Notifications
You must be signed in to change notification settings - Fork 0
BooleanManager
Larrox edited this page Aug 28, 2025
·
5 revisions
Note
BooleanManager was added in DEV-BUILD-1.0.0
With the BooleanManager you can Check True/False States of LarroxUtilsAPI.
Until a Release is out, refer to your TabCompleter.
EXAMPLE (with System#println)
public static void printBuildInfo() {
// Checking if its the Dev-Build
if (isDevBuild) {
System.out.println("π» Running LarroxUtilsAPI Dev!");
}
// Check if its the Release Build
if (isReleaseBuild) {
System.out.println("π Running LarroxUtilsAPI Release!");
}
// You probably dont need it, except you are me (Larrox).
if (isLarroxBuild) {
System.out.println("π§ Running LarroxUtilsAPI LarroxDev!");
}
}EXAMPLE 2 (with LarroxUtilAPI's Logger)
import dev.larrox.Logger;
public static void printBuildInfo() {
// Checking if its the Dev-Build
if (isDevBuild) {
Logger.info("π» Running LarroxUtilsAPI Dev!");
}
// Check if its the Release Build
if (isReleaseBuild) {
Logger.info("π Running LarroxUtilsAPI Release!");
}
// You probably dont need it, except you are me (Larrox).
if (isLarroxBuild) {
Logger.info("π§ Running LarroxUtilsAPI LarroxDev!");
}
}