Class SimpleUnbakedStandaloneModel<T>

java.lang.Object
net.neoforged.neoforge.client.model.standalone.SimpleUnbakedStandaloneModel<T>
Type Parameters:
T - the type of the baked object, which contains some properties baked from the ResolvedModel
All Implemented Interfaces:
ResolvableModel, UnbakedStandaloneModel<T>

public final class SimpleUnbakedStandaloneModel<T> extends Object implements UnbakedStandaloneModel<T>
An UnbakedStandaloneModel implementation that loads a single model.

Depending on the context where it is used, different parts of a ResolvedModels might be baked. For example, block models query ambient occlusion, item models query transforms, and both query baked geometry. Each standalone model baker can therefore bake exactly the properties it needs, and store them in an object of arbitrary type T.

The baked object can be retrieved later using ModelManager.getStandaloneModel(StandaloneModelKey).

See Also: