Interface ModelProviderContext
public interface ModelProviderContext
The model loading context used during model providing.
-
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.client.render.model.UnbakedModel
loadModel
(net.minecraft.util.Identifier id) Load a model using aIdentifier
,ModelIdentifier
, ...
-
Method Details
-
loadModel
net.minecraft.client.render.model.UnbakedModel loadModel(net.minecraft.util.Identifier id) Load a model using aIdentifier
,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!
-