Class ModelEvent.RegisterAdditional

java.lang.Object
net.neoforged.bus.api.Event
net.neoforged.neoforge.client.event.ModelEvent
net.neoforged.neoforge.client.event.ModelEvent.RegisterAdditional
All Implemented Interfaces:
net.neoforged.fml.event.IModBusEvent
Enclosing class:
ModelEvent

public static class ModelEvent.RegisterAdditional extends ModelEvent implements net.neoforged.fml.event.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

invalid reference
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.