top.hendrixshen.magiclib.api.malilib.annotation.Config Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of magiclib-malilib-extra-1.19.2-fabric Show documentation
Show all versions of magiclib-malilib-extra-1.19.2-fabric Show documentation
Unleash Magic Enhancement Malilib.
package top.hendrixshen.magiclib.api.malilib.annotation;
import top.hendrixshen.magiclib.api.dependency.annotation.CompositeDependencies;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
public @interface Config {
/**
* The category to which the configuration belongs, if using the GUI provided by MagicLib,
* will be used as the basis for tab assignment.
*
* @return Configuration category.
*/
String category() default Config.defaultCategory;
boolean debugOnly() default false;
boolean devOnly() default false;
Statistic statistic() default @Statistic;
CompositeDependencies compositeDependencies() default @CompositeDependencies();
String defaultCategory = "all";
}