Interface ModelProviderContext


public interface ModelProviderContext
The model loading context used during model providing.
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.client.render.model.UnbakedModel
    loadModel​(net.minecraft.util.Identifier id)
    Load a model using a Identifier, ModelIdentifier, ...
  • Method Details

    • loadModel

      net.minecraft.client.render.model.UnbakedModel loadModel(net.minecraft.util.Identifier id)
      Load a model using a Identifier, ModelIdentifier, ...

      Please note that the game engine keeps track of circular model loading calls on its own.

      Parameters:
      id - The model identifier.
      Returns:
      The UnbakedModel. Can return a missing model if it's not present!