Any enum included in a Config is automatically validated, but much like booleans making ValidatedEnums may be useful for constructing other validation types.
public enum MyEnum {A,B,C}public MyEnum simpleEnum = MyEnum.A; //this will work most of the timepublic ValidatedEnum<MyEnum> validatedEnum = new ValidatedEnum(MyEnum.A, ValidatedEnum.WidgetType.CYCLING); //ValidatedEnum can be used to customize the GUI appearance
Translation
Enums can implement a special interface EnumTranslatable
that allows for translation of enum constants and custom tooltips per constant. See Translation for details.