Package com.griefdefender.api.registry
Interface RegistryModule<T>
- All Known Subinterfaces:
CatalogRegistryModule<T>
public interface RegistryModule<T>
A module that handles registrations of
Objects, usually
CatalogTypes. The use of this is to manage like-object
registrations in a centralized manner, without requiring hard
ids or content affecting behavior. All modules
are to be loaded and registered with the Registry.-
Method Summary
Modifier and TypeMethodDescriptionvoidregisterCustomType(T type) Used to register a custom type such as aFlag.default voidPerforms default registrations of objects for use with theRegistry.
-
Method Details
-
registerDefaults
default void registerDefaults() -
registerCustomType
Used to register a custom type such as aFlag.- Parameters:
type- The custom type to register
-