ItemModelContent
Generates item model definitions.
Types
Link copied to clipboard
Generates item model definition files for registered nova items and writes them to ItemModelContent.
Link copied to clipboard
Writes all item model definitions of ItemModelContent to the resource pack.
Functions
Link copied to clipboard
Retrieves the item model definition registered under the given path or null if none exists.
Link copied to clipboard
Retrieves the custom item model definition registered under the given path or null if none exists.
Link copied to clipboard
fun getOrPut(def: ItemModelDefinition, createPath: () -> ResourcePath<ResourceType.ItemModelDefinition>): ResourcePath<ResourceType.ItemModelDefinition>
Retrieves the first ResourcePath the given def is registered under or creates a new ResourcePath using createPath, registers def under it and returns it.
Link copied to clipboard
Finds the ResourcePath of the given def or registers it in nova:gen_item/
.
Link copied to clipboard
Retrieves the vanilla item model definition registered under the given path or null if none exists.
Link copied to clipboard