Package net.minecraftforge.client.event
Class ModelEvent.RegisterAdditional
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.client.event.ModelEvent
net.minecraftforge.client.event.ModelEvent.RegisterAdditional
- All Implemented Interfaces:
IModBusEvent
- Enclosing class:
- ModelEvent
Fired when the
ModelBakery
is notified of the resource manager reloading.
Allows developers to register models to be loaded, along with their dependencies.
This event is not cancellable, and does not have a result.
This event is fired on the mod-specific event bus, only on the logical client.
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraftforge.client.event.ModelEvent
ModelEvent.BakingCompleted, ModelEvent.ModifyBakingResult, ModelEvent.RegisterAdditional, ModelEvent.RegisterGeometryLoaders
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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
register
(ResourceLocation model) Registers a model to be loaded, along with its dependencies.Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Field Details
-
models
-
-
Constructor Details
-
RegisterAdditional
-
-
Method Details
-
register
Registers a model to be loaded, along with its dependencies.
-