Package org.spongepowered.api.registry
Interface FactoryProvider
public interface FactoryProvider
-
Method Summary
-
Method Details
-
provide
Provides a factory used to create instances of the specified type- Type Parameters:
T
- The type of factory- Parameters:
clazz
- The factory class- Returns:
- The factory
- Throws:
TypeNotFoundException
- If the type provided has not been registered
-