Package net.minecraftforge.client.event
Class ModelEvent.RegisterGeometryLoaders
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.client.event.ModelEvent
net.minecraftforge.client.event.ModelEvent.RegisterGeometryLoaders
- All Implemented Interfaces:
IModBusEvent
- Enclosing class:
ModelEvent
Allows users to register their own
geometry loaders
for use in block/item models.
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
(String name, IGeometryLoader<?> loader) Registers a new geometry loader.Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Field Details
-
loaders
-
-
Constructor Details
-
RegisterGeometryLoaders
-
-
Method Details
-
register
Registers a new geometry loader.
-