Interface ConfigFactory

All Known Implementing Classes:
DefaultConfigFactory

public interface ConfigFactory
Service provider interface for initializing the platform-specific configuration environment. Implementations are resolved dynamically via the Java ServiceLoader mechanism.
  • Method Summary

    Modifier and Type
    Method
    Description
    create(String modId)
    Constructs and binds a new configuration manager instance to the specified namespace.
  • Method Details

    • create

      ConfigManager create(String modId)
      Constructs and binds a new configuration manager instance to the specified namespace.
      Parameters:
      modId - The unique identifier of the target mod utilizing the framework.
      Returns:
      A fully initialized configuration manager scoped to the provided identifier.