Annotation Interface Info


@Retention(RUNTIME) @Target(FIELD) public @interface Info
  • Element Details

    • title

      @TranslatedDefault("polyui.info") String title
      Title for the info block which due to Java annotation limitations is replaced with the actual type name when left unchanged
      Default:
      "polyui.info"
    • titleTranslation

      @Deprecated boolean titleTranslation
      Deprecated.
      OneConfig auto-translates title values that are translation keys so pass the key directly
      Default:
      false
    • titleKey

      Deprecated.
      Default:
      ""
    • description

      String description
      Default:
      ""
    • descriptionTranslation

      @Deprecated boolean descriptionTranslation
      Deprecated.
      OneConfig auto-translates description values that are translation keys so pass the key directly
      Default:
      false
    • descriptionKey

      @Deprecated String descriptionKey
      Deprecated.
      Default:
      ""
    • icon

      String icon
      Icon for the info block which due to Java annotation limitations is replaced with the actual type icon when left unchanged
      Default:
      "polyui/info.svg"
    • category

      String category
      Default:
      "General"
    • categoryTranslation

      @Deprecated boolean categoryTranslation
      Deprecated.
      OneConfig auto-translates category values that are translation keys so pass the key directly
      Default:
      false
    • categoryKey

      @Deprecated String categoryKey
      Deprecated.
      Default:
      ""
    • subcategory

      String subcategory
      Default:
      "General"
    • subcategoryTranslation

      @Deprecated boolean subcategoryTranslation
      Deprecated.
      OneConfig auto-translates subcategory values that are translation keys so pass the key directly
      Default:
      false
    • subcategoryKey

      @Deprecated String subcategoryKey
      Deprecated.
      Default:
      ""