Annotation Interface GConfig


@Retention(RUNTIME) @Target(FIELD) @Documented public @interface GConfig
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The identifier of this config entrypoint.
    This is what's shown on the top of the screen when opened.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Make the config screen attached to the annotation the one that shows by default.
  • Element Details

    • value

      String value
      The identifier of this config entrypoint. !!!MUST BE UNIQUE FROM OTHER CONFIGS IN YOUR MOD!!!
    • visibleName

      String visibleName
      This is what's shown on the top of the screen when opened. Less than 100 characters recommended.
    • primary

      boolean primary
      Make the config screen attached to the annotation the one that shows by default.
      Default:
      false