Interface RegistryResourceInitializer

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface RegistryResourceInitializer
Service-provider bootstrap hook for registering custom RegistryResourceListeners.

Implementations must be listed in META-INF/services/net.rebel459.unified.api.core.RegistryResourceInitializer. This hook runs after Unified's registry codecs are initialized and before any registry-resource listener is loaded or the platform's deferred registrations are committed.

This hook adds new data-driven registries. Custom codecs for existing registries can be registered during normal mod registry initialization and do not need a service provider.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
  • Method Details

    • initializeRegistryResources

      void initializeRegistryResources()