Package net.minecraftforge.client.event
Class ModelBakeEvent
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.client.event.ModelBakeEvent
- All Implemented Interfaces:
IModBusEvent
Fired when the ModelManager is notified of the resource manager reloading.
Called after model registry is setup, but before it's passed to BlockModelShapes.
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
Field Summary
Modifier and TypeFieldDescriptionprivate final ModelLoader
private final ModelManager
private final Map<ResourceLocation,
IBakedModel> -
Constructor Summary
ConstructorDescriptionModelBakeEvent
(ModelManager modelManager, Map<ResourceLocation, IBakedModel> modelRegistry, ModelLoader modelLoader) -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getParentListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
-
Field Details
-
modelManager
-
modelRegistry
-
modelLoader
-
-
Constructor Details
-
ModelBakeEvent
public ModelBakeEvent(ModelManager modelManager, Map<ResourceLocation, IBakedModel> modelRegistry, ModelLoader modelLoader)
-
-
Method Details
-
getModelManager
-
getModelRegistry
-
getModelLoader
-