ItemModelContent

Generates item model definitions.

Constructors

Link copied to clipboard
constructor(builder: ResourcePackBuilder)

Types

Link copied to clipboard

Generates item model definition files for registered nova items and writes them to ItemModelContent.

Link copied to clipboard
inner class Write : PackTask

Writes all item model definitions of ItemModelContent to the resource pack.

Properties

Link copied to clipboard

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

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

Registers the given def under the given path.