Interface Category
- All Known Implementing Classes:
DefaultCategory
public interface Category
Represents a top-level structural classification within the configuration hierarchy.
Organizes subsidiary property groups.
-
Method Summary
Modifier and TypeMethodDescriptionAllocates or retrieves a subsidiary structural group within this category.id()Retrieves the structural identifier of the category.booleanisEmpty()Evaluates the active state of the category's structural hierarchy.manager()Retrieves the configuration manager authoritative over this category.voidSevers the structural bond between this category and the specified group.Retrieves the base localization key utilized for client-side GUI translation.
-
Method Details
-
id
String id()Retrieves the structural identifier of the category.- Returns:
- The unique string identifier.
-
manager
ConfigManager manager()Retrieves the configuration manager authoritative over this category.- Returns:
- The parent ConfigManager instance.
-
translationKey
String translationKey()Retrieves the base localization key utilized for client-side GUI translation.- Returns:
- The formatted translation key string.
-
define
-
remove
Severs the structural bond between this category and the specified group.- Parameters:
group- The target group to remove.
-
isEmpty
boolean isEmpty()Evaluates the active state of the category's structural hierarchy.- Returns:
- True if no subsidiary groups are registered.
-