Interface GeneratedConfig
public interface GeneratedConfig
-
Method Summary
Modifier and TypeMethodDescriptionField[]NOTE: Fields should be uniquely named from each other.booleanIf false is returned, the entire category will be skipped from being loaded.
-
Method Details
-
getFields
Field[] getFields()NOTE: Fields should be uniquely named from each other. Unloaded fields with values present in the config JSON will be kept.- Returns:
- An array of fields to load config from.
-
shouldLoad
boolean shouldLoad()If false is returned, the entire category will be skipped from being loaded. Unloaded fields will values present in the config JSON will be kept.
-