Interface IVariableModelProviderRegistry
- All Superinterfaces:
org.cyclops.cyclopscore.init.IRegistry
- All Known Implementing Classes:
VariableModelProviderRegistry
public interface IVariableModelProviderRegistry
extends org.cyclops.cyclopscore.init.IRegistry
Registry for
IVariableModelProvider
.-
Method Summary
Modifier and TypeMethodDescription<E extends IVariableModelProvider<B>,
B extends IVariableModelProvider.BakedModelProvider>
EaddProvider
(E provider) Register a new provider.
-
Method Details
-
addProvider
<E extends IVariableModelProvider<B>,B extends IVariableModelProvider.BakedModelProvider> E addProvider(E provider) Register a new provider.- Type Parameters:
E
- The type of provider.B
- The type of the baked model provider.- Parameters:
provider
- The provider to register.- Returns:
- The registered provider
-
getProviders
List<IVariableModelProvider<? extends IVariableModelProvider.BakedModelProvider>> getProviders()- Returns:
- All registered provider.
-