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

public static class ModelEvent.RegisterAdditional extends ModelEvent implements IModBusEvent
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.

  • Field Details

  • Constructor Details

  • Method Details

    • register

      public void register(ResourceLocation model)
      Registers a model to be loaded, along with its dependencies.