personthecat.catlib.config.LibConfig Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of catlib-quilt Show documentation
Show all versions of catlib-quilt Show documentation
Utilities for serialization, commands, noise generation, IO, and some new data types.
The newest version!
package personthecat.catlib.config;
import dev.architectury.injectables.annotations.ExpectPlatform;
import lombok.experimental.UtilityClass;
import personthecat.catlib.event.error.Severity;
import personthecat.catlib.exception.MissingOverrideException;
@UtilityClass
public class LibConfig {
@ExpectPlatform
public static void register() {
throw new MissingOverrideException();
}
@ExpectPlatform
public static boolean enableGlobalLibCommands() {
return true;
}
@ExpectPlatform
public static Severity errorLevel() {
return Severity.ERROR;
}
@ExpectPlatform
public static boolean wrapText() {
return true;
}
@ExpectPlatform
public static int displayLength() {
return 35;
}
}