Annotation Interface PreviousNames


@Retention(RUNTIME) @Target(FIELD) @Documented public @interface PreviousNames
Annotation used to specify previous names that this option was called before, so that when the user updates their mod, their config will be kept intact. Format: {"oldCategory.oldSubcategory.oldName1", "oldCategory.oldName2", ...} Just putting the old name will **NOT** work, you must specify the old category and subcategory (if applicable) as well.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Format: {"oldCategory.oldSubcategory.oldName1", "oldCategory.oldName2", ...} Just putting the old name will **NOT** work, you must specify the old category and subcategory (if applicable) as well.
  • Element Details

    • value

      String[] value
      Format: {"oldCategory.oldSubcategory.oldName1", "oldCategory.oldName2", ...} Just putting the old name will **NOT** work, you must specify the old category and subcategory (if applicable) as well.