Interface ExpansionProvider


public interface ExpansionProvider
An expansion provider.
API Note:
If necessary, you can obtain platform-dependent instances by adding a non-final field of the PlatformData class with the Inject annotation to your ExpansionProvider class.
  • Method Details

    • provideExpansion

      Expansion provideExpansion()
      Provides an expansion.
      Returns:
      an expansion
      API Note:
      If used outside its MiniPlaceholders dynamic expansion loading context, you should always check that the loading requirements specified in loadRequirement() are met.
    • loadRequirement

      LoadRequirement loadRequirement()
      Obtain the requirements that must be met for this expansion to load successfully.
      Returns:
      the load requirements of this expansion provider