All Downloads are FREE. Search and download functionalities are using the official Maven repository.

personthecat.catlib.config.LibConfig Maven / Gradle / Ivy

Go to download

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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy