ItemModelContent
A PackTaskHolder that deals with generating item model definitions.
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