Interface ModelLoadingRegistry


public interface ModelLoadingRegistry
  • Field Details

  • Method Details

    • registerModelProvider

      void registerModelProvider(ExtraModelProvider appender)
      Register a model provider, which can request loading additional models.
      See Also:
      ExtraModelProvider
    • registerAppender

      @Deprecated void registerAppender(ModelAppender appender)
      Deprecated.
      Use registerModelProvider(ExtraModelProvider) instead, which supports loading of plain Identifiers
      Register a model appender, which can request loading additional models.
    • registerResourceProvider

      void registerResourceProvider(Function<net.minecraft.resource.ResourceManager,​ModelResourceProvider> providerSupplier)
      Register a ModelResourceProvider supplier.
      Parameters:
      providerSupplier - The ModelResourceProvider supplier, instantiated with every ModelLoader.
    • registerVariantProvider

      void registerVariantProvider(Function<net.minecraft.resource.ResourceManager,​ModelVariantProvider> providerSupplier)
      Register a ModelVariantProvider supplier.
      Parameters:
      providerSupplier - The ModelVariantProvider supplier, instantiated with every ModelLoader.