Interface ImmersiveMCRegistrationEvent<T>

Type Parameters:
T - The type of object to register.
All Known Implementing Classes:
ImmersiveMCRegistrationEventImpl

public interface ImmersiveMCRegistrationEvent<T>
An event that can be fired at any time, but is only fired once for each object type. Used to register objects related to ImmersiveMC with ImmersiveMC. This can fire BEFORE registries are available on Forge and NeoForge!
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    register(Iterable<T> objects)
    Register multiple objects with ImmersiveMC.
    void
    register(T... objects)
    Register one or more objects with ImmersiveMC.
  • Method Details

    • register

      void register(T... objects)
      Register one or more objects with ImmersiveMC.
      Parameters:
      objects - The object or objects to register.
    • register

      void register(Iterable<T> objects)
      Register multiple objects with ImmersiveMC.
      Parameters:
      objects - The objects to register.