public interface RegistryModule
Object
s, usually
CatalogType
s. The use of this is to manage like-object
registrations in a centralized manner, without requiring hard
ids
or content affecting behavior. All module
s
are to be loaded and registered with the GameRegistry
.
Note that there are various aspects of how initialization of
these modules can be affected, be it from CatalogRegistryModule
s,
DelayedRegistration
, AlternateCatalogRegistryModule
s,
or RegistrationDependency
.
Modifier and Type | Method and Description |
---|---|
default void |
registerDefaults()
Performs default registrations of objects for use with either
companion objects, or the
GameRegistry . |
default void registerDefaults()
GameRegistry
. This is only
called once, either at the pre-initialization phase of the
GameRegistry
, or if annotated with
DelayedRegistration
, at a later RegistrationPhase
.