Annotation Interface RegisterConfig


@Retention(SOURCE) @Target(TYPE) @Documented public @interface RegisterConfig
Automatically registers a class as a LibX config.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Whether the config is a client config.
    The mod id of the mod which needs to be loaded to generate this config file.
    The name to use for the config.
  • Element Details

    • value

      String value
      The name to use for the config.
      Default:
      "config"
    • client

      boolean client
      Whether the config is a client config.
      Default:
      false
    • requiresMod

      String requiresMod
      The mod id of the mod which needs to be loaded to generate this config file.
      Default:
      ""