ReloadableSingleBakedModelProvider

Implementation of IReloadableBakedModelProvider, which reloads the model using the given factory.

Parameters

modelFactory

The function, which creates the model

Constructors

Functions

Link copied to clipboard
public BakedModel getModel(ItemStack staffStack)

Gets the model of the item in the Staff.

Link copied to clipboard
public Unit reload()

Reloads the model(s) returned by getModel. Called after the game initially loads or reloads the resources.