public interface ModelLoadingRegistry
Modifier and Type | Field and Description |
---|---|
static ModelLoadingRegistry |
INSTANCE |
Modifier and Type | Method and Description |
---|---|
void |
registerAppender(ModelAppender appender)
Register a model appender, which can request loading additional models.
|
void |
registerResourceProvider(Function<net.minecraft.resource.ResourceManager,ModelResourceProvider> providerSupplier)
Register a ModelResourceProvider supplier.
|
void |
registerVariantProvider(Function<net.minecraft.resource.ResourceManager,ModelVariantProvider> providerSupplier)
Register a ModelVariantProvider supplier.
|
static final ModelLoadingRegistry INSTANCE
void registerAppender(ModelAppender appender)
appender
- void registerResourceProvider(Function<net.minecraft.resource.ResourceManager,ModelResourceProvider> providerSupplier)
providerSupplier
- The ModelResourceProvider supplier, instantiated with every ModelLoader.void registerVariantProvider(Function<net.minecraft.resource.ResourceManager,ModelVariantProvider> providerSupplier)
providerSupplier
- The ModelVariantProvider supplier, instantiated with every ModelLoader.