Annotation Interface Info
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionDeprecated.booleanDeprecated.No longer needed.Deprecated.booleanDeprecated.No longer needed.Icon for the info block.Deprecated.booleanDeprecated.No longer needed.Title for the info block.Deprecated.booleanDeprecated.No longer needed.
-
Element Details
-
title
Title for the info block. Due to Java annotation limitations, if the value is unchanged, it will be replaced with the actual type name.- Default:
"polyui.info"
-
titleTranslation
Deprecated.No longer needed. OneConfig now checks whether the given title is a translation key present in the active language, and translates it automatically when it is. Pass the translation key directly as the title and remove this flag.- Default:
false
-
titleKey
Deprecated.- Default:
""
-
description
String description- Default:
""
-
descriptionTranslation
Deprecated.No longer needed. OneConfig now checks whether the given description is a translation key present in the active language, and translates it automatically when it is. Pass the translation key directly as the description and remove this flag.- Default:
false
-
descriptionKey
Deprecated.- Default:
""
-
icon
String iconIcon for the info block. Due to Java annotation limitations, if the value is unchanged, it will be replaced with the actual type icon.- Default:
"polyui/info.svg"
-
category
String category- Default:
"General"
-
categoryTranslation
Deprecated.No longer needed. OneConfig now checks whether the given category is a translation key present in the active language, and translates it automatically when it is. Pass the translation key directly as the category and remove this flag.- Default:
false
-
categoryKey
Deprecated.- Default:
""
-
subcategory
String subcategory- Default:
"General"
-
subcategoryTranslation
Deprecated.No longer needed. OneConfig now checks whether the given subcategory is a translation key present in the active language, and translates it automatically when it is. Pass the translation key directly as the subcategory and remove this flag.- Default:
false
-
subcategoryKey
Deprecated.- Default:
""
-