Class StandaloneModelKey<T>
java.lang.Object
net.neoforged.neoforge.client.model.standalone.StandaloneModelKey<T>
- Type Parameters:
T- The type returned by theSimpleUnbakedStandaloneModelthis key is registered with
A key referring to a model file to be loaded and baked as a standalone model (not bound to a block or item).
This key is registered together with a SimpleUnbakedStandaloneModel or UnbakedStandaloneModel in
ModelEvent.RegisterStandalone and later used to retrieve the model baked by the SimpleUnbakedStandaloneModel,
using ModelManager.getStandaloneModel(StandaloneModelKey).
The key is compared by identity as multiple keys may refer to the same model while using different bakers.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary