public class ModelBakeEvent extends Event
Event.HasResult, Event.Result
Modifier and Type | Field and Description |
---|---|
private ModelLoader |
modelLoader |
private ModelManager |
modelManager |
private IRegistry<ModelResourceLocation,IBakedModel> |
modelRegistry |
Constructor and Description |
---|
ModelBakeEvent(ModelManager modelManager,
IRegistry<ModelResourceLocation,IBakedModel> modelRegistry,
ModelLoader modelLoader) |
Modifier and Type | Method and Description |
---|---|
ModelLoader |
getModelLoader() |
ModelManager |
getModelManager() |
IRegistry<ModelResourceLocation,IBakedModel> |
getModelRegistry() |
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
private final ModelManager modelManager
private final IRegistry<ModelResourceLocation,IBakedModel> modelRegistry
private final ModelLoader modelLoader
public ModelBakeEvent(ModelManager modelManager, IRegistry<ModelResourceLocation,IBakedModel> modelRegistry, ModelLoader modelLoader)
public ModelManager getModelManager()
public IRegistry<ModelResourceLocation,IBakedModel> getModelRegistry()
public ModelLoader getModelLoader()