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 ModelLoader
private ModelManager
private Map<ResourceLocation,BakedModel>
-
Constructor Summary
ConstructorDescriptionModelBakeEvent(ModelManager modelManager, Map<ResourceLocation,BakedModel> 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,BakedModel> modelRegistry, ModelLoader modelLoader)
-
-
Method Details
-
getModelManager
-
getModelRegistry
-
getModelLoader
-