类 ModelEvent.RegisterAdditional

java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.client.event.ModelEvent
net.minecraftforge.client.event.ModelEvent.RegisterAdditional
所有已实现的接口:
net.minecraftforge.fml.event.IModBusEvent
封闭类:
ModelEvent

public static class ModelEvent.RegisterAdditional extends ModelEvent implements net.minecraftforge.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 have a result.

This event is fired on the mod-specific event bus, only on the logical client.

  • 字段详细资料

  • 构造器详细资料

  • 方法详细资料

    • register

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