ModelContent
A PackTaskHolder that deals with model files. Everything related to model files should run through this.
Functions
Retrieves the model with the specified path or null if it does not exist.
Retrieves the custom model with the specified path or null if it does not exist.
Retrieves the Model registered under the given path or creates a model using createModel, registers it under the given path and returns it.
Retrieves the first ResourcePath the given model is registered under or creates a new ResourcePath using createPath, registers it under the given model and returns it.
Finds the ResourcePath of the given model or registers it in nova:generated/
.
Retrieves the ResourcePaths the given model is registered under or null if it is neither present in the resource pack nor in the vanilla assets.
Retrieves the vanilla model with the specified path or null if it does not exist.
Remembers the usage of the model under the given path and its parents. Only models that are used will be written to the resource pack.