-
Method Summary
<T> T
Registers an object meant to be used to churn object references
Methods inherited from interface org.spongepowered.api.event.lifecycle.LifecycleEvent
game
-
Method Details
-
register
Registers an object meant to be used to churn object references
- Type Parameters:
T
- The type
- Parameters:
factoryClass
- The factory type
factory
- The factory instance
- Returns:
- The provided factory
- Throws:
DuplicateRegistrationException
- If the type is already registered